[Webkit-unassigned] [Bug 18568] background: currentColor fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 1 19:45:06 PDT 2008


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20917|review?                     |review+
               Flag|                            |




------- Comment #7 from eric at webkit.org  2008-05-01 19:45 PDT -------
(From update of attachment 20917)
Two comments:

1.  This deserves a comment:
+    case CSSPropertyColor:
+        if (primitiveValue && primitiveValue->getIdent() ==
CSSValueCurrentcolor)
+            isInherit = true;

(about how the spec says to treat currentColor for the "color" property as
though it means inherit.)

2.  Does getComputedStyle().color correctly return "currentColor" instead of
"currentcolor" ?  Since I think in CSS3 they always refer to it in CamelCase,
even though we accept any case (it seems).

Otherwise it looks fine.


-- 
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