OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>HTML Templates: Content attribute of template element is read-only</title
> | 4 <title>HTML Templates: Content attribute of template element is read-only</title
> |
5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> | 5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> |
6 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> | 6 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> |
7 <meta name="assert" content="Content attribute of template element is read-only"
> | 7 <meta name="assert" content="Content attribute of template element is read-only"
> |
8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#tem
plate-element"> | 8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#tem
plate-element"> |
9 <script src="../../../../../../../resources/testharness.js"></script> | 9 <script src="../../../../../../../resources/testharness.js"></script> |
10 <script src="../../../../../../../resources/testharnessreport.js"></script> | 10 <script src="../../../../../../../resources/testharnessreport.js"></script> |
11 <script src='../testcommon.js'></script> | 11 <script src='/html/resources/common.js'></script> |
12 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"> | 12 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"> |
13 </head> | 13 </head> |
14 <body> | 14 <body> |
15 <div id="log"></div> | 15 <div id="log"></div> |
16 <script type="text/javascript"> | 16 <script type="text/javascript"> |
17 | 17 |
18 test(function() { | 18 test(function() { |
19 var doc = newHTMLDocument(); | 19 var doc = newHTMLDocument(); |
20 var template = doc.createElement('template'); | 20 var template = doc.createElement('template'); |
21 | 21 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 assert_readonly(template, 'content', | 107 assert_readonly(template, 'content', |
108 'Content attribute of template element should be read-only'); | 108 'Content attribute of template element should be read-only'); |
109 | 109 |
110 }, 'Content attribute of template element is read-only. ' | 110 }, 'Content attribute of template element is read-only. ' |
111 + 'Test content attribute of a document loaded from a file'); | 111 + 'Test content attribute of a document loaded from a file'); |
112 | 112 |
113 </script> | 113 </script> |
114 </body> | 114 </body> |
115 </html> | 115 </html> |
OLD | NEW |