[Webkit-unassigned] [Bug 12062] New: WebCore does not handle CSS-specified fill fallback correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 1 16:43:03 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12062

           Summary: WebCore does not handle CSS-specified fill fallback
                    correctly
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org


The SVG spec says that when fill is specified fill="url(#foo) green" if #foo is
not found, then "green" is used.  if "green" is not found, the document is in
error.

WebKit (intentionally) avoids ever putting the document in error.  And instead
falls back to the default fill (black) when a fill URI is invalid.   However,
in this case, WebKit should first check to see if any other fills were
specified first.  In this case, it it should be green.

See test case.  Opera renders it correctly.

(Note, this can't be done by the CSS parser, as the uri might not resolve at
that time.  the SVGPaint needs to carry this additional information about
fallback.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list