Difference between revisions of "SVG Test Suite Compliance"

From Inkscape Wiki
Jump to navigation Jump to search
(* add note about color-prop-01-b failure)
(* Update information in Color, Interation and CSS sections)
Line 46: Line 46:
=== Colors ===
=== Colors ===
; color-prof-01-f.svg  : '''fail'''
; color-prof-01-f.svg  : '''fail'''
: <i>Tests color profile support.  Hopefully the lcms work should address this: see InkscapeColor.</i>
; color-prop-01-b.svg  : '''partial''' - red color stop not functioning
; color-prop-01-b.svg  : '''partial''' - red color stop not functioning
: <i>The failing stop is specified as <tt>currentColor</tt>.  Getting this right requires correct inheritance of the <tt>color</tt> property, even though neither <tt>&lt;stop&gt;</tt> nor <tt>&lt;gradient&gt;</tt> is an <tt>SPItem</tt>.  I believe we are expected to inherit <tt>color</tt> even from the <tt>&lt;defs&gt;</tt> element if necessary, and that we should be using <tt>CRSelEng</tt> stuff as style.cpp does. -- pjrm</i>
: <i>Current CVS now passes this, though there are bugs for variations of this test: see comment in sp_object_get_style_property.</i>
; color-prop-02-f.svg  : '''pass'''
; color-prop-02-f.svg  : '''pass'''
; color-prop-03-t.svg  : '''pass'''
; color-prop-03-t.svg  : '''pass'''
Line 92: Line 93:
; interact-cursor-01-f.svg : '''crash'''
; interact-cursor-01-f.svg : '''crash'''
: <i>Doesn't crash for me with either 0.41 or current CVS, on Debian Gnu/Linux  -- pjrm</i>
: <i>Doesn't crash for me with either 0.41 or current CVS, on Debian Gnu/Linux  -- pjrm</i>
: <i>Update: ScislaC has reproduced on windows with current CVS.  I haven't yet created a corresponding bug report.</i>
; interact-dom-01-b.svg    : '''fail'''
; interact-dom-01-b.svg    : '''fail'''
; interact-events-01-b.svg : '''fail'''
; interact-events-01-b.svg : '''fail'''
Line 202: Line 204:


=== CSS (not yet supported) ===
=== CSS (not yet supported) ===
<i>Current CVS has basic support for CSS stylesheets, which might be enough to make some or all of these pass; I haven't yet checked.</i>
; styling-css-01-b.svg    : '''fail'''
; styling-css-01-b.svg    : '''fail'''
; styling-css-02-b.svg    : '''fail'''
; styling-css-02-b.svg    : '''fail'''

Revision as of 10:45, 4 July 2005

This table summarises the results of testing Inkscape against the W3C SVG Test Suite.

This test was performed on Windows with v0.41.

Key

pass
the test passed fully (60 occurences)
partial
the test partially failed but it may be easy to make it pass (28 occurences)
fail
the test failed (72 occurences)
crash
the test failed and Inkscape crashed (22 occurences)

Results

Animation (not yet supported)

A crash with the <animate> element has been corrected in CVS already. This may fix some or all of the crash items in this section.

animate-elem-02-t.svg
crash
animate-elem-03-t.svg
crash
animate-elem-04-t.svg
fail (animation not supported)
animate-elem-05-t.svg
fail (animation not supported)
animate-elem-06-t.svg
fail (animation not supported)
animate-elem-07-t.svg
fail (animation not supported)
animate-elem-08-t.svg
fail (animation not supported)
animate-elem-09-t.svg
crash
animate-elem-10-t.svg
crash
animate-elem-11-t.svg
crash
animate-elem-12-t.svg
crash
animate-elem-13-t.svg
crash
animate-elem-14-t.svg
crash
animate-elem-15-t.svg
crash
animate-elem-16-t.svg
crash
animate-elem-17-t.svg
crash
animate-elem-18-t.svg
crash
animate-elem-19-t.svg
crash
animate-elem-20-t.svg
crash
animate-elem-21-t.svg
crash
animate-elem-22-b.svg
crash
animate-elem-23-t.svg
fail (animation not supported)
animate-elem-24-t.svg
fail (animation not supported)
animate-elem-25-t.svg
crash
animate-elem-26-t.svg
crash
animate-elem-27-t.svg
crash
animate-elem-28-t.svg
crash
animate-elem-29-b.svg
crash

