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: padding percentage and 'vertical-rl'</title>
<title>CSS Writing Modes Test: padding 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 padding are calculated with respect to the width of the containing block if the '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 padding are calculated with respect to the width (inline-size) of the containing block if the '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,21 @@
width: 200px;
}
div.inner
{
background-color: transparent;
height: 50px;
writing-mode: vertical-rl;
}
div.foo
{
padding-bottom: 2.5%; /* 5px */
padding-left: 50%; /* 100px */
padding-right: 25%; /* 50px */
padding-top: 10%; /* 20px */
}
hr
{
background-color: transparent;
@@ -28,38 +43,12 @@
margin: 3px auto;
}
div.inner
{
background-color: transparent;
height: 50px; /* necessary, otherwise div.inner blocks must grow as tall as the height of viewport */
}
img
{
vertical-align: bottom;
/*
Not necessary but because Chrome 40 does not centrally baseline-align
inline replaced element in vertical writing-mode with 'text-orientation: mixed'
or with 'text-orientation: upright', we do this to avoid a false negative.
*/
}
div.foo
{
padding-bottom: 2.5%; /* 5px */
padding-left: 50%; /* 100px */
padding-right: 25%; /* 50px */
padding-top: 10%; /* 20px */
writing-mode: vertical-rl;
}
div.bar
{
padding-bottom: 10%;
padding-left: 25%;
padding-right: 50%;
padding-top: 2.5%;
writing-mode: vertical-rl;
}
div#reference