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

Side by Side Diff: LayoutTests/imported/web-platform-tests/shadow-dom/shadow-trees/reprojection/reprojection-001.html

Issue 560893005: First checked-in import of the W3C's test suites. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add new expectations for newly failing w3c tests Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Distributed under both the W3C Test Suite License [1] and the W3C
4 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
5 policies and contribution forms [3].
6
7 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
8 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
9 [3] http://www.w3.org/2004/10/27-testcases
10 -->
11 <html>
12 <head>
13 <meta charset="utf-8">
14 <title>Shadow DOM Test - Tests a reprojection.</title>
15 <link rel="match" href="reprojection-001-ref.html">
16 <link rel="author" title="Anna Ogawa" href="mailto:anna.ogawa.0219@gmail.com">
17 <link rel="author" title="Hayato Ito" href="mailto:hayato@google.com">
18 <link rel="help" href="http://www.w3.org/TR/2013/WD-shadow-dom-20130514/#reproje ction">
19 <meta name="assert" content="a node is distributed into more than one insertion point.">
20 <script src="../../testcommon.js"></script>
21 <style>
22 .pass { color: green; }
23 </style>
24 </head>
25 <body>
26 <p>You should see green text saying "Apple" and "Orange" below.</p>
27 <div id="host">
28 <div class="pass">Apple.</div>
29 <div class="pass">Orange.</div>
30 </div>
31 <script>
32 var shadowRoot = host.createShadowRoot(host);
33 shadowRoot.innerHTML = '<div id="host2">Hello a Shadow Root.<content></content ><div>Banana.</div></div>';
34 var host2 = shadowRoot.getElementById("host2");
35 var shadowRoot2 = host2.createShadowRoot(host2);
36 shadowRoot2.innerHTML = '<div>Hello a Shadow Root2.</div><div><content></conte nt></div>';
37 </script>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698