[webkit-dev] Question about CSS in Webkit
Darin Adler
darin at apple.com
Thu Jun 4 13:24:59 PDT 2009
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.
-- Darin
More information about the webkit-dev
mailing list