 Chromium Code Reviews
 Chromium Code Reviews Issue 1403643002:
  Rework list marker spacing for better web compatibility.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@472084_use_list_item_painter
    
  
    Issue 1403643002:
  Rework list marker spacing for better web compatibility.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@472084_use_list_item_painter| 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 b670812362ea94e0c25ebff080d534835c1fd67e..02866addaf5871b8e1c0f90e93c9e161000e1921 100644 | 
| --- a/third_party/WebKit/Source/core/layout/LayoutListMarker.h | 
| +++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.h | 
| @@ -40,6 +40,16 @@ public: | 
| const String& text() const { return m_text; } | 
| + // A reduced set of list style categories allowing for more concise expression | 
| + // of list style specific logic. | 
| + enum SimplifiedListStyle { | 
| + NoneSimpleStyle, | 
| + SymbolSimpleStyle, | 
| + LanguageSimpleStyle | 
| + }; | 
| + | 
| + // Returns the list's style as one of a reduced high level categorical set of styles. | 
| + SimplifiedListStyle simplifiedListStyle() const; | 
| 
eae
2015/10/12 06:02:01
listStyleCategory might be a better name as simpli
 
wkorman
2015/10/14 01:55:30
Done.
 | 
| bool isInside() const; | 
| void updateMarginsAndContent(); | 
| @@ -83,6 +93,7 @@ private: | 
| LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const override; | 
| bool canBeSelectionLeaf() const override { return true; } | 
| + LayoutUnit getWidthOfTextWithSuffix(UChar* suffix, int suffixLength) const; | 
| void updateMargins(); | 
| void updateContent(); |