author | Morten Stenshorne <mstensho@chromium.org> |
Sat, 17 Jul 2021 09:50:58 +0000 | |
changeset 585994 | b37f2b8cbccc6e7aa0b4b8d8f6714c2d9c1fd97c |
parent 585993 | 8d707b5182d7968e8a116309dc3f2ae59c33ba37 |
child 585995 | 6f611bde040eeadbae8b5b1e4804f8cf5d4ec8b3 |
push id | 38625 |
push user | archaeopteryx@coole-files.de |
push date | Tue, 20 Jul 2021 09:46:04 +0000 |
treeherder | mozilla-central@d71ea8ccda7b [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1718778, 29543, 1224888, 1225304, 1043787, 1205685, 2996982, 901004 |
milestone | 92.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/abspos-in-opacity-000-ref.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<p>There should be a purple square below.</p> +<div style="width:100px; height:100px; background:blue;"> + <div style="opacity:0.5;"> + <div style="width:100px; height:100px; background:red;"></div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/abspos-in-opacity-000.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="match" href="abspos-in-opacity-000-ref.html"> +<p>There should be a purple square below.</p> +<div style="columns:2; column-gap:0; column-fill:auto; width:100px; height:100px; background:blue;"> + <div style="opacity:0.5;"> + <div style="position:absolute; width:100px; height:100px; background:red;"></div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/abspos-in-opacity-001-ref.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<p>There should be a purple square below.</p> +<div style="width:100px; height:100px; background:blue;"> + <div style="opacity:0.5;"> + <div style="width:100px; height:100px; background:red;"></div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/abspos-in-opacity-001.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="match" href="abspos-in-opacity-001-ref.html"> +<p>There should be a purple square below.</p> +<div style="columns:2; column-gap:0; column-fill:auto; width:100px; height:100px; background:blue;"> + <div style="position:relative;"> + <div style="opacity:0.5; height:200px;"> + <div style="position:absolute; width:50px; height:200px; background:red;"></div> + </div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/change-inline-color-ref.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<style> + .fakecolumn { + width: 1em; + text-align: center; + } +</style> +<p>The word PASS should be seen below.</p> +<div style="display:flex; color:green;"> + <div class="fakecolumn">P</div> + <div class="fakecolumn">A</div> + <div class="fakecolumn">S</div> + <div class="fakecolumn">S</div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/change-inline-color.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="match" href="change-inline-color-ref.html"> +<p>The word PASS should be seen below.</p> +<div style="columns:4; width:4em; text-align:center; column-gap:0; orphans:1; widows:1; color:white;"> + <span id="span"> + P A S S + </span> +</div> +<script> + requestAnimationFrame(()=> { + requestAnimationFrame(()=> { + span.style.color = "green"; + }); + }); +</script>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/contain-strict-with-opacity-and-oof-ref.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<p>There should be a (pale) green square below, and no (pale) red.</p> +<div style="will-change:transform; contain:strict; width:100px; height:100px;"> + <div style="opacity:0.2; width:100px; height:100px;"> + <div style="width:100px; height:100px; background:green;"></div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/contain-strict-with-opacity-and-oof.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="match" href="contain-strict-with-opacity-and-oof-ref.html"> +<p>There should be a (pale) green square below, and no (pale) red.</p> +<div style="columns:3; margin-top:-50px; column-fill:auto; height:200px;"> + <div style="height:50px;"></div> + <div style="will-change:transform; contain:strict; width:100px; height:100px;"> + <div style="opacity:0.2; width:100px; height:100px; background:red;"> + <div style="position:absolute; width:100px; height:100px; background:green;"></div> + </div> + </div> +</div>
--- a/testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-035.html +++ b/testing/web-platform/tests/css/css-break/out-of-flow-in-multicolumn-035.html @@ -6,17 +6,18 @@ <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> <style> .multicol { column-count: 2; column-fill: auto; column-gap: 0px; height: 100px; width: 100px; - margin-left: -200px; + margin-left: -250px; + margin-top: -50px; } .abs { position: absolute; width: 50px; height: 200px; top: 0px; background: red; } @@ -26,15 +27,15 @@ height: 200px; top: 0px; background: green; } </style> <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> <div class="multicol"> <div style="height: 400px;"></div> - <div style="transform: translateX(0);"> + <div style="transform: translate(50px,50px); "> <div style="height: 200px;"></div> <div class="abs"> <div class="fixed"></div> </div> </div> </div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/transform-008-ref.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<style> + .fakecolumn { + width: 100px; + height: 100px; + } + .relpos { + position: relative; + top: 50px; + left: 50px; + width: 50px; + } + .transform { + transform: rotate(45deg); + height: 100%; + } + .abspos { + position: absolute; + width: 100%; + height: 100%; + background: green; + } +</style> +<p>Below there should be two green squares, and one green rectangle between + them. They should all be rotated.</p> +<div style="display:flex;"> + <div class="fakecolumn"> + <div class="relpos" style="margin-top:50px; height:50px;"> + <div class="transform"> + <div class="abspos"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos" style="height:100px;"> + <div class="transform"> + <div class="abspos"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos" style="height:50px;"> + <div class="transform"> + <div class="abspos"></div> + </div> + </div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/transform-008.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> +<link rel="match" href="transform-008-ref.html"> +<style> + .relpos { + position: relative; + top: 50px; + left: 50px; + width: 50px; + } + .transform { + transform: rotate(45deg); + height: 200px; + } + .abspos { + position: absolute; + width: 100%; + height: 100%; + background: green; + } +</style> +<p>Below there should be two green squares, and one green rectangle between + them. They should all be rotated.</p> +<div style="columns:3; column-gap:0; column-fill:auto; width:300px; height:100px;"> + <div class="relpos" style="margin-top:50px;"> + <div class="transform"> + <div class="abspos"></div> + </div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/transform-009-ref.html @@ -0,0 +1,71 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> +<style> + .fakecolumn { + width: 100px; + height: 100px; + } + .relpos { + position: relative; + width: 30px; + top: 50px; + left: 50px; + } + .transform { + transform: rotate(45deg); + height: 100%; + } + .abspos { + position: absolute; + width: 100%; + height: 100%; + background: green; + } +</style> +<p>Below there should be six rotated green rectangles (not all with the same + size).</p> +<div style="display:flex;"> + <div class="fakecolumn"> + <div class="relpos" style="margin-top:50px;"> + <div class="transform" style="height:0;"> + <div class="abspos" style="height:50px;"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos"> + <div class="transform" style="height:0;"> + <div class="abspos" style="height:100px;"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos" style="margin-top:50px;"> + <div class="transform" style="height:50px;"> + <div class="abspos" style="top:-50px; height:100px;"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos"> + <div class="transform" style="height:100px;"> + <div class="abspos"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos"> + <div class="transform" style="height:0;"> + <div class="abspos" style="height:100px;"></div> + </div> + </div> + </div> + <div class="fakecolumn"> + <div class="relpos"> + <div class="transform" style="height:0;"> + <div class="abspos" style="height:50px;"></div> + </div> + </div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/transform-009.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> +<link rel="match" href="transform-009-ref.html"> +<style> + .relpos { + position: relative; + width: 30px; + top: 50px; + left: 50px; + } + .transform { + transform: rotate(45deg); + height: 150px; + } + .abspos { + position: absolute; + width: 100%; + height: 500px; + top: -200px; + background: green; + } +</style> +<p>Below there should be six rotated green rectangles (not all with the same + size).</p> +<div style="columns:5; column-gap:0; column-fill:auto; width:500px; height:100px;"> + <div style="height:250px;"></div> + <div class="relpos"> + <div class="transform"> + <div class="abspos"></div> + </div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/spanner-in-opacity-ref.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<p>Test passes if there is a purple square below.</p> +<div style="width:100px; background:blue;"> + <div style="opacity:0.5;"> + <div style="height:100px; background:red;"></div> + </div> +</div>
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/spanner-in-opacity.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/"> +<link rel="match" href="spanner-in-opacity-ref.html"> +<p>Test passes if there is a purple square below.</p> +<div style="columns:2; column-fill:auto; column-gap:0; width:100px; background:blue;"> + <div style="opacity:0.5;"> + <div style="column-span:all; height:100px; background:red;"></div> + </div> +</div>