mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision dd4a8e0b6a3b81d5008478c8d73ba5aa296441b2
This commit is contained in:
parent
30347a4934
commit
fbd8987f23
122 changed files with 841 additions and 429 deletions
|
@ -18,34 +18,35 @@
|
|||
display: flex;
|
||||
flex-flow: row-reverse;
|
||||
writing-mode: vertical-rl;
|
||||
color: white;
|
||||
border: 2px solid black;
|
||||
height: 90px;
|
||||
}
|
||||
.item {
|
||||
background: green;
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
line-height: 1.5em;
|
||||
line-height: 0;
|
||||
|
||||
/* make sure UA that doesn't support writing mode and flexbox fails. */
|
||||
float: right;
|
||||
}
|
||||
.error {
|
||||
position: absolute;
|
||||
background: red;
|
||||
height: 9em;
|
||||
width: 3em;
|
||||
z-index: -1;
|
||||
.color-block {
|
||||
display: inline-block;
|
||||
width: 15px;
|
||||
height: 45px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if you see a tall green box with pairs of the 1-9 and a-i listed top to bottom in two columns.</p>
|
||||
|
||||
<div class="error"></div>
|
||||
<p>Pass condition: 4 rectangles, with colors in clockwise order starting from top-left: grey, orange, blue, yellow.
|
||||
<div class="container">
|
||||
<div class="item">789<br />ghi</div>
|
||||
<div class="item">456<br />def</div>
|
||||
<div class="item">123<br />abc</div>
|
||||
<div class="item">
|
||||
<span class=color-block style="background: blue;"></span>
|
||||
<br />
|
||||
<span class=color-block style="background: yellow;"></span>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span class=color-block style="background: orange;"></span>
|
||||
<br />
|
||||
<span class=color-block style="background: grey;"></span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue