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 d04c0d50dbbf7752c27957005a5a659…
…701b781ad
- Loading branch information
1 parent
ff58cb0
commit 44c252a
Showing
56 changed files
with
1,921 additions
and
67 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-values/vh_not_refreshing_on_chrome.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,2 @@ | ||
[vh_not_refreshing_on_chrome.html] | ||
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
15 changes: 15 additions & 0 deletions
15
tests/wpt/web-platform-tests/css/CSS2/floats/zero-space-between-floats-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,15 @@ | ||
<!DOCTYPE html> | ||
<title>A zero-width new formatting context should fit in a zero-width layout opportunity between floats</title> | ||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/check-layout-th.js"></script> | ||
<div id="container" style="position:relative; width:200px;"> | ||
<div style="float:left; width:100px; height:200px;"></div> | ||
<div style="float:right; width:100px; height:200px;"></div> | ||
<div data-offset-x="100" data-offset-y="0" style="overflow:hidden; width:0; height:200px;"></div> | ||
</div> | ||
<script> | ||
checkLayout("#container"); | ||
</script> |
16 changes: 16 additions & 0 deletions
16
tests/wpt/web-platform-tests/css/CSS2/floats/zero-space-between-floats-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,16 @@ | ||
<!DOCTYPE html> | ||
<title>A zero-width new formatting context should fit in a zero-width layout opportunity between floats, above a 100% wide float</title> | ||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/check-layout-th.js"></script> | ||
<div id="container" style="position:relative; width:200px;"> | ||
<div style="float:left; width:100px; height:200px;"></div> | ||
<div style="float:right; width:100px; height:200px;"></div> | ||
<div style="float:right; width:100%; height:10px;"></div> | ||
<div data-offset-x="100" data-offset-y="0" style="overflow:hidden; width:0; height:200px;"></div> | ||
</div> | ||
<script> | ||
checkLayout("#container"); | ||
</script> |
16 changes: 16 additions & 0 deletions
16
tests/wpt/web-platform-tests/css/CSS2/floats/zero-space-between-floats-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,16 @@ | ||
<!DOCTYPE html> | ||
<title>Zero-width new formatting context with clearance</title> | ||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/check-layout-th.js"></script> | ||
<div id="container" style="position:relative; width:200px;"> | ||
<div style="float:left; width:100px; height:100px;"></div> | ||
<div style="float:right; width:100px; height:100px;"></div> | ||
<div style="float:right; width:100%; height:100px;"></div> | ||
<div data-offset-x="0" data-offset-y="100" style="overflow:hidden; clear:left; width:0;"></div> | ||
</div> | ||
<script> | ||
checkLayout("#container"); | ||
</script> |
16 changes: 16 additions & 0 deletions
16
tests/wpt/web-platform-tests/css/CSS2/floats/zero-space-between-floats-004.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> | ||
<title>Zero-width new formatting context with clearance</title> | ||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/resources/check-layout-th.js"></script> | ||
<div id="container" style="position:relative; width:200px;"> | ||
<div style="float:left; width:100px; height:100px;"></div> | ||
<div style="float:right; width:100px; height:100px;"></div> | ||
<div style="float:right; width:100%; height:100px;"></div> | ||
<div data-offset-x="0" data-offset-y="200" style="overflow:hidden; clear:right; width:0;"></div> | ||
</div> | ||
<script> | ||
checkLayout("#container"); | ||
</script> |
12 changes: 12 additions & 0 deletions
12
tests/wpt/web-platform-tests/css/CSS2/fonts/font-weight-100-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,12 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Reference</title> | ||
<link rel="author" title="Mike Bremford" href="http://bfo.com"> | ||
<style> | ||
div { font-weight: 100 } | ||
</style> | ||
<body> | ||
<p>Test passes if the lines of "Filler Text" below match.</p> | ||
<div>Filler Text</div> | ||
<div>Filler Text</div> | ||
</body> |
12 changes: 12 additions & 0 deletions
12
tests/wpt/web-platform-tests/css/CSS2/fonts/font-weight-900-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,12 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Reference</title> | ||
<link rel="author" title="Mike Bremford" href="http://bfo.com"> | ||
<style> | ||
div { font-weight: 900 } | ||
</style> | ||
<body> | ||
<p>Test passes if the lines of "Filler Text" below match.</p> | ||
<div>Filler Text</div> | ||
<div>Filler Text</div> | ||
</body> |
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
19 changes: 19 additions & 0 deletions
19
tests/wpt/web-platform-tests/css/css-cascade/important-prop-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,19 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Cascade Green Right Square Reference File</title> | ||
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk"> | ||
<style> | ||
#success { | ||
width: 100px; | ||
height: 100px; | ||
background-color: green; | ||
} | ||
</style> | ||
<body> | ||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> | ||
|
||
<div> | ||
<div id="success"></div> | ||
</div> | ||
</body> | ||
</html> |
32 changes: 32 additions & 0 deletions
32
tests/wpt/web-platform-tests/css/css-cascade/important-prop.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,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Cascade: Important</title> | ||
<link rel="author" title="David Burns" href="http://www.theautomatedtester.co.uk"> | ||
<link rel="help" href="https://drafts.csswg.org/css-cascade/#importance"> | ||
<link rel="match" href="important-prop-ref.html"> | ||
<meta name="flags" content=""> | ||
<style> | ||
@keyframes override{ | ||
from, to{background-color: #f00;} | ||
} | ||
|
||
.square { | ||
color:#00f; | ||
animation: override 1s infinite; | ||
width: 100px; | ||
height: 100px; | ||
} | ||
.green { | ||
background-color:green !important; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> | ||
|
||
<div class="square green"></div> | ||
|
||
</body> | ||
</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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
@yunxiaoxie | ||
@nattokirai | ||
@litherum | ||
@drott |
66 changes: 66 additions & 0 deletions
66
tests/wpt/web-platform-tests/css/css-multicol/multicol-breaking-000-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,66 @@ | ||
<!DOCTYPE HTML> | ||
<title>CSS Test Reference: breaking of a multicolumn</title> | ||
<meta charset="utf-8"> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org/"> | ||
<style> | ||
|
||
.outer { | ||
height: 100px; | ||
width: 800px; | ||
background: rgba(0, 0, 255, 0.3); | ||
position: relative; | ||
} | ||
|
||
.blueborders { | ||
position: absolute; | ||
top: 0; | ||
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */ | ||
width: 200px; /* 188px second column + (16px gap - 4px rule) */ | ||
height: 100px; | ||
border-right: blue solid 4px; | ||
border-left: blue solid 4px; | ||
} | ||
|
||
.innerbg { | ||
height: 100px; | ||
width: 188px; | ||
background: rgba(255, 0, 255, 0.3); | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
.inner { | ||
height: 100px; | ||
width: 86px; | ||
font: 16px/1.25 sans-serif; | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
.lefthalf { | ||
border-right: 2px solid fuchsia; | ||
padding-right: 7px; | ||
} | ||
|
||
.righthalf { | ||
padding-left: 7px; | ||
} | ||
|
||
</style> | ||
|
||
<div class="outer"> | ||
<div class="blueborders"></div> | ||
<div class="innerbg" style="left: 0"></div> | ||
<div class="inner lefthalf" style="left: 0; height: 60px"> | ||
AAAAA<br> | ||
BBBBB<br> | ||
CCCCC | ||
</div> | ||
<div class="inner righthalf" style="left: 95px"> | ||
DDDDD<br> | ||
EEEEE | ||
</div> | ||
<div class="innerbg" style="left: 204px"></div> | ||
<div class="innerbg" style="left: 408px"></div> | ||
</div> |
39 changes: 39 additions & 0 deletions
39
tests/wpt/web-platform-tests/css/css-multicol/multicol-breaking-000.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,39 @@ | ||
<!DOCTYPE HTML> | ||
<title>CSS Test: breaking of a multicolumn</title> | ||
<meta charset="utf-8"> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#column-gaps-and-rules"> | ||
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cf"> | ||
<link rel="match" href="multicol-breaking-000-ref.html"> | ||
<style> | ||
|
||
.outer { | ||
height: 100px; | ||
column-fill: auto; | ||
width: 800px; | ||
column-count: 4; | ||
column-rule: 4px solid blue; | ||
column-gap: 16px; | ||
background: rgba(0, 0, 255, 0.3); | ||
} | ||
|
||
.inner { | ||
column-count: 2; | ||
column-rule: 2px solid fuchsia; | ||
column-gap: 16px; | ||
background: rgba(255, 0, 255, 0.3); | ||
font: 16px/1.25 sans-serif; | ||
} | ||
|
||
</style> | ||
|
||
<div class="outer"> | ||
<div class="inner" style="height: 300px"> | ||
AAAAA<br> | ||
BBBBB<br> | ||
CCCCC<br> | ||
DDDDD<br> | ||
EEEEE<br> | ||
</div> | ||
</div> |
82 changes: 82 additions & 0 deletions
82
tests/wpt/web-platform-tests/css/css-multicol/multicol-breaking-001-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,82 @@ | ||
<!DOCTYPE HTML> | ||
<title>CSS Test Reference: breaking of a multicolumn</title> | ||
<meta charset="utf-8"> | ||
<link rel="author" title="L. David Baron" href="https://dbaron.org/"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org/"> | ||
<style> | ||
|
||
.outer { | ||
height: 100px; | ||
width: 800px; | ||
background: rgba(0, 0, 255, 0.3); | ||
position: relative; | ||
} | ||
|
||
.blueborders { | ||
position: absolute; | ||
top: 0; | ||
left: 194px; /* 188px first column + (16px gap - 4px rule) / 2 */ | ||
width: 200px; /* 188px second column + (16px gap - 4px rule) */ | ||
height: 100px; | ||
border-right: blue solid 4px; | ||
border-left: blue solid 4px; | ||
} | ||
|
||
.innerbg { | ||
height: 100px; | ||
width: 188px; | ||
background: rgba(255, 0, 255, 0.3); | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
.inner { | ||
height: 100px; | ||
width: 86px; | ||
font: 16px/1.25 sans-serif; | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
.lefthalf { | ||
border-right: 2px solid fuchsia; | ||
padding-right: 7px; | ||
} | ||
|
||
.righthalf { | ||
padding-left: 7px; | ||
} | ||
|
||
</style> | ||
|
||
<div class="outer"> | ||
<div class="blueborders"></div> | ||
<div class="innerbg" style="left: 0"></div> | ||
<div class="inner lefthalf" style="left: 0"> | ||
AAAAA<br> | ||
BBBBB<br> | ||
CCCCC<br> | ||
DDDDD<br> | ||
EEEEE | ||
</div> | ||
<div class="inner righthalf" style="left: 95px"> | ||
FFFFF<br> | ||
GGGGG<br> | ||
HHHHH<br> | ||
IIIII<br> | ||
JJJJJ | ||
</div> | ||
<div class="innerbg" style="left: 204px"></div> | ||
<div class="inner lefthalf" style="left: 204px; height: 80px"> | ||
KKKKK<br> | ||
LLLLL<br> | ||
MMMMM<br> | ||
NNNNN | ||
</div> | ||
<div class="inner righthalf" style="left: 299px"> | ||
OOOOO<br> | ||
PPPPP<br> | ||
QQQQQ<br> | ||
</div> | ||
<div class="innerbg" style="left: 408px"></div> | ||
</div> |
Oops, something went wrong.