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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-indent/text-indent-each-line.html

Issue 22336008: Use the runtime flag and remove '-webkit-' prefix for CSS3 text-indent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>[css3-text] text-indent</title> 3 <title>[css3-text] text-indent</title>
4 <style> 4 <style>
5 div { width:80px; font: 10px Ahem; background-color:lightgray; } 5 div { width:80px; font: 10px Ahem; background-color:lightgray; }
6 .normal { text-indent: 4em; } 6 .normal { text-indent: 4em; }
7 .eachline { width:80px; text-indent: 4em -webkit-each-line; } 7 .eachline { width:80px; text-indent: 4em each-line; }
8 .indent { color: blue; } 8 .indent { color: blue; }
9 </style> 9 </style>
10 </head 10 </head
11 <body> 11 <body>
12 <!-- 12 <!--
13 all black boxes should be left-aligned. 13 all black boxes should be left-aligned.
14 all blue boxes should be right-aligned. 14 all blue boxes should be right-aligned.
15 --> 15 -->
16 16
17 <!-- normal text-indent --> 17 <!-- normal text-indent -->
18 <div class="normal"> 18 <div class="normal">
19 <span class="indent">xxxx</span><br>xxxx<br>xxxx 19 <span class="indent">xxxx</span><br>xxxx<br>xxxx
20 </div> 20 </div>
21 <br> 21 <br>
22 <!-- -webkit-each-line with a soft wrap break --> 22 <!-- each-line with a soft wrap break -->
23 <div class="eachline"> 23 <div class="eachline">
24 <span class="indent">xxxx</span> xxxx xxxx 24 <span class="indent">xxxx</span> xxxx xxxx
25 </div> 25 </div>
26 <br> 26 <br>
27 <!-- -webkit-each-line with a forced line break --> 27 <!-- each-line with a forced line break -->
28 <div class="eachline"> 28 <div class="eachline">
29 <span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span cl ass="indent">xxxx</span> 29 <span class="indent">xxxx</span><br><span class="indent">xxxx</span><br><span cl ass="indent">xxxx</span>
30 </div> 30 </div>
31 <br> 31 <br>
32 <!-- -webkit-each-line with a soft wrap break and a forced line break --> 32 <!-- each-line with a soft wrap break and a forced line break -->
33 <div class="eachline"> 33 <div class="eachline">
34 <span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span> 34 <span class="indent">xxxx</span> xxxx<br><span class="indent">xxxx</span>
35 </div> 35 </div>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698