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

Unified Diff: LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html

Issue 224723023: Implements hanging property for text-indent from CSS3 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update description Created 6 years, 8 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-indent/text-indent-each-line-hanging-expected.html
diff --git a/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line.html b/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html
similarity index 50%
copy from LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line.html
copy to LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html
index 0e1b3aaa373533d4866986eb24b12cc0a974b1b9..758a0af129fc61a27aae311b8e9fb4a9d63d6952 100644
--- a/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line.html
+++ b/LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line-hanging-expected.html
@@ -3,35 +3,40 @@
<title>[css3-text] text-indent</title>
<style>
div { width:80px; font: 10px Ahem; background-color:lightgray; }
- .normal { text-indent: 4em; }
- .eachline { width:80px; text-indent: 4em each-line; }
- .indent { color: blue; }
+ .indent { color: blue; padding-left:4em; }
</style>
-</head
+</head>
<body>
-<!--
-all black boxes should be left-aligned.
-all blue boxes should be right-aligned.
--->
-
-<!-- normal text-indent -->
-<div class="normal">
+<div>
<span class="indent">xxxx</span><br>xxxx<br>xxxx
</div>
<br>
-<!-- each-line with a soft wrap break -->
-<div class="eachline">
+<div>
<span class="indent">xxxx</span> xxxx xxxx
</div>
<br>
-<!-- each-line with a forced line break -->
-<div class="eachline">
+<div>
<span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
</div>
<br>
-<!-- each-line with a soft wrap break and a forced line break -->
-<div class="eachline">
+<div>
<span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
</div>
+<br>
+<div>
+xxxx<br><span class="indent">xxxx</span><br><span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+xxxx <span class="indent">xxxx</span> <span class="indent">xxxx</span>
+</div>
+<br>
+<div>
+xxxx<br>xxxx<br>xxxx
+</div>
+<br>
+<div>
+xxxx <span class="indent">xxxx</span><br>xxxx
+</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698