[webkit-dev] What is the difference between CSSStyleDeclaration and RenderStyle

ying lcs yinglcs at gmail.com
Mon Mar 30 21:40:03 PDT 2009


Hi,

It said "During attachment the DOM queries CSS to obtain style
information for an element. The resultant information is stored in an
object called a RenderStyle."
But what is the difference between CSSStyleDeclaration and RenderStyle
in Webkit?

I assume Webkit will parse CSS files into CSSStyleDeclaration but what
is RenderStyle?

Thank you.


More information about the webkit-dev mailing list