Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht

Issue 1188583004: update-w3c-deps import using blink 9d3793ee56e5bb1aa1eef078d848e1b0e6e4d355: (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht b/LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht
index 4dd4c5069e45a3b1d0033e3bfa3fe73a9e29a010..6ffe80cab06eb78d668386610399c6ad26d376c2 100644
--- a/LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/percent-padding-vrl-002.xht
@@ -4,14 +4,14 @@
<head>
- <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="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
@@ -21,28 +21,11 @@
width: 200px;
}
- hr
- {
- background-color: transparent;
- border: transparent none 0px;
- height: 3px;
- 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.
- */
+ height: 50px;
+ -webkit-writing-mode: vertical-rl;
}
div.foo
@@ -51,7 +34,14 @@
padding-left: 50%; /* 100px */
padding-right: 25%; /* 50px */
padding-top: 10%; /* 20px */
- -webkit-writing-mode: vertical-rl;
+ }
+
+ hr
+ {
+ background-color: transparent;
+ border: transparent none 0px;
+ height: 3px;
+ margin: 3px auto;
}
div.bar
@@ -60,7 +50,6 @@
padding-left: 25%;
padding-right: 50%;
padding-top: 2.5%;
- -webkit-writing-mode: vertical-rl;
}
div#reference

Powered by Google App Engine
This is Rietveld 408576698