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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/Element-interface-shadowRoot-attribute.html

Issue 1993513002: Move the shadow-dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Shadow DOM: Element interface shadowRoot attribute</title> 4 <title>Shadow DOM: Element interface shadowRoot attribute</title>
5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> 5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
6 <meta name="assert" content="shadowRoot attribute on Element interface must retu rn the associated open shadow tree if there is one"> 6 <meta name="assert" content="shadowRoot attribute on Element interface must retu rn the associated open shadow tree if there is one">
7 <link rel="help" href="https://w3c.github.io/webcomponents/spec/shadow/#the-shad owroot-interface"> 7 <link rel="help" href="https://w3c.github.io/webcomponents/spec/shadow/#the-shad owroot-interface">
8 <script src="../../../resources/testharness.js"></script> 8 <script src="../../../resources/testharness.js"></script>
9 <script src="../../../resources/testharnessreport.js"></script> 9 <script src="../../../resources/testharnessreport.js"></script>
10 </head> 10 </head>
(...skipping 25 matching lines...) Expand all
36 36
37 test(function () { 37 test(function () {
38 var host = document.createElement('div'); 38 var host = document.createElement('div');
39 host.attachShadow({mode: 'closed'}); 39 host.attachShadow({mode: 'closed'});
40 assert_equals(host.shadowRoot, null); 40 assert_equals(host.shadowRoot, null);
41 }, 'shadowRoot attribute must return null if the shadow root attached to the ele ment is closed'); 41 }, 'shadowRoot attribute must return null if the shadow root attached to the ele ment is closed');
42 42
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698