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

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

Issue 59753002: text-align-last only affect to the last line when text-align is justify. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Combining the two ref tests as one ref test Created 6 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/fast/css3-text/css3-text-align-last/text-align-last-expected.html
diff --git a/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-expected.html b/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..9155eee0901176dd4ba4770568ba7f63de7f2634
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-align-last/text-align-last-expected.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+.testDiv {
+ width: 208px;
+ border: 1px solid #000000;
+ font-family: Ahem, monospace;
+ font-size: 1em;
+}
+</style>
+</head>
+<body>
+<div>
+When text-align is justify, the last line would be affected by the value of text-align-last.<br/>
+This test checks that text-align-last property works properly.<br/>
+</div>
+
+<div class='testDiv' style='text-align:start'>start last</div>
+
+<div class='testDiv' style='text-align:end'>end last</div>
+
+<div class='testDiv' style='text-align:left'>left last</div>
+
+<div class='testDiv' style='text-align:right'>right last</div>
+
+<div class='testDiv' style='text-align:center'>center last</div>
+
+<div class='testDiv' style='text-align:justify'>justify&nbsp; last</div>
+
+<div class='testDiv' style='text-align:start'>start end</div>
+
+<div class='testDiv' style='text-align:end'>end start</div>
+
+<div class='testDiv' style='text-align:left'>left right</div>
+
+<div class='testDiv' style='text-align:right'>right left</div>
+
+<div class='testDiv' style='text-align:center'>center left</div>
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698