hello-world-element icon indicating copy to clipboard operation
hello-world-element copied to clipboard

createShadowRoot is deprecated

Open IvanRave opened this issue 9 years ago • 3 comments

https://developer.mozilla.org/ru/docs/Web/API/Element/createShadowRoot

This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

IvanRave avatar Nov 08 '15 17:11 IvanRave

This is known. There's been a lot of churn on shadow dom recently, and the browser vendors have finally settled on pursuing Shadow DOM v1: https://www.chromestatus.com/features/4667415417847808

createShadowRoot is part of the original standard: https://www.chromestatus.com/features/4507242028072960

Chrome is shipping the createShadowRoot API but the polyfill has not been updated yet to support the new stuff.

ebidel avatar Nov 08 '15 21:11 ebidel

See https://github.com/webcomponents/webcomponentsjs/issues/430

ebidel avatar Nov 08 '15 21:11 ebidel

https://github.com/webcomponents/hello-world-element/pull/12

midorikocak avatar Mar 23 '17 16:03 midorikocak