Colors

color-prof-01-f.svg
fail
Tests color profile support. Hopefully the lcms work should address this: see InkscapeColor.
color-prop-01-b.svg
partial - red color stop not functioning
Current CVS now passes this, though there are bugs for variations of this test: see comment in sp_object_get_style_property.
color-prop-02-f.svg
pass
color-prop-03-t.svg
pass

Coordinates

coords-trans-01-b.svg
pass
coords-trans-02-t.svg
pass
coords-trans-03-t.svg
pass
coords-trans-04-t.svg
pass
coords-trans-05-t.svg
pass
coords-trans-06-t.svg
pass
coords-units-01-b.svg
partial
coords-units-02-b.svg
partial
coords-units-03-b.svg
partial - the red background is not clipped correctly
coords-viewattr-01-b.svg
fail
coords-viewattr-02-b.svg
fail
extend-namespace-01-f.svg
fail

Filters (not yet supported)

filters-blend-01-b.svg
fail
filters-color-01-b.svg
fail
filters-composite-02-b.svg
fail
filters-comptran-01-b.svg
fail
filters-conv-01-f.svg
fail
filters-diffuse-01-f.svg
fail
filters-displace-01-f.svg
fail
filters-example-01-b.svg
fail
filters-gauss-01-b.svg
fail
filters-image-01-b.svg
fail
filters-light-01-f.svg
fail
filters-morph-01-f.svg
fail
filters-offset-01-b.svg
fail
filters-specular-01-f.svg
fail
filters-tile-01-b.svg
fail
filters-turb-01-f.svg
fail

Fonts

