| Index: LayoutTests/fast/html/navigation-transition.html
|
| diff --git a/LayoutTests/fast/html/navigation-transition.html b/LayoutTests/fast/html/navigation-transition.html
|
| index b6e93f0cefbf01e8773bcf255e9b3be581a0fe58..0a872d6f3f8b178deb52683143050a7df36238c8 100644
|
| --- a/LayoutTests/fast/html/navigation-transition.html
|
| +++ b/LayoutTests/fast/html/navigation-transition.html
|
| @@ -4,7 +4,7 @@
|
| <script src="../../resources/js-test.js"></script>
|
| <script>
|
|
|
| -description('Tests for the HTML markup serializer used for transition elements');
|
| +description('Tests for the HTML markup serializer used for transition elements and transition element names and rects');
|
| jsTestIsAsync = true;
|
|
|
| window.onload = function() {
|
| @@ -41,6 +41,22 @@ window.onload = function() {
|
| shouldBe('preHidingBottomElementRect.top', 'postHidingBottomElementRect.top');
|
| shouldBe('preHidingBottomElementRect.left', 'postHidingBottomElementRect.left');
|
|
|
| + transitionElementNames = internals.getTransitionElementNames();
|
| + shouldBeEqualToString('transitionElementNames[0]', 'transitionElement');
|
| + shouldBeEqualToString('transitionElementNames[1]', 'boxTransitionElement');
|
| +
|
| + transitionElementRects = internals.getTransitionElementRects();
|
| + transitionElementBounds = internals.boundsInRootViewSpace(transitionElement);
|
| + boxTransitionElementBounds = internals.boundsInRootViewSpace(sourceElement);
|
| + shouldBeTrue('transitionElementRects[0].left == transitionElementBounds.left');
|
| + shouldBeTrue('transitionElementRects[0].top == transitionElementBounds.top');
|
| + shouldBeTrue('transitionElementRects[0].width == transitionElementBounds.width');
|
| + shouldBeTrue('transitionElementRects[0].height == transitionElementBounds.height');
|
| + shouldBeTrue('transitionElementRects[1].left == boxTransitionElementBounds.left');
|
| + shouldBeTrue('transitionElementRects[1].top == boxTransitionElementBounds.top');
|
| + shouldBeTrue('transitionElementRects[1].width == boxTransitionElementBounds.width');
|
| + shouldBeTrue('transitionElementRects[1].height == boxTransitionElementBounds.height');
|
| +
|
| finishJSTest();
|
| }
|
| }
|
|
|