File:SVG 1.1 W3C test text-ws-02-t.svg
Original file (SVG file, nominally 512 × 384 pixels, file size: 3 KB)
Captions
Summary
[edit]DescriptionSVG 1.1 W3C test text-ws-02-t.svg |
Show the SVG test for Mediawiki (libRSVG), should like look as the PNG version in the source link. http://www.w3.org/TR/SVG11/text.html#WhiteSpace <!-- RESOLUTION 2011-03-04 deprecate xml;space in favour of CSS whitespace property, for SVG2 --> Test for viewer correct handling of whitespace and the 'xml:space' attribute. There are two sub-tests, for value "preserve". In each test, the content of the 'text' element is written on multiple lines. The first test of each pair has indented text with leading space characters, tabs, etc. The second has no indentation, but a line break before the content and after it. There are no space (or other whitespace) characters at the ends of the lines. The two test cases are self-descriptive. From the top; first, "preserve" applied to essentially the same content as first; second, "preserve" applied to essentially the same content as second. In each test, the test string is in blue and the reference image is in black. The rendered picture should approximately match the reference image, however there is some question in the reference image concerning the exact amount of space in the long-space areas. The third test uses the nbsp unicode character to force the reference white spaces display, which provides an accurate match if the font in use has the same metrics for that character and the default white space. Also, variations are possible in the text fonts and layout (per CSS2 rules). The test also uses the 'rect' element, as well as basic fill (solid primary colors), stroke (black 1-pixel lines), font-family and font-size properties. |
|||||
Date | ||||||
Source |
SVG 1.1 2nd Edition Test Suite using svgweb: |
|||||
Author | W3C, Lofton Henderson | |||||
Permission (Reusing this file) |
Permission to use, copy, and distribute the contents of this document, or the W3C document from which this statement is linked, in any medium for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the document, or portions thereof, that you use:
|
|||||
Other versions |
|
|||||
SVG development InfoField | This vector image was created with Inkscape-default |
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:02, 3 June 2014 | 512 × 384 (3 KB) | Perhelion (talk | contribs) | {{Information |Description= Show the SVG test for the Mediawiki libRSVG. http://www.w3.org/TR/SVG11/text.html#WhiteSpace <nowiki><!-- RESOLUTION 2011-03-04 deprecate xml;space in favour of CSS whitespace property, for SVG2 --></nowiki>... |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | $RCSfile: text-ws-02-t.svg,v $ |
---|---|
Width | 100% |
Height | 100% |