| 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 1179538bda1ee48c2eca27867a7330cae67d9150..96b4df37b3cf9a770adad6585fdef56beb73f2fe 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -9115,6 +9115,9 @@ class DomPoint extends DomPointReadOnly {
|
| static DomPoint _create_4(point_OR_x, y, z) => JS('DomPoint', 'new DOMPoint(#,#,#)', point_OR_x, y, z);
|
| static DomPoint _create_5(point_OR_x, y, z, w) => JS('DomPoint', 'new DOMPoint(#,#,#,#)', point_OR_x, y, z, w);
|
|
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => JS('bool', '!!(window.DOMPoint) || !!(window.WebKitPoint)');
|
| +
|
| // Shadowing definition.
|
| num get w => JS("num", "#.w", this);
|
|
|
| @@ -30471,7 +30474,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
|
| * convertPointFromNodeToPage and convertPointFromPageToNode are removed.
|
| * see http://dev.w3.org/csswg/cssom-view/#geometry
|
| */
|
| - static bool get supportsPointConversions => true;
|
| + static bool get supportsPointConversions => DomPoint.supported;
|
| // To suppress missing implicit constructor warnings.
|
| factory Window._() { throw new UnsupportedError("Not supported"); }
|
|
|
|
|