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

Unified Diff: LayoutTests/fullscreen/rendering/ua-style-override-iframe.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
Index: LayoutTests/fullscreen/rendering/ua-style-override-iframe.html
diff --git a/LayoutTests/fullscreen/rendering/ua-style-override-iframe.html b/LayoutTests/fullscreen/rendering/ua-style-override-iframe.html
deleted file mode 100644
index 4af8ba05b0cded59f7b91468fd30cc3446655a93..0000000000000000000000000000000000000000
--- a/LayoutTests/fullscreen/rendering/ua-style-override-iframe.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<title>Fullscreen UA style sheet cannot be overriden by author style for iframes</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../trusted-event.js"></script>
-<style>
-iframe {
- border: 10px solid red !important;
- padding: 10px !important;
-}
-</style>
-<div id="log"></div>
-<iframe></iframe>
-<script>
-async_test(function()
-{
- var iframe = document.querySelector("iframe");
-
- // Initial style is from inline stylesheet.
- var style = getComputedStyle(iframe);
- assert_equals(style.border, "10px solid rgb(255, 0, 0)");
- assert_equals(style.padding, "10px");
-
- document.addEventListener("fullscreenchange", this.step_func_done(function()
- {
- // The Fullscreen UA style sheet removes border and padding.
- var style = getComputedStyle(iframe);
- assert_equals(style.border, "0px none rgb(0, 0, 0)");
- assert_equals(style.padding, "0px");
- }));
-
- trusted_request(iframe);
-});
-</script>
« no previous file with comments | « LayoutTests/fullscreen/rendering/ua-style-override.html ('k') | LayoutTests/fullscreen/rendering/ua-style-root.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698