CSS Cascade and Inheritance spec defines the so called 'Override origin' for style sheets that links to DocumentCSS interface (from the DOM Level 2 spec from the year 2000). This seems to be the only mention of this interface on the W3C site (except of short conversation in the www-dom mailing list from 2008). The DOM Level 2 spec has the following text about it:
The expectation is that an instance of the
DocumentCSS
interface can be obtained by using binding-specific casting methods on an instance of theDocument
interface.
Is this mechanism implemented anywhere? Is it possible to play with these 'override styles' and to see the DocumentCSS
interface in action?
getOverrideStyle
is not in CSSOM spec I don't think it will be implemented.