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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/resources/common.js

Issue 1999243002: Import wpt@5df9b57edb3307a87d5187804b29c8ddd2aa14e1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add expectations files (using run-webkit-tests --new-baseline) Created 4 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
OLDNEW
1 /* 1 /*
2 Distributed under both the W3C Test Suite License [1] and the W3C 2 Distributed under both the W3C Test Suite License [1] and the W3C
3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the 3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
4 policies and contribution forms [3]. 4 policies and contribution forms [3].
5 5
6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license 6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license 7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license
8 [3] http://www.w3.org/2004/10/27-testcases 8 [3] http://www.w3.org/2004/10/27-testcases
9 */ 9 */
10 10
(...skipping 14 matching lines...) Expand all
25 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 25 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul',
26 'var', 'video', 'wbr' ]; 26 'var', 'video', 'wbr' ];
27 27
28 // only void (without end tag) HTML5 elements 28 // only void (without end tag) HTML5 elements
29 var HTML5_VOID_ELEMENTS = [ 'area', 'base', 'br', 'col', 'command', 'embed', 29 var HTML5_VOID_ELEMENTS = [ 'area', 'base', 'br', 'col', 'command', 'embed',
30 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 30 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source',
31 'track', 'wbr' ]; 31 'track', 'wbr' ];
32 32
33 // https://html.spec.whatwg.org/multipage/multipage/forms.html#form-associated-e lement 33 // https://html.spec.whatwg.org/multipage/multipage/forms.html#form-associated-e lement
34 var HTML5_FORM_ASSOCIATED_ELEMENTS = [ 'button', 'fieldset', 'input', 'keygen', 34 var HTML5_FORM_ASSOCIATED_ELEMENTS = [ 'button', 'fieldset', 'input', 'keygen',
35 'label', 'object', 'output', 'select', 'textarea' ]; 35 'object', 'output', 'select', 'textarea' ];
36 36
37 function newDocument() { 37 function newDocument() {
38 var d = document.implementation.createDocument(); 38 var d = document.implementation.createDocument();
39 return d; 39 return d;
40 } 40 }
41 41
42 function newHTMLDocument() { 42 function newHTMLDocument() {
43 var d = document.implementation.createHTMLDocument('Test Document'); 43 var d = document.implementation.createHTMLDocument('Test Document');
44 return d; 44 return d;
45 } 45 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 } 178 }
179 } 179 }
180 180
181 function checkBodyTemplateContent(d, html, id, nodeName) { 181 function checkBodyTemplateContent(d, html, id, nodeName) {
182 checkTemplateContent(d, d.body, html, id, nodeName); 182 checkTemplateContent(d, d.body, html, id, nodeName);
183 } 183 }
184 184
185 function checkHeadTemplateContent(d, html, id, nodeName) { 185 function checkHeadTemplateContent(d, html, id, nodeName) {
186 checkTemplateContent(d, d.head, html, id, nodeName); 186 checkTemplateContent(d, d.head, html, id, nodeName);
187 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698