Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: LayoutTests/fast/html/navigation-transition.html

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b09fe4805fe03ac8acb5d30682e84cabbc70fc8d 100644
--- a/LayoutTests/fast/html/navigation-transition.html
+++ b/LayoutTests/fast/html/navigation-transition.html
@@ -25,7 +25,6 @@ window.onload = function() {
preHidingTransitionElementOpacity = window.getComputedStyle(transitionElement).opacity;
internals.hideAllTransitionElements();
-
postHidingTransitionElementOpacity = window.getComputedStyle(transitionElement).opacity;
postHidingBottomElementRect = bottomElement.getBoundingClientRect();
@@ -41,6 +40,10 @@ window.onload = function() {
shouldBe('preHidingBottomElementRect.top', 'postHidingBottomElementRect.top');
shouldBe('preHidingBottomElementRect.left', 'postHidingBottomElementRect.left');
+ internals.showAllTransitionElements();
+ postShowingTransitionElementOpacity = window.getComputedStyle(transitionElement).opacity;
+ shouldBeTrue('postShowingTransitionElementOpacity == 1');
+
finishJSTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698