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

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

Issue 974783002: Match the Fullscreen spec's CSS as far as currently practical (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: disambiguate Fullscreen UA style sheet 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
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

Powered by Google App Engine
This is Rietveld 408576698