Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-platform-tests to revision 6be7f242bbcec40802cda8f670bbec3…
…1570dd077
- Loading branch information
1 parent
2b9acb1
commit 9882351
Showing
78 changed files
with
1,910 additions
and
117 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/wpt/metadata/custom-elements/parser/serializing-html-fragments.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[serializing-html-fragments.html] | ||
["is" value should be serialized if the custom element has no "is" content attribute] | ||
expected: FAIL | ||
|
||
["is" value should be serialized even for an undefined element] | ||
expected: FAIL | ||
|
7 changes: 7 additions & 0 deletions
7
tests/wpt/metadata/fetch/api/redirect/redirect-empty-location-worker.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[redirect-empty-location-worker.html] | ||
[redirect response with empty Location, follow mode] | ||
expected: FAIL | ||
|
||
[redirect response with empty Location, manual mode] | ||
expected: FAIL | ||
|
7 changes: 7 additions & 0 deletions
7
tests/wpt/metadata/fetch/api/redirect/redirect-empty-location.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[redirect-empty-location.html] | ||
[redirect response with empty Location, follow mode] | ||
expected: FAIL | ||
|
||
[redirect response with empty Location, manual mode] | ||
expected: FAIL | ||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/fetch/corb/script-html-correctly-labeled.tentative.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[script-html-correctly-labeled.tentative.sub.html] | ||
[Untitled] | ||
expected: FAIL | ||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/fetch/corb/script-js-mislabeled-as-html-nosniff.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[script-js-mislabeled-as-html-nosniff.sub.html] | ||
[Untitled] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[stylesheet.html] | ||
[URL query: text/html] | ||
expected: FAIL | ||
|
||
[URL query: text/json] | ||
expected: FAIL | ||
|
||
[Revalidated URL query: text/html] | ||
expected: FAIL | ||
|
||
[Revalidated URL query: text/json] | ||
expected: FAIL | ||
|
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/xhr/xmlhttprequest-sync-default-feature-policy.sub.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/wpt/web-platform-tests/css/css-flexbox/flexbox_flex-none-wrappable-content-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<title>Reference for specifying flex:none on wrappable content should give content its full width</title> | ||
|
||
<style> | ||
span { | ||
font-family: Ahem; | ||
color: green; | ||
} | ||
</style> | ||
|
||
<div><span>XXX XXX XXX</span></div> | ||
|
||
<div style="margin-top: 1em;">You should see three green rectangles above, all on the same line.</div> |
20 changes: 20 additions & 0 deletions
20
tests/wpt/web-platform-tests/css/css-flexbox/flexbox_flex-none-wrappable-content.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<title>Specifying flex:none on wrappable content should give content its full width</title> | ||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-common"> | ||
<meta name="assert" content="When content has flex:none, it should be given its full width"> | ||
<link rel="match" href="flexbox_flex-none-wrappable-content-ref.html"> | ||
|
||
<style> | ||
span { | ||
font-family: Ahem; | ||
color: green; | ||
} | ||
</style> | ||
|
||
<div style="display: flex; width: 5px;"> | ||
<div style="flex: none;"> | ||
<span>XXX XXX XXX</span> | ||
</div> | ||
</div> | ||
|
||
<div style="margin-top: 1em;">You should see three green rectangles above, all on the same line.</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
tests/wpt/web-platform-tests/css/css-fonts/font-variant-05-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>CSS Test: font-variant: none; low level equivalence</title> | ||
<link rel="author" title="Mike Bremford" href="mike@bfo.com" /> | ||
<style> | ||
@font-face { | ||
font-family: fwf; | ||
src: url(support/fonts/FontWithFancyFeatures.otf); | ||
} | ||
.test { | ||
font-family: fwf; | ||
font-size: 2.4em; | ||
line-height: 0.5; | ||
color: purple; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Test passes if the six lines below are identical, with five check marks.</p> | ||
<section class="test"> | ||
<p>AAAAA</p> | ||
<p>AAAAA</p> | ||
<p>AAAAA</p> | ||
<p>AAAAA</p> | ||
<p>AAAAA</p> | ||
<p>AAAAA</p> | ||
</section> | ||
</body> | ||
</html> |
69 changes: 69 additions & 0 deletions
69
tests/wpt/web-platform-tests/css/css-fonts/font-variant-05.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>CSS Test: font-variant in @font-face rule is overriden by equivalent style rules</title> | ||
<link rel="author" title="Mike Bremford" href="mike@bfo.com" /> | ||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-prop" /> | ||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop" /> | ||
<link rel="match" href="font-variant-05-ref.xht" /> | ||
<meta name="assert" content="Setting ‘font-variant-ligatures’ properties will override the same properties set in the @font-face rule. But properties set there and not explicitly turned off or on later remain set." /> | ||
<style> | ||
@font-face { | ||
font-family: fwf; | ||
src: url(support/fonts/FontWithFancyFeatures.otf); | ||
font-variant: no-common-ligatures no-contextual discretionary-ligatures historical-ligatures; | ||
} | ||
.test { | ||
font-family: fwf; | ||
font-size: 2.4em; | ||
line-height: 0.5; | ||
color: purple; | ||
} | ||
.line1 { } | ||
.line2 { font-variant-ligatures: normal; } | ||
.line3 { font-variant-ligatures: common-ligatures contextual; } | ||
.line4 { font-variant-ligatures: common-ligatures contextual discretionary-ligatures historical-ligatures; } | ||
.line5 { font-feature-settings: "liga" on, "clig" on, "calt" on, "hlig" on, "dlig" on } | ||
/** | ||
* Some notes on this test case, which aims to explore the | ||
* font-variant precedence rules and the exact value of | ||
* "normal" for font-variant-ligatures. | ||
* | ||
* line1: | ||
* font-variant is completely set in the @font-face rule. | ||
* | ||
* line2: | ||
* font-variant-ligatures: normal will reset "common-ligatures" | ||
* and "contextual" both to true. Discretionary and historical | ||
* ligatures are off by default, but they are not explicitly | ||
* disabled with a value of "normal". As stated in section 7.1, | ||
* "Individual features are only disabled when explicitly | ||
* overridden by the author". These features were turned on in | ||
* the @font-face rule, so remain on. | ||
* | ||
* line3: | ||
* identical to line2 except that instead of "normal" for | ||
* font-variant-ligatures we use the expanded equivalent, | ||
* explicitly turning on common-ligatures and contextual, and | ||
* leaving discretionary and historical unchanged. | ||
* | ||
* line4: | ||
* we explicitly reset all values of font-variant-ligatures | ||
* properties to the same values as are set in the @font-face | ||
* rule. | ||
*/ | ||
</style> | ||
</head> | ||
<body> | ||
<p>Test passes if the six lines below are identical, with five check marks.</p> | ||
<section class="test"> | ||
<p class="line1">AAAFE</p> | ||
<p class="line2">CDGFE</p> | ||
<p class="line3">CDGFE</p> | ||
<p class="line4">CDGFE</p> | ||
<p class="line5">CDGFE</p> | ||
<p>AAAAA</p> | ||
</section> | ||
</body> | ||
</html> |
34 changes: 34 additions & 0 deletions
34
tests/wpt/web-platform-tests/css/css-fonts/font-variant-06-ref.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>CSS Test: font-variant in @font-face rule is overriden by equivalent style rules</title> | ||
<link rel="author" title="Mike Bremford" href="mike@bfo.com" /> | ||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#feature-precedence" /> | ||
<style> | ||
@font-face { | ||
font-family: fwf; | ||
src: url(support/fonts/FontWithFancyFeatures.otf); | ||
} | ||
.test { | ||
font-family: fwf; | ||
font-size: 2.4em; | ||
color: green; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Test passes if there are nine check marks below and no red visible.</p> | ||
<section class="test"> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
</section> | ||
</body> | ||
</html> |
82 changes: 82 additions & 0 deletions
82
tests/wpt/web-platform-tests/css/css-fonts/font-variant-06.xht
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>CSS Test: font-variant in @font-face rule is overriden by equivalent style rules</title> | ||
<link rel="author" title="Mike Bremford" href="mike@bfo.com" /> | ||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-prop" /> | ||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#feature-precedence" /> | ||
<link rel="match" href="font-variant-06-ref.xht" /> | ||
<meta name="assert" content="‘font-variant-numeric’ cannot turn OFF features turned ON in @font-face" /> | ||
<style> | ||
@font-face { | ||
font-family: fwf; | ||
src: url(support/fonts/FontWithFancyFeatures.otf); | ||
font-variant: oldstyle-nums; | ||
} | ||
.test, .ref { | ||
font-family: fwf; | ||
font-size: 2.4em; | ||
position: absolute; | ||
} | ||
.test { | ||
color: green; | ||
} | ||
.ref { | ||
color: red; | ||
} | ||
.t1 { } | ||
.t2 { font-variant-numeric: oldstyle-nums; } | ||
.t3 { font-variant-numeric: normal; } | ||
.t4 { font-variant-numeric: slashed-zero; } | ||
.t5 { font-variant-numeric: invalid-value; } | ||
.t6 { font-variant: none; } | ||
.t7 { font-variant: normal; } | ||
.t8 { font-variant: initial; } | ||
.t9 { font-variant: invalid-value; } | ||
/** | ||
* Some notes on this test. | ||
* | ||
* t1 | ||
* the font-variant property from @font-face is applied. | ||
* t2 | ||
* simply restating the value set in the @font-face rule | ||
* t3 | ||
* "font-variant-numeric: normal" does not turn off the "on" value | ||
* for oldstyle-nums, which remains on as set in @font-face | ||
* t4 | ||
* "font-variant-numeric: slashed-zero" is valid, but does not | ||
* change the "on" value for oldstyle-nums as set in @font-face | ||
* t6, t7, t8 | ||
these font-variant values all set font-variant-numeric to normal | ||
* t5, r9 | ||
* an invalid value means the rule is invalid, and should be ignored. | ||
*/ | ||
</style> | ||
</head> | ||
<body> | ||
<p>Test passes if there are nine check marks below and no red visible.</p> | ||
<section class="ref"> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
<span>A</span> | ||
</section> | ||
<section class="test"> | ||
<span class="t1">Q</span> | ||
<span class="t2">Q</span> | ||
<span class="t3">Q</span> | ||
<span class="t4">Q</span> | ||
<span class="t5">Q</span> | ||
<span class="t6">Q</span> | ||
<span class="t7">Q</span> | ||
<span class="t8">Q</span> | ||
<span class="t9">Q</span> | ||
</section> | ||
</body> | ||
</html> |
24 changes: 24 additions & 0 deletions
24
...-platform-tests/css/css-typed-om/the-stylepropertymap/properties/animation-direction.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!doctype html> | ||
<meta charset="utf-8"> | ||
<title>'animation-direction' property</title> | ||
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get"> | ||
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set"> | ||
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="../../resources/testhelper.js"></script> | ||
<script src="resources/testsuite.js"></script> | ||
<body> | ||
<div id="log"></div> | ||
<script> | ||
'use strict'; | ||
|
||
// FIXME: animation-direction is list-valued. Run list-valued tests here too. | ||
runPropertyTests('animation-direction', [ | ||
{ syntax: 'normal' }, | ||
{ syntax: 'reverse' }, | ||
{ syntax: 'alternate-reverse' }, | ||
{ syntax: 'alternate' }, | ||
]); | ||
|
||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.