On Jun 15, 10:15 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Jonathan wrote: > > Does GetComputedStyle() method of nsIDOMViewCSS resolves all the CSS > > rules look up for 1 element? > > http://www.google.com/search?hl=en&c2coff=1&client=mozilla&rls=org.mo... > you want the first hit, I believe. > > -Boris
Thank you Boris. I read definition CSSStyleDeclaration (the return value of GetComputedStyle() method of nsIDOMViewCSS ) http://www.w3.org/TR/DOM-Level-2-Style/css.html My question is why CSSStyleDeclaration does not have a function hasProperty()? Otherwise, how can i find out if certain css property has been specified in the css style declaration? Thank you. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

