| Index: tests/html/css_test.dart
|
| diff --git a/tests/html/css_test.dart b/tests/html/css_test.dart
|
| index d827ab38b929ecc277ba6bfcc687ef5ccc8bdc08..7671d1c14eb2c410373c6fd465556a1657503c98 100644
|
| --- a/tests/html/css_test.dart
|
| +++ b/tests/html/css_test.dart
|
| @@ -14,30 +14,4 @@ main() {
|
| expect(matrix2.a.round(), equals(1));
|
| expect(matrix2.e.round(), equals(-835));
|
| });
|
| - test('Point', () {
|
| - Element element = new Element.tag('div');
|
| - element.attributes['style'] =
|
| - '''
|
| - position: absolute;
|
| - width: 60px;
|
| - height: 100px;
|
| - left: 0px;
|
| - top: 0px;
|
| - background-color: red;
|
| - -webkit-transform: translate3d(250px, 100px, 0px) perspective(500px) rotateX(30deg);
|
| - ''';
|
| - document.body.nodes.add(element);
|
| -
|
| - Point point = new Point(5, 2);
|
| - checkPoint(5, 2, point);
|
| - checkPoint(256, 110, window.webkitConvertPointFromNodeToPage(element, point));
|
| - point.y = 100;
|
| - checkPoint(5, 100, point);
|
| - checkPoint(254, 196, window.webkitConvertPointFromNodeToPage(element, point));
|
| - });
|
| -}
|
| -
|
| -void checkPoint(expectedX, expectedY, Point point) {
|
| - expect(point.x.round(), equals(expectedX), reason: 'Wrong point.x');
|
| - expect(point.y.round(), equals(expectedY), reason: 'Wrong point.y');
|
| }
|
|
|