Handle scoped CSS when browsers support it #625

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

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Apr 6, 2015

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

  • Changed state: Duplicate

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

  • Changed state: Duplicate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment