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

Side by Side Diff: LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html

Issue 17071009: Consistently autosize markers in <ul> and <ol> lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ls-TA-margins-14June
Patch Set: Created 7 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html style="font-size: 16px"> 2 <html style="font-size: 16px">
3 <head> 3 <head>
4 4
5 <meta name="viewport" content="width=800"> 5 <meta name="viewport" content="width=800">
6 <style> 6 <style>
7 body { 7 body {
8 width: 800px; 8 width: 800px;
9 margin: 0; 9 margin: 0;
10 overflow-y: hidden; 10 overflow-y: hidden;
11 } 11 }
12 </style> 12 </style>
13 13
14 </head> 14 </head>
15 <body> 15 <body>
16 16
17 <div style="font-size: 2.5rem"> 17 <div style="font-size: 2.5rem">
18 The below list items should be autosized to 40px computed font-size (16 * 800/32 0). Also the corresponding list markers should increase in size appropriately. 18 The below list items should be autosized to 40px computed font-size (16 * 800/32 0). Also the corresponding list markers should increase in size appropriately. T he whole list is shifted to the right by 11px (7 (marker width) * (2.5-1) rounde d) to compensate the scaling of list item markers and make sure they don't get c hopped off.
19 </div> 19 </div>
20 <ul> 20 <ul style="-webkit-margin-start: 11px">
21 <li style="font-size: 2.5rem"><a>List item with a link</a></li> 21 <li style="font-size: 2.5rem"><a>List item with a link</a></li>
22 <li style="font-size: 2.5rem"><b>List item with bold text</b></li> 22 <li style="font-size: 2.5rem"><b>List item with bold text</b></li>
23 <li style="font-size: 2.5rem">Simple plain list item</li> 23 <li style="font-size: 2.5rem">Simple plain list item</li>
24 <li style="font-size: 2.5rem"><a>List item with a link as part of anonymous bloc k</a><div></div></li> 24 <li style="font-size: 2.5rem"><a>List item with a link as part of anonymous bloc k</a><div></div></li>
25 </ul> 25 </ul>
26 26
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698