How can we improve the Microsoft Edge developer experience?

Scoped Styles

Boolean attribute for the <style> element (<style scoped>). When present, its styles only apply to the parent element.

http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#attr-style-scoped

401 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jonathan Sampson [MSFT]Jonathan Sampson [MSFT] shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    The `scoped` attribute for `style` elements was removed in both the W3C (https://github.com/w3c/html/issues/231) and WhatWG (https://github.com/whatwg/html/issues/552) versions of HTML.

    As such we have no plans to support scoped styles in Edge.

    The current proposal for handing scoping in CSS is via the @scope at-rule. You can vote for this at https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/14895573--scope (note that this has currently been dropped from the CSS Scoping Level 1 spec and will be re-introduced in level 2 at a future date: https://drafts.csswg.org/css-scoping/#changes)

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base