You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure that parsing HTML doesn't trigger a reflow for each child appended #1269
Activity
bzbarsky commentedon Nov 17, 2013
AppendChild shoudn't be triggering reflow on its own in any case, right?
jdm commentedon Nov 17, 2013
Well, it calls content_changed on the document, which could do anything it wanted but right now requests a reflow unconditionally.
bzbarsky commentedon Nov 17, 2013
That seems wrong, sure, but nothing is special about the parser there, right?
jdm commentedon Nov 17, 2013
Correct.
Don't force reflow on content changes
Don't force reflow on content changes
Don't force reflow on content changes
Don't force reflow on content changes
brunoabinader commentedon Oct 23, 2014
@jdm, this seems to be a good use case for specializing content_changed :)
Don't force reflow on content changes
Don't force reflow on content changes
Don't force reflow on content changes
Don't force reflow on content changes