Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Handle scoped CSS when browsers support it #625

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment
Closed

Handle scoped CSS when browsers support it #625

GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

There are proposals in HTML5 to support a scoped css style attribute:

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-
style-scoped

This restricts applicability of a <style> tag to the region of the html where 
the <style> occurs.

Even more complex are proposals to scope style tags dynamically using web 
components (template, decorator, and element tags) with locally-defined 
<style>s and the ability to import by <link>.  See:

https://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html

Right now there is no browser support for these, but we'll need to have at 
least basic blacklisting / treatment for them in several of our filters, and 
preferably transition to supporting / using these features as they become 
standardized and have stable browser support.

Original issue reported on code.google.com by jmaes...@google.com on 21 Feb 2013 at 3:42

@GoogleCodeExporter
Copy link
Author

Original comment by sligocki@google.com on 4 Aug 2014 at 6:46

  • Changed state: Duplicate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant