[Webkit-unassigned] [Bug 45733] New: <font color="currentColor"> should apply #c0e000

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 14 00:40:39 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45733

           Summary: <font color="currentColor"> should apply #c0e000
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: myakura.web at gmail.com


Created an attachment (id=67524)
 --> (https://bugs.webkit.org/attachment.cgi?id=67524)
testcase. pass if the computed value of background-color is #c0e000.

Some attributes like <font color> or <body bgcolor> can take color keywords. In HTML5, such keywords are limited to "transparent" and SVG color keywords defined in CSS3 Color module. Any strings other than these keywords would follow the "rules for parsing a legacy color value" http://whatwg.org/html5#rules-for-parsing-a-legacy-color-value

The keyword "currentColor" is also defined in css3-color, but in a different section from SVG Color keywords. Hence, if that keyword is specified in attributes which can take color keywords, it should follow the algorithm and return #c0e000, rather than the value of the "color" property, which is how the keyword is processed in CSS. However, WebKit does apply the value of the "color" property rather than #c0e000.

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



More information about the webkit-unassigned mailing list