Update web-platform-tests to revision b'a3cb53d786edfd9106825e312866624150382075'

This commit is contained in:
WPT Sync Bot 2023-04-23 01:33:06 +00:00
parent 9acb9cc5cf
commit 40def0914a
549 changed files with 16001 additions and 1815 deletions

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
<style>
.multicol {
column-count: 2;
column-gap: 0;
column-fill: auto;
width: 200px;
border: 5px solid gray;
height: 0px;
}
.flexbox {
position: relative
}
.flexbox > div {
position: absolute;
width: 50px;
contain: size;
}
</style>
<div class="multicol">
<div class="flexbox">
<div style="height: 10px; background: pink; left: 100px;"></div>
<div style="height: 20px; background: orange; left: 50px;"></div>
</div>
</div>
</html>

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Test that the first flex item is pushed to the second column due to insufficient space, and the browser shouldn't create infinite columns.</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1827582">
<link rel="match" href="single-line-row-flex-fragmentation-044-ref.html">
<style>
.multicol {
column-count: 2;
column-gap: 0;
column-fill: auto;
width: 200px;
border: 5px solid gray;
height: 0px;
}
.flexbox {
display: flex;
width: 100px;
}
.flexbox > div {
width: 50px;
contain: size;
}
</style>
<div class="multicol">
<div class="flexbox">
<!-- To reproduce the bug, the first item should have margin-top, and its
block-end should be smaller than the second item's block-end. -->
<div style="height: 10px; background: pink; margin-top: 5px;"></div>
<div style="height: 20px; background: orange"></div>
</div>
</div>
</html>

View file

@ -0,0 +1,120 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
.container {
float: left;
margin: 10px;
text-align: center;
inline-size: fit-content;
}
.multicol {
inline-size: 320px;
block-size: 120px;
border: solid;
background: lightgray;
}
.column {
float: left;
inline-size: 100px;
margin-inline-start: 10px;
}
.column:first-child {
margin-inline-start:0;
}
.clipper {
position: relative;
border-radius: 50px;
border: 20px solid blue;
overflow: clip;
background: red;
}
.clipper.part1 {
block-size: 100px;
border-block-end: none;
border-end-start-radius: 0;
border-end-end-radius: 0;
}
.clipper.part2 {
block-size: 120px;
border-block-start: none;
border-block-end: none;
border-radius: 0;
}
.clipper.part3 {
block-size: 80px;
border-block-start: none;
border-start-start-radius: 0;
border-start-end-radius: 0;
}
.child {
block-size: 300px;
background: yellow;
}
</style>
<p>In each figure there should be a yellow box with a rounded blue border around
it, split into three columns. There should be no red.</p>
<div class="container">
horizontal-tb:
<div class="multicol">
<div class="column">
<div class="clipper part1">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part2">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part3">
<div class="child"></div>
</div>
</div>
</div>
</div>
<div class="container">
vertical-rl:
<div class="multicol" style="writing-mode:vertical-rl;">
<div class="column">
<div class="clipper part1">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part2">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part3">
<div class="child"></div>
</div>
</div>
</div>
</div>
<div class="container">
vertical-lr:
<div class="multicol" style="writing-mode:vertical-lr;">
<div class="column">
<div class="clipper part1">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part2">
<div class="child"></div>
</div>
</div>
<div class="column">
<div class="clipper part3">
<div class="child"></div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,64 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1433413">
<link rel="match" href="rounded-clipped-border-ref.html">
<meta name="fuzzy" content="maxDifference=0-15;totalPixels=0-900">
<style>
.container {
float: left;
margin: 10px;
text-align: center;
inline-size: fit-content;
}
.multicol {
columns: 3;
column-fill: auto;
gap: 10px;
inline-size: 320px;
block-size: 120px;
border: solid;
background: lightgray;
}
.clipper {
block-size: 300px;
border-radius: 50px;
border: 20px solid blue;
overflow: clip;
background: red;
}
.child {
block-size: 300px;
background: yellow;
}
</style>
<p>In each figure there should be a yellow box with a rounded blue border around
it, split into three columns. There should be no red.</p>
<div class="container">
horizontal-tb:
<div class="multicol">
<div class="clipper">
<div class="child"></div>
</div>
</div>
</div>
<div class="container">
vertical-rl:
<div class="multicol" style="writing-mode:vertical-rl;">
<div class="clipper">
<div class="child"></div>
</div>
</div>
</div>
<div class="container">
vertical-lr:
<div class="multicol" style="writing-mode:vertical-lr;">
<div class="clipper">
<div class="child"></div>
</div>
</div>
</div>