The attribute with the HTML5 style attribute is gone in Chrome 36+?

<style scoped> was available in Chrome with experimental platform features enabled prior to Chrome 36. ( http://www.w3.org/TR/html51/document-metadata.html#attr-style-scoped )

He left with Chrome 37 ( http://caniuse.com/#feat=style-scoped )

I think I read something, but found nothing else. Did they remove it in favor of the Shadow DOM?

Example http://jsfiddle.net/tofu/xct0jo5u/ (works in FireFox, but not in Chrome with experimental web platform capabilities)

+6
source share
1 answer

Yes, the copied stylesheets were deleted from Chrome 35 according to the Chromium dashboard:

http://www.chromestatus.com/features/5374137958662144

It was partially implemented behind the flag, but was later removed due to the high complexity of the code. http://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/scoped/blink-dev/R1x18ZLS5qQ/Bjuh_cENhlQJ

+6
source

Source: https://habr.com/ru/post/975754/


All Articles