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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html
diff --git a/LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html b/LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html
index 19ecd93bb2b8f8bceb9aa593647d94258b6362e4..6625afb1257273589eda522b453ad49e9abca348 100644
--- a/LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html
+++ b/LayoutTests/fast/text-autosizing/list-marker-with-links-autosizing-expected.html
@@ -15,9 +15,9 @@
<body>
<div style="font-size: 2.5rem">
-The below list items should be autosized to 40px computed font-size (16 * 800/320). Also the corresponding list markers should increase in size appropriately.
+The below list items should be autosized to 40px computed font-size (16 * 800/320). Also the corresponding list markers should increase in size appropriately. The whole list is shifted to the right by 11px (7 (marker width) * (2.5-1) rounded) to compensate the scaling of list item markers and make sure they don't get chopped off.
</div>
-<ul>
+<ul style="-webkit-margin-start: 11px">
<li style="font-size: 2.5rem"><a>List item with a link</a></li>
<li style="font-size: 2.5rem"><b>List item with bold text</b></li>
<li style="font-size: 2.5rem">Simple plain list item</li>

Powered by Google App Engine
This is Rietveld 408576698