Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98

This commit is contained in:
WPT Sync Bot 2020-04-02 08:23:57 +00:00
parent e47e884cc7
commit 6b740f0283
328 changed files with 3757 additions and 591 deletions

View file

@ -0,0 +1,13 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Reference</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
div {
background-color: green;
display: inline-block;
vertical-align: top;
font-family: Ahem;
}
</style>
<div><span>ABC</span><span style="visibility: hidden"></span></div>

View file

@ -0,0 +1,23 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS reference</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
#parent {
display: inline-block;
background: green;
}
#clamp {
font-family: Ahem;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden; /* can be removed once implementations update their old -webkit-line-clamp implementations */
}
</style>
<div id="parent">
<div id="clamp">
AAA<br>
BBB<br>
CCC<span style="visibility: hidden"></span>
</div>
</div>

View file

@ -0,0 +1,25 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: text-overflow with visibility: hidden; and visibility: visible; descendant</title>
<link rel="author" title="Tim Nguyen" href="mailto:ntim.bugs@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#ellipsing-details">
<link rel="match" href="reference/text-overflow-ellipsis-002-ref.html">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
#parent {
background-color: green;
display: inline-block;
vertical-align: top;
font-family: Ahem;
}
#element {
visibility: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 4ch;
overflow: hidden;
}
</style>
<div id="parent">
<div id="element"><span style="visibility: visible">ABCABCABCABC</span></div>
</div>

View file

@ -0,0 +1,22 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: -webkit-line-clamp with visibility: hidden;</title>
<link rel="author" title="Tim Nguyen" href="mailto:ntim.bugs@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="/css/reference/blank.html">
<style>
#clamp {
visibility: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden; /* can be removed once implementations update their old -webkit-line-clamp implementations */
}
</style>
<div id="clamp">
AAAAAAAAA<br>
BBBBBBBBB<br>
CCCCCCCCC<br>
DDDDDDDDD<br>
EEEEEEEEE
</div>

View file

@ -0,0 +1,33 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: -webkit-line-clamp with visibility: hidden; and visibility: visible; descendant</title>
<link rel="author" title="Tim Nguyen" href="mailto:ntim.bugs@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="reference/webkit-line-clamp-035-ref.html">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
#parent {
display: inline-block;
background: green;
}
#clamp {
font-family: Ahem;
visibility: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
width: 4ch;
overflow: hidden; /* can be removed once implementations update their old -webkit-line-clamp implementations */
}
</style>
<div id="parent">
<div id="clamp">
<span style="visibility: visible">
AAA<br>
BBB<br>
CCCCCCCCC<br>
DDDDDDDDD<br>
EEEEEEEEE
</span>
</div>
</div>