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 91b1effe848fac6e73a203037fc333b…
…0fff3174d
- Loading branch information
1 parent
6bb98ad
commit 7680aab
Showing
60 changed files
with
1,584 additions
and
116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,3 +74,6 @@ | |
[opacity end] | ||
expected: FAIL | ||
|
||
[border-bottom-width end] | ||
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
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
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
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 |
---|---|---|
|
@@ -11,6 +11,3 @@ | |
[X-Content-Type-Options%3A%20nosniff%0C] | ||
expected: FAIL | ||
|
||
[X-Content-Type-Options%3A%20'NosniFF'] | ||
expected: FAIL | ||
|
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...mbedded-content/media-elements/track/track-element/track-cue-rendering-empty-cue.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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[track-cue-rendering-empty-cue.html] | ||
expected: TIMEOUT | ||
[Empty cues] | ||
expected: FAIL | ||
|
10 changes: 0 additions & 10 deletions
10
...wpt/metadata/html/semantics/embedded-content/the-img-element/non-active-document.html.ini
This file was deleted.
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
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,2 @@ | ||
[transition_calc_implicit.html] | ||
expected: TIMEOUT |
This file was deleted.
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
11 changes: 11 additions & 0 deletions
11
tests/wpt/web-platform-tests/client-hints/resources/sec-ch-ua.py
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,11 @@ | ||
def main(request, response): | ||
ua = request.headers.get('sec-ch-ua', '') | ||
response.headers.set("Content-Type", "text/html") | ||
response.headers.set("Accept-CH", "UA") | ||
response.headers.set("Accept-CH-Lifetime", "10") | ||
response.content = ''' | ||
<script> | ||
window.opener.postMessage({ header: "%s" }, "*"); | ||
</script> | ||
Sec-CH-UA: %s | ||
''' % (ua, ua) |
16 changes: 16 additions & 0 deletions
16
tests/wpt/web-platform-tests/client-hints/sec-ch-ua.http.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,16 @@ | ||
<!DOCTYPE html> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script> | ||
promise_test(t => { | ||
return new Promise((resolve, reject) => { | ||
var w; | ||
window.onmessage = e => { | ||
assert_equals(e.data.header, "", "The `Sec-CH-UA` header is not delivered."); | ||
w.close(); | ||
resolve(); | ||
}; | ||
w = window.open("./resources/sec-ch-ua.py"); | ||
}); | ||
}, "Open HTTP window: no `Sec-CH-UA` header.") | ||
</script> |
41 changes: 41 additions & 0 deletions
41
tests/wpt/web-platform-tests/client-hints/sec-ch-ua.https.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,41 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script> | ||
var minor = ""; | ||
promise_test(t => { | ||
return new Promise((resolve, reject) => { | ||
var w; | ||
window.onmessage = e => { | ||
try { | ||
assert_not_equals(e.data.header, "", "The `Sec-CH-UA` header is delivered."); | ||
minor = e.data.header; | ||
} catch (ex) { | ||
reject(ex); | ||
} | ||
w.close(); | ||
resolve(); | ||
}; | ||
w = window.open("./resources/sec-ch-ua.py"); | ||
}); | ||
}, "Open HTTPS window prior to opt-in: `Sec-CH-UA` header with minor version.") | ||
|
||
promise_test(t => { | ||
return new Promise((resolve, reject) => { | ||
var w; | ||
window.onmessage = e => { | ||
try { | ||
assert_not_equals(e.data.header, "", "The `Sec-CH-UA` header is delivered."); | ||
assert_not_equals(e.data.header, minor, "The `Sec-CH-UA` header is different after the opt-in than before."); | ||
} catch (ex) { | ||
reject(ex); | ||
} | ||
w.close(); | ||
resolve(); | ||
}; | ||
w = window.open("./resources/sec-ch-ua.py"); | ||
}); | ||
}, "Open HTTPS window post-opt-in: `Sec-CH-UA` header with minor version.") | ||
</script> | ||
</head> |
30 changes: 30 additions & 0 deletions
30
tests/wpt/web-platform-tests/css/css-tables/subpixel-collapsed-borders-001.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,30 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#collapsing-borders"> | ||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm"> | ||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606"> | ||
<link rel="match" href="subpixel-collapsed-borders-ref.html"> | ||
<meta name="flags" content="" /> | ||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins." /> | ||
|
||
<style> | ||
table { | ||
border: 5px solid green; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
width: 50px; | ||
height: 50px; | ||
border: 4.95px solid red; | ||
} | ||
</style> | ||
|
||
<p>There should be a square with a green border, not a red border. | ||
</p> | ||
|
||
<table> | ||
<tr> | ||
<td></td> | ||
</tr> | ||
</table> |
30 changes: 30 additions & 0 deletions
30
tests/wpt/web-platform-tests/css/css-tables/subpixel-collapsed-borders-002.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,30 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#collapsing-borders"> | ||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm"> | ||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606"> | ||
<link rel="match" href="subpixel-collapsed-borders-ref.html"> | ||
<meta name="flags" content="" /> | ||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins even when the cell border is merely 0.01 pixels narrower" /> | ||
|
||
<style> | ||
table { | ||
border: 5px solid green; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
width: 50px; | ||
height: 50px; | ||
border: 4.99px solid red; | ||
} | ||
</style> | ||
|
||
<p>There should be a square with a green border, not a red border. | ||
</p> | ||
|
||
<table> | ||
<tr> | ||
<td></td> | ||
</tr> | ||
</table> |
22 changes: 22 additions & 0 deletions
22
tests/wpt/web-platform-tests/css/css-tables/subpixel-collapsed-borders-003-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,22 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
table { | ||
border: 5.95px solid green; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
width: 50px; | ||
height: 50px; | ||
border: 1px solid red; | ||
} | ||
</style> | ||
|
||
<p>There should be a square with a green border, not a red border. | ||
</p> | ||
|
||
<table> | ||
<tr> | ||
<td></td> | ||
</tr> | ||
</table> |
30 changes: 30 additions & 0 deletions
30
tests/wpt/web-platform-tests/css/css-tables/subpixel-collapsed-borders-003.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,30 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#collapsing-borders"> | ||
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#border-conflict-resolution-algorithm"> | ||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/606"> | ||
<link rel="match" href="subpixel-collapsed-borders-003-ref.html"> | ||
<meta name="flags" content="" /> | ||
<meta name="assert" content="When collapsed border tables have border widths larger than cells', the table border wins even when the floored table border is the same size as the cell's." /> | ||
|
||
<style> | ||
table { | ||
border: 5.95px solid green; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
width: 50px; | ||
height: 50px; | ||
border: 5px solid red; | ||
} | ||
</style> | ||
|
||
<p>There should be a square with a green border, not a red border. | ||
</p> | ||
|
||
<table> | ||
<tr> | ||
<td></td> | ||
</tr> | ||
</table> |
22 changes: 22 additions & 0 deletions
22
tests/wpt/web-platform-tests/css/css-tables/subpixel-collapsed-borders-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,22 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
table { | ||
border: 5px solid green; | ||
border-collapse: collapse; | ||
} | ||
|
||
td { | ||
width: 50px; | ||
height: 50px; | ||
border: 1px solid red; | ||
} | ||
</style> | ||
|
||
<p>There should be a square with a green border, not a red border. | ||
</p> | ||
|
||
<table> | ||
<tr> | ||
<td></td> | ||
</tr> | ||
</table> |
Oops, something went wrong.