| Index: tools/dom/templates/html/impl/impl_Range.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Range.darttemplate b/tools/dom/templates/html/impl/impl_Range.darttemplate
|
| index 13ab55211ff8e592d4dce729ba0c0e8a0f0e9956..1aebb9e6d62a2da4bb036823b646c87ab765b80f 100644
|
| --- a/tools/dom/templates/html/impl/impl_Range.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Range.darttemplate
|
| @@ -10,4 +10,18 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| factory $CLASSNAME() => document.$dom_createRange();
|
|
|
| $!MEMBERS
|
| +
|
| + /**
|
| + * Checks if createContextualFragment is supported.
|
| + *
|
| + * See also:
|
| + *
|
| + * * [createContextualFragment]
|
| + */
|
| +$if DART2JS
|
| + static bool get supportsCreateContextualFragment =>
|
| + JS('bool', '("createContextualFragment" in window.Range.prototype)');
|
| +$else
|
| + static bool get supportsCreateContextualFragment => true;
|
| +$endif
|
| }
|
|
|