fonts-elem-01-t.svg
pass
fonts-elem-02-t.svg
fail (but close to what's requried)
fonts-elem-03-b.svg
fail
fonts-elem-04-b.svg
fail

Interaction (not supported)

interact-cursor-01-f.svg
crash
Doesn't crash for me with either 0.41 or current CVS, on Debian Gnu/Linux -- pjrm
Update: ScislaC has reproduced on windows with current CVS. I haven't yet created a corresponding bug report.
interact-dom-01-b.svg
fail
interact-events-01-b.svg
fail
interact-order-01-b.svg
fail
interact-order-02-b.svg
fail
interact-order-03-b.svg
fail
interact-zoom-01-t.svg
fail

Linking

linking-a-01-b.svg
fail
linking-a-02-b.svg
fail
linking-a-03-b.svg
fail
linking-a-04-t.svg
fail
linking-uri-01-b.svg
fail
linking-uri-02-b.svg
fail
linking-uri-03-t.svg
fail

Masking

masking-mask-01-b.svg
partial - the string is incorrectly rendered
masking-opacity-01-b.svg
pass
masking-path-01-b.svg
pass
masking-path-02-b.svg
partial
masking-path-03-b.svg
fail
masking-path-04-b.svg
pass
masking-path-05-f.svg
partial - clip-rule=evenodd not functioning

Metadata

metadata-example-01-b.svg
pass (I think)

Painting

painting-fill-01-t.svg
pass
painting-fill-02-t.svg
pass
painting-fill-03-t.svg
pass
painting-fill-04-t.svg
pass
painting-marker-01-f.svg
pass
painting-marker-02-f.svg
partial - mishandling of marker strokes
painting-render-01-b.svg
pass
painting-stroke-01-t.svg
pass
painting-stroke-02-t.svg
pass
painting-stroke-03-t.svg
pass
painting-stroke-04-t.svg
pass

Paths

paths-data-01-t.svg
pass
paths-data-02-t.svg
partial - mqzmqz fails, all others are ok
paths-data-03-f.svg
partial - MaZmAZmaz fails, all others are ok
paths-data-04-t.svg
pass
paths-data-05-t.svg
pass
paths-data-06-t.svg
pass
paths-data-07-t.svg
pass

Color Gradients

pservers-grad-01-b.svg
pass
pservers-grad-02-b.svg
pass
pservers-grad-03-b.svg
pass
pservers-grad-04-b.svg
pass
pservers-grad-05-b.svg
pass
pservers-grad-06-b.svg
pass
pservers-grad-07-b.svg
pass
pservers-grad-08-b.svg
partial - gradient is ok; font is incorrect
pservers-grad-09-b.svg
pass
pservers-grad-10-b.svg
pass
pservers-grad-11-b.svg
pass
pservers-grad-12-b.svg
pass
pservers-pattern-01-b.svg
pass

Rendering

render-elems-01-t.svg
pass
render-elems-02-t.svg
pass
render-elems-03-t.svg
fail
render-elems-06-t.svg
partial - rendering is ok; font is incorrect
render-elems-07-t.svg
partial - rendering is ok; font is incorrect
render-elems-08-t.svg
partial - rendering is ok; font is incorrect
render-groups-01-b.svg
partial - rendering is ok; font is incorrect
render-groups-03-t.svg
partial - rendering is ok; font is incorrect

Scripting (not supported)

script-handle-01-b.svg
fail
script-handle-02-b.svg
fail
script-handle-03-b.svg
fail
script-handle-04-b.svg
fail

Shapes

shapes-circle-01-t.svg
pass
shapes-ellipse-01-t.svg
pass
shapes-line-01-t.svg
pass
shapes-polygon-01-t.svg
pass
shapes-polyline-01-t.svg
partial - the pentagon ends are incorrect
shapes-rect-01-t.svg
pass

Structure

struct-cond-01-t.svg
fail
struct-cond-02-t.svg
fail
struct-defs-01-t.svg
pass
struct-dom-01-b.svg
fail
struct-dom-02-b.svg
fail
struct-dom-03-b.svg
fail
struct-dom-04-b.svg
fail
struct-dom-05-b.svg
fail
struct-dom-06-b.svg
fail
struct-frag-01-t.svg
pass
struct-group-01-t.svg
pass
struct-group-02-b.svg
pass
struct-image-01-t.svg
pass
struct-image-02-b.svg
partial - problem with use element
struct-image-03-t.svg
fail
struct-image-04-t.svg
pass
struct-image-05-b.svg
fail - Message: error loading pixbuf at close
struct-symbol-01-b.svg
partial - the topleft image is not resized correctly

CSS (not yet supported)

Current CVS has basic support for CSS stylesheets, which might be enough to make some or all of these pass; I haven't yet checked.

styling-css-01-b.svg
fail
styling-css-02-b.svg
fail
styling-css-03-b.svg
fail
styling-inherit-01-b.svg
fail
styling-pres-01-t.svg
fail

Text

text-align-01-b.svg
pass
text-align-02-b.svg
fail - baseline-shift not functioning
text-align-03-b.svg
pass
text-align-04-b.svg
partial
text-align-05-b.svg
fail
text-align-06-b.svg
fail
text-altglyph-01-b.svg
fail
text-deco-01-b.svg
partial - underline and strikethrough not functioning
text-fonts-01-t.svg
pass
text-fonts-02-t.svg
partial - font-weight="lighter" not functioning
text-intro-01-t.svg
pass
text-intro-02-b.svg
partial - right-to-left text not functioning
text-intro-03-b.svg
partial - text is vertical but oriented incorrectly
text-intro-04-t.svg
pass
text-path-01-b.svg
partial - startOffset attribute of textPath not functioning
text-spacing-01-b.svg
fail
text-text-01-b.svg
fail - 'textLength' and 'lengthAdjust' not functioning
text-text-03-b.svg
partial - underline and strikethrough not functioning
text-tref-01-b.svg
fail - tref not functioning
text-tselect-01-b.svg
partial - Inkscape's text selection mechanism is quite similar to the standard, but using a dialog (this could therefore be considered a pass)
text-tspan-01-b.svg
partial - char-by-char placement not functioning
text-ws-01-t.svg
pass
text-ws-02-t.svg
fail - xml:space="preserve" not functioning