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

Unified Diff: LayoutTests/fullscreen/rendering/ua-style-root.html

Issue 1058083003: Revert recent changes to the Fullscreen UA style sheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « LayoutTests/fullscreen/rendering/ua-style-override-iframe.html ('k') | Source/core/css/fullscreen.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/rendering/ua-style-root.html
diff --git a/LayoutTests/fullscreen/rendering/ua-style-root.html b/LayoutTests/fullscreen/rendering/ua-style-root.html
deleted file mode 100644
index 2a4e003bb2f7c1ea051ac186df6c5be78ea8c11e..0000000000000000000000000000000000000000
--- a/LayoutTests/fullscreen/rendering/ua-style-root.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<title>Fullscreen UA style sheet does not apply to the :root element</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../trusted-event.js"></script>
-<style>
-:root {
- /* The Fullscreen UA style sheet excludes :root from the size- and
- * position-related rules. To verify that none of them in fact apply,
- * override the properties which would otherwise (incidentally) match. */
- margin: 10px;
- min-width: 50%;
- max-width: 50%;
- min-height: 50%;
- max-height: 50%;
- transform: translate(0, 0);
-}
-</style>
-<div id="log"></div>
-<script>
-async_test(function()
-{
- var root = document.documentElement;
- assert_true(root.matches(":root"));
-
- document.addEventListener("fullscreenchange", this.step_func_done(function()
- {
- var style = getComputedStyle(root);
- // No properties should match the Fullscreen UA style sheet.
- assert_not_equals(style.position, "fixed");
- assert_not_equals(style.top, "0px");
- assert_not_equals(style.right, "0px");
- assert_not_equals(style.bottom, "0px");
- assert_not_equals(style.left, "0px");
- assert_not_equals(style.margin, "0px");
- assert_not_equals(style.boxSizing, "border-box");
- assert_not_equals(style.minWidth, "0px");
- assert_not_equals(style.maxWidth, "none");
- assert_not_equals(style.minHeight, "0px");
- assert_not_equals(style.maxHeight, "none");
- assert_equals(style.width, window.innerWidth / 2 + "px");
- assert_equals(style.height, window.innerHeight / 2 + "px");
- assert_not_equals(style.objectFit, "contain");
- assert_not_equals(style.transform, "none");
- }));
-
- trusted_request(root, root);
-});
-</script>
« no previous file with comments | « LayoutTests/fullscreen/rendering/ua-style-override-iframe.html ('k') | Source/core/css/fullscreen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698