DescriptionElement should check inActiveDocument before forcing layout.
We would force layouts when touching layout sensitive properties on
disconnected elements which is bad, for example:
div = document.createElement('div')
div.offsetTop; // force layout for no reason. :(
Instead lets always check first. There's still other places in the
codebase to check, but lets start with Element.
BUG=585663
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|