[webkit-dev] Tracing Style/Layout Changes from Javascript

Alex Milowski alex at milowski.org
Thu Sep 24 14:50:37 PDT 2009


In Javascript, if I do something like:

   var node = ...  // some inline block element
   node.style.minWidth = "50px";

and the previous width was 10px, what are the sequence of
events and/or method calls that cause the line (or container) to
relayout the following siblings in the render tree?

I'm trying to understand how iterative changes are handling in
the rendering code and layout.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics


More information about the webkit-dev mailing list