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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-template-element/additions-to-serializing-xhtml-documents/outerhtml.html

Issue 1211973013: update-w3c-deps import using blink d42488bb63a5ac7fd6befd40a9b90fe85cebcc4a: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add flaky/timeout to TestExpectations Created 5 years, 5 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>HTML Templates: serialize template contents instead of template element</ title> 4 <title>HTML Templates: serialize template contents instead of template element</ title>
5 <meta name="author" title="Aleksei Yu. Semenov" href="a.semenov@unipro.ru"> 5 <meta name="author" title="Aleksei Yu. Semenov" href="a.semenov@unipro.ru">
6 <meta name="assert" content="Template contents should be serialized instead of t emplate element if serializing template element in XHTML document"> 6 <meta name="assert" content="Template contents should be serialized instead of t emplate element if serializing template element in XHTML document">
7 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#ser ializing-xhtml-documents"> 7 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#ser ializing-xhtml-documents">
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 <script src='../testcommon.js'></script> 10 <script src='/html/resources/common.js'></script>
11 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"> 11 <link rel="stylesheet" href="../../../../../../../resources/testharness.css">
12 </head> 12 </head>
13 <body> 13 <body>
14 <div id="log"></div> 14 <div id="log"></div>
15 <script type="text/javascript"> 15 <script type="text/javascript">
16 16
17 test(function () { 17 test(function () {
18 var doc = newXHTMLDocument(); 18 var doc = newXHTMLDocument();
19 var template = doc.createElement('template'); 19 var template = doc.createElement('template');
20 20
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 assert_equals(doc.documentElement.outerHTML, '<html xmlns="http://www.w3.org /1999/xhtml"><body><template><div id="div1">some text</div></template></body></h tml>', 64 assert_equals(doc.documentElement.outerHTML, '<html xmlns="http://www.w3.org /1999/xhtml"><body><template><div id="div1">some text</div></template></body></h tml>',
65 'template element is serialized incorrectly'); 65 'template element is serialized incorrectly');
66 66
67 }, 'Template contents should be serialized instead of template element if serial izing template element. ' 67 }, 'Template contents should be serialized instead of template element if serial izing template element. '
68 + 'Test serializing whole document'); 68 + 'Test serializing whole document');
69 69
70 </script> 70 </script>
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698