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

Side by Side Diff: LayoutTests/fast/dom/shadow/insertion-parent-shadow.html

Issue 15757013: Remove an experimental webkitInsertionParent API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/shadow-dom.js"></script>
6 </head>
7 <body>
8 <script>
9 description("Tests for insertionParent with a shadow element.");
10
11 document.body.appendChild(
12 createDOM('div', {},
13 createDOM('div', {'id': 'host'},
14 createShadowRoot(
15 createDOM('div', {'id': 'older-shadow-root-child'})) ,
16 createShadowRoot(
17 createDOM('shadow', {'id': 'shadow'})))));
18
19 document.body.offsetLeft;
20
21 shouldBeEqualToString("getNodeInShadowTreeStack('host/older-shadow-root-child'). webkitInsertionParent.id", "shadow");
22 shouldBeNull("getNodeInShadowTreeStack('host//shadow').webkitInsertionParent");
23 </script>
24 <script src="../../js/resources/js-test-post.js"></script>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698