mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'c9946198c9ee19db3b4974a388fae45da844a94a'
This commit is contained in:
parent
8dfd613aa1
commit
06e9d5a631
366 changed files with 8783 additions and 2336 deletions
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference for trimming block-boxes at their first/last formatted lines</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<link rel="match" href="text-box-trim-half-leading-inline-box-001-ref.html">
|
||||
|
||||
<style>
|
||||
.div-parent {
|
||||
outline: 1px solid orange;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
text-box-trim: both;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class ="div-parent"">
|
||||
<div id="d1"></div>
|
||||
<div id="d2">Testline1<br><br><br>Testline2<br><br><br>Testline3</div>
|
||||
</div>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Tests block boxes's edges are trimmed at text-over/text-under baselines of their first/last formatted lines</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<link rel="match" href="text-box-trim-half-leading-inline-box-001-ref.html">
|
||||
|
||||
<style>
|
||||
.div-parent {
|
||||
outline: 1px solid orange;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 3;
|
||||
text-box-trim: both;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class ="div-parent"">
|
||||
<div id="d1"></div>
|
||||
<div id="d2">Testline1<br>Testline2<br>Testline3</div>
|
||||
</div>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference for trimming multi-line text in inline boxes</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid orange;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
span {
|
||||
border: 1px solid blue;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<span>Testline1<br><br><br>TestLine2<br><br><br>TestLine3</span>
|
||||
</div>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Tests inline boxes with multi-line text are trimmed at text-over/text-under baselines</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#leading-trim">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<link rel="match" href="text-box-trim-half-leading-inline-box-001-ref.html">
|
||||
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid orange;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
span {
|
||||
border: 1px solid blue;
|
||||
font-family: Ahem;
|
||||
font-size: 20px;
|
||||
line-height: 3;
|
||||
text-box-trim: both;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<span>Testline1<br>TestLine2<br>TestLine3</span>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue