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

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-006.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-006.xht
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-006.xht b/LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-006.xht
similarity index 50%
copy from LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-006.xht
copy to LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-006.xht
index 1f44ade09fb168665ef37a324ce147d177d2e2a0..553f47c3a7730f6b7818a32596ee1bc0e267565f 100644
--- a/LayoutTests/imported/csswg-test/css-writing-modes-3/text-baseline-006.xht
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/inline-block-alignment-new-006.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 - alphabetical alignment with vertical layout</title>
+ <title>CSS Writing Modes Test: inline block alignment - alphabetical 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-006-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 'sideways', then the alphabetical 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-006.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 'sideways', then the alphabetical baseline is used as the dominant baseline." />
<meta name="flags" content="ahem" />
<style type="text/css"><![CDATA[
div#rl-sideways
{
color: fuchsia;
- 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: sideways;
@@ -20,11 +20,17 @@
span#fuchsia120
{
+ display: inline-block;
+ padding-left: 1em; /* computes to 120px */
+ padding-right: 1em; /* computes to 120px */
font-size: 2em; /* computes to 120px */
}
span#fuchsia30
{
+ 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