mirror of
https://github.com/servo/servo.git
synced 2025-09-01 18:48:23 +01:00
Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623
This commit is contained in:
parent
ec408e9a57
commit
5a5336aaf0
1981 changed files with 64719 additions and 2377 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#clearance">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#collapsing-margins">
|
||||
<link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#phantom-line-box">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1003810">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div style="overflow:hidden;">
|
||||
<div id="first" style="height:100px;"></div>
|
||||
<div id="victim" style="width:100px; padding-bottom:1px; background:red;">
|
||||
<span></span>
|
||||
<div style="float:left; width:100%; height:100px; background:green;"></div>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
victim.style.paddingBottom = "0";
|
||||
first.style.display = "none";
|
||||
</script>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
background: blue;
|
||||
}
|
||||
|
||||
inline-block {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 1em;
|
||||
background: orange;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<inline-block></inline-block><br>
|
||||
<inline-block></inline-block><br>
|
||||
<inline-block></inline-block><br>
|
||||
<inline-block></inline-block><br>
|
||||
<inline-block></inline-block>
|
||||
</div>
|
||||
</body>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Test: Check line breaks when break opportunities have font-size: 0</title>
|
||||
<link rel="match" href="line-breaking-font-size-zero-001-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css2/text.html#propdef-white-space" />
|
||||
<link rel="author" href="mailto:kojii@chromium.org">
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
background: blue;
|
||||
}
|
||||
|
||||
inline-block {
|
||||
display: inline-block;
|
||||
width: 80px;
|
||||
height: 1em;
|
||||
background: orange;
|
||||
}
|
||||
|
||||
sep {
|
||||
font-size: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<inline-block></inline-block><sep> </sep>
|
||||
<inline-block></inline-block><sep>, </sep>
|
||||
<inline-block></inline-block><sep>) (</sep>
|
||||
<inline-block></inline-block><sep>a</sep>
|
||||
<inline-block></inline-block>
|
||||
</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue