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

Unified Diff: LayoutTests/fullscreen/full-screen-css.html

Issue 1233503003: Remove the :-webkit-full-screen-document pseudo class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/fullscreen/full-screen-css.html
diff --git a/LayoutTests/fullscreen/full-screen-css.html b/LayoutTests/fullscreen/full-screen-css.html
index f970f5c61b5798c328a9f0b3e50407edaf796d2b..2029437a11268f1f557a7d6e9a078662f9da92b9 100644
--- a/LayoutTests/fullscreen/full-screen-css.html
+++ b/LayoutTests/fullscreen/full-screen-css.html
@@ -2,8 +2,8 @@
<script src="full-screen-test.js"></script>
<style>
:-webkit-full-screen { background: lime; }
- :-webkit-full-screen-document { color: blue; }
- :root:-webkit-full-screen-document:not(:-webkit-full-screen) { background: red; }
+ :-webkit-full-screen-ancestor { color: blue; }
+ :root:-webkit-full-screen-ancestor { background: red; }
</style>
<span></span>
<script>
@@ -25,7 +25,7 @@
testExpected("document.webkitCurrentFullScreenElement", document.documentElement);
testExpected("document.defaultView.getComputedStyle(span, null).getPropertyValue('background-color')", "rgba(0, 0, 0, 0)");
testExpected("document.defaultView.getComputedStyle(document.documentElement, null).getPropertyValue('background-color')", "rgb(0, 255, 0)");
- testExpected("document.defaultView.getComputedStyle(document.documentElement, null).getPropertyValue('color')", "rgb(0, 0, 255)");
+ testExpected("document.defaultView.getComputedStyle(document.documentElement, null).getPropertyValue('color')", "rgb(0, 0, 0)");
callback = spanEnteredFullScreen;
runWithKeyDown(function(){span.webkitRequestFullScreen()});
};
« no previous file with comments | « LayoutTests/fast/css/invalidation/fullscreen-expected.txt ('k') | LayoutTests/fullscreen/full-screen-css-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698