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

Side by Side Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-ancestor-shadow.html

Issue 2287353002: Cross shadow DOM boundaries for :-webkit-full-screen-ancestor (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('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>Test that the :-webkit-full-screen-ancestor selector matches outside of s hadow DOM boundary.</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 <div id="host"></div>
8 <script>
9 async_test(function()
10 {
11 var host = document.getElementById("host");
12 var root = host.attachShadow({ mode: "open" });
13 var target = document.createElement("div");
14 host.appendChild(target);
15
16 trusted_request(target, document.body);
17 document.onfullscreenchange = this.step_func_done(function()
18 {
19 assert_true(host.matches(":-webkit-full-screen-ancestor"));
20 });
21 });
22 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698