[webkit-dev] getComputedStyle() and the content property
Johan Olsson
Johan.Olsson at lbi.com
Fri Feb 6 06:59:40 PST 2009
OK, thnx!
If anyone is interested, I looped all the properties from
getComputedStyle() and put them here: http://johanolsson.net/blog/?p=18
B R,
Johan Olsson
-----Original Message-----
From: Mark Rowe [mailto:mrowe at apple.com]
Sent: den 6 februari 2009 12:21
To: Johan Olsson
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] getComputedStyle() and the content property
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
More information about the webkit-dev
mailing list