mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Update CSS tests to revision aac1cd51245c0c469325988a0446985a2f1e476c
This commit is contained in:
parent
1a6245828a
commit
7deaeea707
540 changed files with 24009 additions and 6637 deletions
|
@ -25,7 +25,7 @@
|
|||
<div class="item">456</div>
|
||||
<div class="item">def</div>
|
||||
<div class="item">789</div>
|
||||
<div class="item">ghi</div>
|
||||
<div class="item">stu</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -2,22 +2,17 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
--><!-- Reference case for table-fixup on table parts inside of a
|
||||
flex container. --><html>
|
||||
--><!-- Reference case for ensuring table-fixup does not happen to adjacent
|
||||
table parts directly inside of a flex container. --><html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
|
||||
<style>
|
||||
div.flexbox {
|
||||
border: 1px dashed blue;
|
||||
}
|
||||
|
||||
<!-- NOTE: table-fixup pads each td element by 1px on each side. We
|
||||
override that for top & bottom, for simplicity. So the td makes us
|
||||
generate a box that's 2px wider than its contents. -->
|
||||
td {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
width: 200px;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.a {
|
||||
|
@ -37,14 +32,11 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Just 2 adjacent table cells (they end up in the same table) -->
|
||||
<div class="flexbox" style="padding-left: 50px; width: 150px"><td class="a">cell1</td><td class="b">cell2</td></div>
|
||||
<!-- In each example here, we simply use blocks instead of table parts -->
|
||||
<div class="flexbox"><div class="a">cell1</div><div class="b">cell2</div></div>
|
||||
|
||||
<!-- Table cell followed by tbody (they end up in the same table) -->
|
||||
<div class="flexbox" style="padding-left: 75px; width: 125px"><td class="a">cell1</td><tbody class="b">t</tbody></div>
|
||||
<div class="flexbox"><div class="a">cell1</div><div class="b">t</div></div>
|
||||
|
||||
<!-- Empty table cell (ends up occupying 2px of width), followed by div,
|
||||
followed by nonempty table cell. (3 flex items). -->
|
||||
<div class="flexbox" style="padding-left: 52px; width: 148px"><div style="display: inline-block;" class="c">div</div><div style="display: inline-table; margin-left: 50px"><td class="b">cell1</td></div></div>
|
||||
<div class="flexbox"><div></div><div class="b">cell1</div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -23,10 +23,14 @@
|
|||
.fakeBefore {
|
||||
content: 'b';
|
||||
background: yellow;
|
||||
align-self: center;
|
||||
order: 1;
|
||||
}
|
||||
.fakeAfter {
|
||||
content: 'a';
|
||||
background: lightblue;
|
||||
align-self: center;
|
||||
order: -1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue