DescriptionRemove ShouldSetAttached flag to lazyAttach
This flag is only used by HTMLFrameElementBase and is suspect since calling
lazyAttach with this flag is the same as calling setNeedsStyleRecalc(). Frames
appear to use this so that synchronous JS that runs from javascipt: URLs can
trigger an attach of the frame and get at its renderer. We can replace this one
caller with setNeedsStyleRecalc().
In the future we should merge the lazyAttach logic into insertedInto so that by
the time the didNotifySubtreeInsertions callback runs any JS will observe the
whole tree attach.
Patch Set 1 #Patch Set 2 : Use setNeedsStyleRecalc() in HTMLFrameElementBase #
Messages
Total messages: 9 (0 generated)
|