[Webkit-unassigned] [Bug 14563] getComputedStyle() returns an empty style declaration for detached elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 7 21:02:50 PST 2012


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


Mike Sherov <mike.sherov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike.sherov at gmail.com




--- Comment #12 from Mike Sherov <mike.sherov at gmail.com>  2012-01-07 21:02:50 PST ---
The spec has indeed changed:
http://dev.w3.org/csswg/cssom/#resolved-value
http://www.w3.org/TR/css3-values/#computed-value

This shows that disconnected nodes should still resolve to computed values for disconnected nodes, with the computed value defined as: "the result of resolving the specified value insofar as possible without formatting the document, as defined in the "Computed value" line of the property definition tables."

Indeed, Firefox resolves this correctly now, but alas IE9 and Opera do this incorrectly according to the spec.

FWIW, It's also reared its head as a bug reported in jQuery: http://bugs.jquery.com/ticket/9338

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