mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 90a1381e3736eca4700c1b08fee8f313fea20593
This commit is contained in:
parent
b4f48c67f8
commit
c5424d579d
937 changed files with 4440 additions and 6240 deletions
|
@ -0,0 +1,93 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
|
||||
<style>
|
||||
.container {
|
||||
display: block;
|
||||
float: left;
|
||||
border: 2px solid purple;
|
||||
padding: 2px;
|
||||
margin-bottom: 2em;
|
||||
height: 500px;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
span {
|
||||
display: block;
|
||||
background: lightgrey;
|
||||
border: 2px solid black;
|
||||
margin: 11px 13px 17px 7px;
|
||||
inline-size: 6px;
|
||||
|
||||
/* This really floats to top ('logical left'), since all the containers
|
||||
have a vertical writing mode. */
|
||||
float: right;
|
||||
}
|
||||
|
||||
.small { font: 12px Ahem; }
|
||||
.big { font: 20px Ahem; }
|
||||
|
||||
.hl { writing-mode: horizontal-tb; direction: ltr; }
|
||||
.hr { writing-mode: horizontal-tb; direction: rtl; }
|
||||
.vl { writing-mode: vertical-lr; direction: ltr; }
|
||||
.vr { writing-mode: vertical-rl; direction: ltr; }
|
||||
.vl_rtl { writing-mode: vertical-lr; direction: rtl; }
|
||||
.vr_rtl { writing-mode: vertical-rl; direction: rtl; }
|
||||
|
||||
|
||||
.container > .vl, .container > .vr,
|
||||
.container > .vl_rtl, .container > .vr_rtl {
|
||||
/* In the testcase, these items are stretched horizontally
|
||||
via the default "align-self:stretch" behavior, and because
|
||||
they have a width of "auto".
|
||||
(The rest of the items have a non-auto width from "inline-size"
|
||||
and their horizontal writing-mode, so those ones do not stretch.) */
|
||||
width: 126px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container vl_rtl">
|
||||
<span class="hl small">p b c</span>
|
||||
<span class="hl big">p e</span>
|
||||
<span class="hr small">p b c</span>
|
||||
<span class="hr big">p e</span>
|
||||
<span class="vl small">p b c</span>
|
||||
<span class="vl big">p e</span>
|
||||
</div>
|
||||
<div class="container vl_rtl">
|
||||
<span class="vr small">p b c</span>
|
||||
<span class="vr big">p e</span>
|
||||
<span class="vl_rtl small">p b c</span>
|
||||
<span class="vl_rtl big">p e</span>
|
||||
<span class="vr_rtl small">p b c</span>
|
||||
<span class="vr_rtl big">p e</span>
|
||||
</div>
|
||||
<div class="container vr_rtl">
|
||||
<span class="hl small">p b c</span>
|
||||
<span class="hl big">p e</span>
|
||||
<span class="hr small">p b c</span>
|
||||
<span class="hr big">p e</span>
|
||||
<span class="vl small">p b c</span>
|
||||
<span class="vl big">p e</span>
|
||||
</div>
|
||||
<div class="container vr_rtl">
|
||||
<span class="vr small">p b c</span>
|
||||
<span class="vr big">p e</span>
|
||||
<span class="vl_rtl small">p b c</span>
|
||||
<span class="vl_rtl big">p e</span>
|
||||
<span class="vr_rtl small">p b c</span>
|
||||
<span class="vr_rtl big">p e</span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue