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()}); |
}; |