On Monday 2008-05-05 23:38 -0700, [EMAIL PROTECTED] wrote: > Can you pleaes tell what does it means by 'Get the all the computed > css styles attached to the element node' in the comment? Does it mean > this method nsIDOMViewCSS::GetComputedStyle, can resolve all the css > style assoicated with an element, whether it is inline, css > inheritance rules, css name rule, id rule? > > And can you please tell me what does the DOMViewCSs save?
It gets the computed values of CSS properties on the given element or pseudo-element. These include the results of CSS cascading and inheritance. (This uses roughly the CSS 2.0 definition of computed value, which is much like the the used value in CSS 2.1.) The ViewCSS interface is defined in the DOM specification: http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

