Re: [webkit-dev] Question about CSS in Webkit

2009-06-04 Thread David Hyatt
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 RenderS

Re: [webkit-dev] Question about CSS in Webkit

2009-06-04 Thread Darin Adler
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 el

[webkit-dev] Question about CSS in Webkit

2009-06-04 Thread Nathan Summer
Hi, I guess Webkit will parse each CSS files into some internal data structure to store CSS information. And from http://webkit.org/blog/114/webcore-rendering-i-the-basics/: During attachment the DOM queries CSS to obtain style information for an element. The resultant information is stored in an