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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 10:10:15 PST 2012


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


Alexis Menard (darktears) <alexis.menard at openbossa.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |alexis.menard at openbossa.org




--- Comment #4 from Alexis Menard (darktears) <alexis.menard at openbossa.org>  2012-02-24 10:10:15 PST ---
<!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).

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