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

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

Issue 1407003005: Lists: Render marker text closer to list items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test expectations, again. Created 5 years, 2 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.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.h b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
index bb57de9e32de46ee48c78e94b47c2ec5abd73d21..2c4085f9da3791b3cdfe6cdfc6218f3b591a5037 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.h
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.h
@@ -94,6 +94,7 @@ private:
LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const override;
bool canBeSelectionLeaf() const override { return true; }
+ LayoutUnit getWidthOfTextWithSuffix() const;
void updateMargins();
void updateContent();

Powered by Google App Engine
This is Rietveld 408576698