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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp

Issue 2748473003: Use exactly 1em marker margin for list-style:inside items (Closed)
Patch Set: rebaseline Created 3 years, 9 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: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
index c7e5f98625bb2832b136533bfae1c097d7de8ee5..40071880ce8b1af944c71a0c15445e1067cb9def 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
@@ -295,7 +295,6 @@ void LayoutListMarker::updateMargins() {
case ListStyleCategory::Symbol:
marginStart = LayoutUnit(-1);
marginEnd =
- fontMetrics.ascent() - minPreferredLogicalWidth() + 1 +
LayoutUnit(cUAMarkerMarginEm * style()->computedFontSize());
break;
default:
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/classification/list_style_position-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698