mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.
This commit is contained in:
parent
12195a5c4a
commit
bfb96b9448
1166 changed files with 35123 additions and 900 deletions
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#foster-parent-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#foster-parent-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -75,7 +75,7 @@ test(function () {
|
|||
var div = template.content.querySelector('#dv');
|
||||
|
||||
assert_not_equals( div, null, 'Template should contain DIV element');
|
||||
assert_equals(div.innerText, 'Div content', 'Wrong template content inner text');
|
||||
assert_equals(div.textContent, 'Div content', 'Wrong template content inner text');
|
||||
|
||||
}, 'Generating of implied end tags. Test some text and DIV element');
|
||||
|
||||
|
@ -97,13 +97,13 @@ test(function () {
|
|||
|
||||
assert_not_equals(template.content.querySelector('#dv'), null,
|
||||
'Template should contain DIV element');
|
||||
assert_equals(template.content.querySelector('#dv').innerText,
|
||||
assert_equals(template.content.querySelector('#dv').textContent,
|
||||
'Div content', 'Wrong template content inner text');
|
||||
|
||||
}, 'Generating of implied end tags. Test wrong end tag');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-table-no-end-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-table-no-end-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
@ -120,7 +120,7 @@ testInIFrame('../../resources/template-contents-table-no-end-tag.html', function
|
|||
}, 'Generating of implied end tags. Test table elements. Loading of HTML document from a file');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-div-no-end-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-div-no-end-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
@ -129,7 +129,7 @@ testInIFrame('../../resources/template-contents-div-no-end-tag.html', function(c
|
|||
|
||||
var div = template.content.querySelector('div');
|
||||
assert_not_equals(div, null, 'Template should contain div element');
|
||||
assert_equals(div.innerText, 'Hello, template\n ', 'Invalid div contents');
|
||||
assert_equals(div.textContent, 'Hello, template\n ', 'Invalid div contents');
|
||||
|
||||
}, 'Generating of implied end tags. Test div element. Loading of HTML document from a file');
|
||||
</script>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -117,7 +117,7 @@ test(function() {
|
|||
+ 'template\'s innerHTML');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-body.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-body.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -112,7 +112,7 @@ test(function() {
|
|||
+ 'Test FRAMESET tag inside template tag assigned to another template\'s innerHTML');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-frameset.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-frameset.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -115,7 +115,7 @@ test(function() {
|
|||
+ 'Test HEAD tag inside template tag assigned to another template\'s innerHTML');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-head.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-head.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -144,7 +144,7 @@ test(function() {
|
|||
}, 'Ignore HTML token. Test valid element inside and between HTML and BODY elements');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-html.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-html.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -18,7 +18,7 @@
|
|||
// id attribute should be added to root <html> element
|
||||
// tabindex attribute should not be modified
|
||||
//class attribute should be ignored
|
||||
testInIFrame('../../resources/html-start-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/html-start-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.body.querySelector('template');
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-body-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -86,7 +86,7 @@ test(function () {
|
|||
+ 'Test valid <template> element, <title> element and </template> tag after them');
|
||||
|
||||
|
||||
testInIFrame('../../resources/end-template-tag-in-body.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/end-template-tag-in-body.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
assert_equals(doc.body.querySelector('template'), null,
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-head-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script type="text/javascript">
|
||||
|
||||
testInIFrame('../../resources/frameset-end-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/frameset-end-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var frameset = doc.querySelector('frameset');
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-head-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -75,7 +75,7 @@ test(function () {
|
|||
var div = template.content.querySelector('#dv');
|
||||
|
||||
assert_not_equals( div, null, 'Template should contain DIV element');
|
||||
assert_equals(div.innerText, 'Div content', 'Wrong template content inner text');
|
||||
assert_equals(div.textContent, 'Div content', 'Wrong template content inner text');
|
||||
|
||||
}, 'Generating of implied end tags. Test some text and DIV element');
|
||||
|
||||
|
@ -97,13 +97,13 @@ test(function () {
|
|||
|
||||
assert_not_equals(template.content.querySelector('#dv'), null,
|
||||
'Template should contain DIV element');
|
||||
assert_equals(template.content.querySelector('#dv').innerText,
|
||||
assert_equals(template.content.querySelector('#dv').textContent,
|
||||
'Div content', 'Wrong template content inner text');
|
||||
|
||||
}, 'Generating of implied end tags. Test wrong end tag');
|
||||
|
||||
|
||||
testInIFrame('../../resources/head-template-contents-table-no-end-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/head-template-contents-table-no-end-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.head.querySelector('template');
|
||||
|
@ -121,7 +121,7 @@ testInIFrame('../../resources/head-template-contents-table-no-end-tag.html', fun
|
|||
}, 'Generating of implied end tags. Test table elements. Load HTML document from file');
|
||||
|
||||
|
||||
testInIFrame('../../resources/head-template-contents-div-no-end-tag.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/head-template-contents-div-no-end-tag.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.head.querySelector('template');
|
||||
|
@ -130,7 +130,7 @@ testInIFrame('../../resources/head-template-contents-div-no-end-tag.html', funct
|
|||
|
||||
var div = template.content.querySelector('div');
|
||||
assert_not_equals(div, null, 'Template should contain div element');
|
||||
assert_equals(div.innerText, 'Hello, template\n ', 'Invalid div contents');
|
||||
assert_equals(div.textContent, 'Hello, template\n ', 'Invalid div contents');
|
||||
|
||||
}, 'Generating of implied end tags. Test div element. Load HTML document from file');
|
||||
</script>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-head-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -86,7 +86,7 @@ test(function () {
|
|||
+ 'Test valid <template> element, <title> element and </template> tag after them');
|
||||
|
||||
|
||||
testInIFrame('../../resources/end-template-tag-in-head.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/end-template-tag-in-head.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
assert_equals(doc.head.querySelector('template'), null, '</template> must be ignored');
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#in-table-addition">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#appending-to-a-template">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -77,7 +77,7 @@ test(function () {
|
|||
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.querySelector('template');
|
||||
|
@ -91,7 +91,7 @@ testInIFrame('../../resources/template-contents.html', function(context) {
|
|||
+ 'Load HTML document from a file');
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-nested.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-nested.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.querySelector('template');
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#clearing-the-stack">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#clearing-the-stack">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#clearing-the-stack">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#creating-an-element-for-a-token">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src='../../testcommon.js'></script>
|
||||
<script src="/html/resources/common.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -107,7 +107,7 @@ test(function () {
|
|||
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.querySelector('template');
|
||||
|
@ -122,7 +122,7 @@ testInIFrame('../../resources/template-contents.html', function(context) {
|
|||
|
||||
|
||||
|
||||
testInIFrame('../../resources/template-contents-nested.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/template-contents-nested.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template = doc.querySelector('template');
|
||||
|
@ -142,7 +142,7 @@ testInIFrame('../../resources/template-contents-nested.html', function(context)
|
|||
|
||||
|
||||
|
||||
testInIFrame('../../resources/two-templates.html', function(context) {
|
||||
testInIFrame('/html/semantics/scripting-1/the-template-element/resources/two-templates.html', function(context) {
|
||||
var doc = context.iframes[0].contentDocument;
|
||||
|
||||
var template1 = doc.querySelector('#template1');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue