| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index 8cfb6680ec2d9e3850d2034b2aa22d501ec91152..99a9b37226cec0281f8bce4c688e28ff0202c5b4 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -905,6 +905,17 @@ $endif
|
|
|
| bool _templateIsDecorated;
|
|
|
| +$if DART2JS
|
| + @DomName('Element.createShadowRoot')
|
| + @SupportedBrowser(SupportedBrowser.CHROME, '25')
|
| + @Experimental()
|
| + ShadowRoot createShadowRoot() {
|
| + return JS('ShadowRoot',
|
| + '(#.createShadowRoot || #.webkitCreateShadowRoot).call(#)',
|
| + this, this, this);
|
| + }
|
| +$endif
|
| +
|
|
|
| /**
|
| * Gets the template this node refers to.
|
|
|