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

Unified Diff: LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center.html

Issue 19471004: Rendering the property, text-align-last. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using Ahem.ttf font Created 7 years, 2 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/fast/css3-text/css3-text-align-last/text-align-last-center.html
diff --git a/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center.html b/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center.html
new file mode 100644
index 0000000000000000000000000000000000000000..38ecfe48d58fa8151ad6b8aec1966f3594658958
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-center.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <link href="text-align-last.css" rel="stylesheet" type="text/css">
+</head>
+<body>
+<div>
+text-align-last: center <br><br>
+
+This test checks that text-align-last property works properly.<br>
+The last line of each case should be aligned to <b>center</b> side.<br>
+</div>
+
+<div dir="ltr" class='testDiv alignStart alignLastCenter'>LTR align is start align-last is center.</div>
+
+<div dir="ltr" class='testDiv alignEnd alignLastCenter'>LTR align is end align-last is center.</div>
+
+<div dir="ltr" class='testDiv alignRight alignLastCenter'>LTR align is right align-last is center.</div>
+
+<div dir="ltr" class='testDiv alignLeft alignLastCenter'>LTR align is left align-last is center.</div>
+
+<div dir="rtl" class='testDiv alignStart alignLastCenter'>RTL align is start align-last is center.</div>
+
+<div dir="rtl" class='testDiv alignEnd alignLastCenter'>RTL align is end align-last is center.</div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698