Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.2.5 [DOM Level 2 - Style] Section 2.2.1, Interface ViewCSS (introduced in DOM Level 2)


The specification states:

 Interface ViewCSS (introduced in DOM Level 2)
 This interface represents a CSS view. The getComputedStyle method provides a read 
 only access to the computed values of an element. 

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The ViewCSS interface is not supported. 

IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

The getComputedStyle method incorrectly returns "0% 0%" when the style of the element to be computed has the value of inherit for the background-position property.


The specification states:

 Interface DocumentCSS (introduced in DOM Level 2) 
 This interface represents a document with a CSS view.

All Document Modes (All Versions)

The DocumentCSS interface is not supported. 

© 2015 Microsoft