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

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-002.xht

Issue 1166693007: W3C Test: import web-platform-tests/html/webappapis (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/inline-block-alignment-new-002.xht
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-002.xht b/LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-002.xht
similarity index 50%
copy from LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-002.xht
copy to LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-002.xht
index 22ebd91c6664cc43fee17c2e4a19d54783418029..8a5727d838709d9ea5b64ce6ece877fb5f46704e 100644
--- a/LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-002.xht
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-002.xht
@@ -1,18 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>CSS Writing Modes Test: text baseline alignment - central alignment with vertical layout</title>
+ <title>CSS Writing Modes Test: inline block alignment - central alignment with vertical layout</title>
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
- <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-02-20 -->
- <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#text-baselines" />
- <link rel="match" href="text-baseline-002-ref.xht" />
- <meta name="assert" content="This test checks the generation of text baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline." />
+ <link rel="help" title="CSS3 Writing modes: 4.3. Atomic Inline Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#replaced-baselines" />
+ <link rel="help" title="CSS2.1 9.2.2 Inline-level elements and inline boxes" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes" />
+ <link rel="match" href="inline-block-alignment-new-002.xht" />
+ <meta name="assert" content="This test checks the generation of inline-block baseline. When 'writing-mode' is 'vertical-rl' and when 'text-orientation' is 'mixed', then the central baseline is used as the dominant baseline." />
<meta name="flags" content="ahem" />
<style type="text/css"><![CDATA[
div#rl-mixed
{
color: orange;
- font: 3.75em/1.5 Ahem; /* computes to 60px/90px */
+ font: 3.75em Ahem; /* computes to 60px */
height: 4em;
-webkit-writing-mode: vertical-rl;
-webkit-text-orientation: mixed;
@@ -20,12 +20,18 @@
span#blue120
{
+ display: inline-block;
+ padding-left: 1em; /* computes to 120px */
+ padding-right: 1em; /* computes to 120px */
color: blue;
font-size: 2em; /* computes to 120px */
}
span#orange30
{
+ display: inline-block;
+ padding-left: 1em; /* computes to 30px */
+ padding-right: 1em; /* computes to 30px */
font-size: 0.5em; /* computes to 30px */
}
]]></style>

Powered by Google App Engine
This is Rietveld 408576698