mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
|
||||
<title>CSS Text — line breaking sanity check</title>
|
||||
<meta content="sanity check: an unstyled span should not affect line breaking" name="assert" />
|
||||
<link href="https://www.w3.org/TR/css-text-3/#line-break-details" rel="help" />
|
||||
<link href="reference/line-breaking-001-ref.xht" rel="match" />
|
||||
<link href="http://florian.rivoal.net" rel="author" title="Florian Rivoal" />
|
||||
<style>
|
||||
div {
|
||||
color:green;
|
||||
width: 1em;
|
||||
line-height: 1em;
|
||||
font-family: ahem;
|
||||
white-space: normal;
|
||||
font-size: 20px;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
}
|
||||
.fail {
|
||||
color: red;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 1em;
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p>There should be a green rectangle and no red.</p>
|
||||
<div class="container">
|
||||
<div><span>X​</span>X</div>
|
||||
<div class="fail">X</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue