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

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-005.xht

Issue 1295773004: update-w3c-deps import using blink c936ac9d274f959a4b5908db6835bcd612fb1a9e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/vertical-alignment-new-005.xht
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-004.xht b/LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-005.xht
similarity index 53%
copy from LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-004.xht
copy to LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-005.xht
index 80b1ea5070bbf3fffd8e88f139386ab406a18ba3..11d80c1f4ff3ae01e7ce970fcca16988e493b9b6 100644
--- a/LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-004.xht
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/vertical-alignment-new-005.xht
@@ -1,19 +1,19 @@
<!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: vertical align - 'baseline' (alphabetical baseline with vertical layout)</title>
+ <title>CSS Writing Modes Test: vertical-align - 'text-top' and vertical-lr writing-mode</title>
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
- <link rel="help" title="4.4. Baseline Alignment" href="http://www.w3.org/TR/css-writing-modes-3/#baseline-alignment" />
- <link rel="help" title="10.8 Line height calculations: the 'line-height' and 'vertical-align' properties" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" />
- <meta name="assert" content="This test checks the position of inline box with vertical align property. When 'writing-mode' is 'vertical-rl', 'vertical-align' is 'text-top', the right edge of inline-box aligned with the top of parent inline-box." />
+ <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+ <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
+ <meta name="assert" content="This test checks the position of an inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-lr', 'vertical-align' is 'text-top', the physical right (logical top) edge of an inline non-replaced box is aligned with the right side (logical top) of parent's content area." />
<link rel="match" href="vertical-alignment-new-004-ref.xht" />
<meta name="flags" content="ahem" />
<style type="text/css"><![CDATA[
- div#rl
+ div#lr
{
color: orange;
font: 3.75em/1.5 Ahem; /* computes to 60px/90px */
- -webkit-writing-mode: vertical-rl;
+ -webkit-writing-mode: vertical-lr;
}
span#orange30
@@ -31,7 +31,7 @@
<p>Test passes if the <strong>right edge</strong> of an irregular orange polygon is straight and unbroken.</p>
- <div id="rl">A<span id="orange30">O</span></div>
+ <div id="lr">A<span id="orange30">O</span></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698