[Webkit-unassigned] [Bug 57505] getComputedStyle fails for 'first-line' pseudo-element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 17:16:22 PST 2012


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





--- Comment #5 from Antonio Gomes <tonikitoo at webkit.org>  2012-02-24 17:16:22 PST ---
(In reply to comment #4)
> <!doctype html>
> <body>
> <style>
> p:first-letter { color: red }
> </style>
> <div id="test"></div>
> <p id="foo">hello</p>
> <script>
> var foo = document.getElementById('foo');
> var test = document.getElementById('test');
> test.innerHTML = window.getComputedStyle(foo, ':first-letter').color
> </script>
> </body>
> 
> works perfectly. (r108516).

Quick question: ":first-letter" and ":first-line" are the same / work the same?

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