mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision b'6aa16a6888fcf6dd3ee2eac2e911c2d7c353d193'
This commit is contained in:
parent
d577d4489a
commit
ea44238f3a
411 changed files with 9896 additions and 468 deletions
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Reference for trimming 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;
|
||||
text-box-trim: both;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<span>Test</span>
|
||||
</div>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Tests inline boxes 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>Test</span>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue