3 ms·
That's an interesting rationale, but pages will never be composable as long as CSS is cascading.
by cousin_it 14y ago
That's an interesting rationale, but pages will never be composable as long as CSS is cascading.
- Someone 14y agoThat is being worked on: http://www.w3.org/TR/2012/WD-shadow-dom-20120522/ http://www.w3.org/TR/2012/WD-shadow-dom-20120522/: "7 Styles To enforce upper-boundary encapsulation, CSS rules declared by the document must not apply in a shadow DOM subtree, unless the apply-author-styles flag is set for this subtree. The flag signals that document CSS rules are applicable in the shadow DOM subtree. Conversely, to enforce lower-boundary encapsulation, CSS rules declared in a shadow DOM subtree must not apply in the document tree."