Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8

This commit is contained in:
James Graham
2015-07-27 17:47:31 +01:00
parent 662c00a810
commit df03062d62
10934 changed files with 428309 additions and 254265 deletions

View File

@@ -3,14 +3,14 @@
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Writing Modes Test: margin percentage and 'vertical-rl'</title>
<title>CSS Writing Modes Test: margin percentage and 'vertical-rl' (orthogonal flow)</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#dimension-mapping" title="7.2 Dimensional Mapping" />
<link rel="match" href="reference/margin-vrl-002-ref.xht" />
<meta content="image" name="flags" />
<meta content="This test checks that percentages on the margin are calculated with respect to the width of the containing block if 'writing-mode' of such containing block is 'horizontal-tb'. In this test, div.outer's computed 'writing-mode' value is 'horizontal-tb' and it is the div.inner's containing block." name="assert" />
<meta content="This test checks that percentages on the margin are calculated with respect to the width (inline-size) of the containing block if 'writing-mode' of such containing block is 'horizontal-tb'. In this test, div.outer's computed 'writing-mode' value is 'horizontal-tb' and it is the div.inner's containing block." name="assert" />
<style type="text/css"><![CDATA[
div.outer
@@ -20,6 +20,22 @@
width: 200px;
}
div.inner
{
background-color: yellow;
height: 50px;
width: 50px;
writing-mode: vertical-rl;
}
div.foo
{
margin-bottom: 2.5%; /* 5px ; collapses with hr's margin-top */
margin-left: 50%; /* 100px */
margin-right: 25%; /* 50px */
margin-top: 10%; /* 20px */
}
hr
{
background-color: transparent;
@@ -28,29 +44,12 @@
margin: 0.5em auto;
}
div.inner
{
background-color: yellow;
height: 50px; /* necessary, otherwise div.inner blocks must grow as tall as the height of viewport */
width: 50px;
}
div.foo
{
margin-bottom: 2.5%; /* 5px */
margin-left: 50%; /* 100px */
margin-right: 25%; /* 50px */
margin-top: 10%; /* 20px */
writing-mode: vertical-rl;
}
div.bar
{
margin-bottom: 10%;
margin-left: 25%;
margin-right: 50%;
margin-top: 2.5%;
writing-mode: vertical-rl;
margin-bottom: 10%; /* 20px */
margin-left: 25%; /* 50px */
margin-right: 50%; /* 100px */
margin-top: 2.5%; /* 5px ; collapses with hr's margin-bottom */
}
div#reference