Update web-platform-tests to revision 1b0f824f9ef09f035d2549ab4f6c92131ba62c0f

This commit is contained in:
WPT Sync Bot 2020-10-14 08:21:08 +00:00
parent 605c4b099a
commit 0554d61f26
85 changed files with 596 additions and 145 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragi…
</div>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<meta name="assert" content="This ensures that an end self-collapsing block contributes to the scrollable overflow correctly.">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.target')">
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="110">
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
<div></div> <!-- self-collapsing -->
</div>
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="150">
<div style="width: 50px; height: 100px; margin-bottom: 10px; background: lime;"></div>
<div style="margin-bottom: 50px;"></div> <!-- self-collapsing -->
</div>
<div class="target" style="width: 100px; height: 100px; overflow: scroll;" data-expected-scroll-height="180">
<div style="width: 50px; height: 100px; margin-bottom: 30px; background: lime;"></div>
<div style="margin-bottom: 100px;"> <!-- self-collapsing -->
<div style="margin-top: -20px;"></div>
</div>
</div>
<div id=log></div>
</body>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="reference/webkit-line-clamp-036-ref.html">
<meta name="assert" content="text-overflow: ellipsis shouldn't apply within a -webkit-line-clamp context.">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="reference/webkit-line-clamp-037-ref.html">
<meta name="assert" content="text-overflow: ellipsis shouldn't apply within a -webkit-line-clamp context.">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
width: 150px;
font: 16px / 32px monospace;
background-color: yellow;
padding: 4px;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<div class="clamp">
supercalifragilisticexpialidocious
supercalifragilisticexpialidocious
</div>