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

Side by Side Diff: LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-import.html

Issue 159853004: Ensure that every Document has a single, distinct template content ownerDocument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Suppress expected w3c test failures Created 6 years, 10 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 <head>
3 <link rel=import href="resources/template-import.html">
4 </head>
5 <body onload="runTest()">
6 <script src="../../../resources/js-test.js"></script>
7 <script>
8 jsTestIsAsync = true;
9 description('HTMLTemplateElement content ownerDocument in HTML imports should di ffer from import document');
10
11 function runTest() {
12 var link = document.querySelector('link[rel=import]');
13 var importDocument = link.import;
14 window.template = importDocument.querySelector('template');
15 shouldNotBe("template.ownerDocument", "template.content.ownerDocument");
16 finishJSTest();
17 }
18 </script>
19 </body>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-import-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698