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

Side by Side Diff: LayoutTests/http/tests/htmlimports/imported-document.html

Issue 16936002: [HTML Imports] Make HTMLLinkElement.import a Document. (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="../../../resources/testharness.js"></script>
5 <script src="../../../resources/testharnessreport.js"></script>
6 <link id="target" rel="import" href="resources/hello.html">
7 </head>
8 <body>
9 <script>
10 test(function() {
11 var target = document.getElementById("target");
12 assert_equals(target.href, target.import.URL);
13 assert_true(target.import instanceof Document)
14 },
15 "Check on the document URL of loaded document",
16 {
17 "help": ["https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/imports/index .html#imported-document"],
18 });
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698