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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 1 23:59:54 PDT 2008


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





------- Comment #8 from rwlbuis at gmail.com  2008-05-01 23:59 PDT -------
Hi Eric,

(In reply to comment #7)
> (From update of attachment 20917 [edit])
> 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.)

I now did that locally.

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

The computed style will always return a rgb string like rgb(0,128,0) AFAIK. Did
you mean something else, like getPropertyCSSValue?
I am postponing landing until much later today, so there is time to resolve
point 2. Also postponing since I need a clean testrun.
Cheers,

Rob.


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