mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reftest Reference: Percentage size on orthogonal replaced elements</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<style>
|
||||
.container {
|
||||
display: inline-block;
|
||||
border: solid 5px black;
|
||||
margin: 10px;
|
||||
vertical-align: top;
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<p>The test passes if you see four filled lime rectangles with black border and <strong>no red</strong>.</p>
|
||||
|
||||
<div class="container">
|
||||
<img src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<img src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<img src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<img src="support/100x100-lime.png" />
|
||||
</div>
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Writing Modes Test: Percentage size on orthogonal replaced elements</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#orthogonal-auto">
|
||||
<link rel="match" href="sizing-percentages-replaced-orthogonal-001-ref.html">
|
||||
<meta name="assert" content="Checks that orthogonal replaced elements resolve properly their percentage sizes against the expected axis from their containing block.">
|
||||
<style>
|
||||
.container {
|
||||
display: inline-block;
|
||||
border: solid 5px black;
|
||||
margin: 10px;
|
||||
vertical-align: top;
|
||||
width: 200px;
|
||||
height: 100px;
|
||||
background: red;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.horizontalTB { writing-mode: horizontal-tb; }
|
||||
.verticalLR { writing-mode: vertical-lr; }
|
||||
.verticalRL { writing-mode: vertical-rl; }
|
||||
</style>
|
||||
|
||||
<p>The test passes if you see four filled lime rectangles with black border and <strong>no red</strong>.</p>
|
||||
|
||||
<div class="container horizontalTB">
|
||||
<img class="verticalLR" src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container horizontalTB">
|
||||
<img class="verticalRL" src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container verticalLR">
|
||||
<img class="horizontalTB" src="support/100x100-lime.png" />
|
||||
</div>
|
||||
|
||||
<div class="container verticalRL">
|
||||
<img class="horizontalTB" src="support/100x100-lime.png" />
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue