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

Side by Side Diff: LayoutTests/fullscreen/rendering/ua-style-iframe-border.html

Issue 1032253002: Move iframe border/padding to the standard Fullscreen UA style sheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/fullscreen.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Fullscreen UA style sheet removes iframe border</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../trusted-event.js"></script>
6 <div id="log"></div>
7 <iframe></iframe>
8 <script>
9 async_test(function()
10 {
11 var iframe = document.querySelector("iframe");
12
13 // The HTML UA style sheet gives iframe a border.
14 // https://html.spec.whatwg.org/#embedded-content-rendering-rules
15 assert_equals(getComputedStyle(iframe).borderStyle, "inset");
16
17 document.addEventListener("fullscreenchange", this.step_func_done(function()
18 {
19 // The Fullscreen UA style sheet removes the iframe border.
20 assert_equals(getComputedStyle(iframe).borderStyle, "none");
21 }));
22
23 trusted_request(iframe);
24 });
25 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/fullscreen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698