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

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
</head>
<body>
<p>Test passes if there is <strong>no red</strong>.</p>
</body>
</html>

View file

@ -3,8 +3,7 @@
<title>CSS Reference</title>
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
display: block;
font: 16px / 32px serif;
white-space: pre;
padding: 0 4px;
@ -12,6 +11,8 @@
}
</style>
<div class="clamp"><div>Line 1
Line 2…</div><div>Line A
Line B…</div>Line 一
Line 2
Line 3</div><div>Line A
Line B
Line C</div>Line 一
Line 二…</div>

View file

@ -3,8 +3,8 @@
<title>CSS Reference</title>
<style>
.clamp {
display: -webkit-inline-box;
-webkit-box-orient: vertical;
display: inline-block;
overflow: hidden;
font: 16px / 32px monospace;
white-space: pre;
padding: 0 4px;

View file

@ -3,8 +3,7 @@
<title>CSS Reference</title>
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
display: block;
font: 16px / 32px monospace;
white-space: pre;
background-color: yellow;
@ -15,5 +14,7 @@
</style>
<div class="clamp"><div class="child">Line 1
Line 2
Line 3…</div></div>
Line 3
Line 4
Line 5</div></div>
<p>Following content.</p>

View file

@ -9,8 +9,7 @@
}
#clamp {
font-family: Ahem;
display: -webkit-box;
-webkit-box-orient: vertical;
display: block;
overflow: hidden; /* can be removed once implementations update their old -webkit-line-clamp implementations */
}
</style>

View file

@ -4,7 +4,7 @@
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
width: 150px;
width: 10ch;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
@ -13,5 +13,5 @@
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragi
supercali…
</div>

View file

@ -0,0 +1,16 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
.clamp {
font: 16px / 32px serif;
white-space: pre;
background-color: yellow;
height: 5em;
}
</style>
<div class="clamp">Line 1
Line 2…
Line 3
Line 4
Line 5</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<style>
.clamp {
display: -webkit-inline-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
</style>
<body>
<div class="clamp">
1<br>
2<br>
<div>3</div>
4<br>
5
</div>
</body>