On Jun 4, 2009, at 3:24 PM, Darin Adler wrote:

On Jun 4, 2009, at 1:19 PM, Nathan Summer wrote:

My question is if the CSS information stored Twice? onces are in the internal data structure built after parsing the CSS and other is in RenderStyle?

The CSS stores the style rules. The RenderStyle stores the actual style chosen for each element.

This is analogous to the way the DOM stores the actual document elements, and the RenderObject stores the actual rendering chosen for each element.


In terms of the CSS specification, you can think of RenderStyle as holding the computed values of properties.

dave
(hy...@apple.com)

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to