mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 1b0f824f9ef09f035d2549ab4f6c92131ba62c0f
This commit is contained in:
parent
605c4b099a
commit
0554d61f26
85 changed files with 596 additions and 145 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue