[webkit-dev] getComputedStyle() and the content property

Mark Rowe mrowe at apple.com
Fri Feb 6 03:20:58 PST 2009


On 2009-02-06, at 03:16, Johan Olsson wrote:

> Hello everyone. I’m not sure if this is the correct forum, but I  
> have a question about the getComputedStyle() in Webkit.
>
> In Safari 3.2.1 Win, I have not been able to extract the “content:”  
> CSS property, both with and without providing a pseudo-element for  
> getComputedStyle() (It works fine in Firefox and Opera). I noticed  
> that the method has a bunch of properties correspond to  CSS props;  
> I made a listing of them and didn’t find “content”… so, I take it  
> that there is no way of getting it through getComputedStyle()?
>
> Since “content:” is a CSS 2.1 property and supported in CSS by  
> Webkit, I wonder if anyone knows of any rationale that it’s not  
> accessible through Javascript?

It is an unintentional omission.  <https://bugs.webkit.org/show_bug.cgi?id=23668 
 > was filed about this recently.

- Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2413 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090206/e8b11b6d/attachment.bin>


More information about the webkit-dev mailing list