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

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/text-combine-upright-layout-rules-001.html

Issue 1211973013: update-w3c-deps import using blink d42488bb63a5ac7fd6befd40a9b90fe85cebcc4a: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add flaky/timeout to TestExpectations Created 5 years, 5 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/text-combine-upright-layout-rules-001.html
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/text-combine-upright-layout-rules-001.html b/LayoutTests/imported/csswg-test/css-writing-modes-3/text-combine-upright-layout-rules-001.html
new file mode 100644
index 0000000000000000000000000000000000000000..fac50003dc9f66fd552a1ee0b71f83d3bebb9a2e
--- /dev/null
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/text-combine-upright-layout-rules-001.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Writing Modes: Layout rules of text-combine-upright</title>
+<link rel="author" title="Masataka Yakura" href="https://google.com/+MasatakaYakura">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-layout">
+<link rel="match" href="reference/text-combine-upright-layout-rules-001.html">
+<meta name="assert" content="Anything outside the 1em-composition does not affect layout.">
+<meta name="flags" content="font">
+<style>
+@font-face {
+ font-family: tcu-font;
+ src: url("support/tcu-font.woff");
+}
+
+.test {
+ -webkit-writing-mode: vertical-rl;
+ font-size: 3em;
+ font-family: tcu-font;
+ line-height: 160px;
+}
+
+.test > div {
+ margin-right: 16px;
+ line-height: 1em;
+}
+
+.tcy {
+ -webkit-text-combine: horizontal;
+}
+
+.reference {
+ font-size: 3em;
+}
+</style>
+</head>
+<body>
+
+<p>Test passes if there are 2 <strong>identical</strong> rectangles.</p>
+
+<div class="test">
+ <div>0<br>0<span class="tcy">A</span>0<br>0</div>
+ <div class="reference">0</div>
+</div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698