| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index c216a0f656f03c4931dcab29e84ea0e492b4dc94..ab44ba1a2a14556db9678521e1f0da7e1bca0dba 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -8810,18 +8810,7 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
|
|
| /**
|
| * Checks if this element matches the CSS selectors.
|
| - *
|
| - * Use [supportsMatches] to check if this is supported on the current
|
| - * platform.
|
| - *
|
| - * See also:
|
| - *
|
| - * * [supportsMatches]
|
| */
|
| - @SupportedBrowser(SupportedBrowser.CHROME)
|
| - @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| - @SupportedBrowser(SupportedBrowser.IE, '10')
|
| - @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental
|
| bool matches(String selectors) {
|
| if (JS('bool', '!!#.matches', this)) {
|
| @@ -8836,19 +8825,6 @@ abstract class Element extends Node implements ElementTraversal native "*Element
|
| throw new UnsupportedError("Not supported on this platform");
|
| }
|
|
|
| - /**
|
| - * Checks if the matches function is supported on the current platform.
|
| - *
|
| - * See also:
|
| - *
|
| - * * [matches]
|
| - */
|
| - static bool get supportsMatches {
|
| - var e = new DivElement();
|
| - return JS('bool', '!!(#.matches || #.webkitMatchesSelector || '
|
| - '#.mozMatchesSelector || #.msMatchesSelector)', e, e, e, e);
|
| - }
|
| -
|
|
|
| @DomName('Element.abort')
|
| @DocsEditable
|
|
|