Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html, body, p {
margin: 0;
width: 300px;
height: 200px;
}
</style>
<p>Test passes if there is no red.

View file

@ -0,0 +1,15 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test referemce</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html, body, p, div {
margin: 0;
width: 200px;
height: 200px;
}
</style>
<p>Test passes if there is no red.

View file

@ -0,0 +1,35 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html {
writing-mode: vertical-lr;
direction: rtl;
width: 100vw;
height: 100vh;
overflow: hidden;
}
body {
margin: 0;
border-top: 100px solid red;
border-bottom: 100px solid green;
width: 100vw;
height: 100vh;
}
div {
text-orientation: upright;
}
p {
margin: auto;
padding: 150px 0;
writing-mode: horizontal-tb;
direction: ltr;
}
</style>
<div>
<p>Test passes if there is no red.
</div>

View file

@ -0,0 +1,23 @@
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html::before {
content: "";
width: 100px;
height: 100px;
background: orange;
display: block;
}
body { margin: 0; }
p {
margin: 0;
width: 200px;
height: 200px;
}
</style>
<p>Test passes if the orange square is in the upper-left corner.

View file

@ -20,8 +20,8 @@
}
</style>
<p>Test passes if there is a filled green square, no red and the number 25.
<p>Test passes if there is a filled green square, no red and the number 17.
<div id="green-square"></div>
<div id="result">25</div>
<div id="result">17</div>

View file

@ -18,6 +18,6 @@
}
</style>
<p>Test passes if there is the number 26.
<p>Test passes if there is the number 17.
<div>26</div>
<div>17</div>