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

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

Issue 2463573002: Problem: Blink list-item-position is inside for unstyled list items Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
index 144904feb395a46ec30114443a9bcb9b5165a966..7d19fb126966c9327c302b4f556f29eba398c912 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
@@ -398,7 +398,7 @@ LayoutListMarker::ListStyleCategory LayoutListMarker::getListStyleCategory() con
bool LayoutListMarker::isInside() const
{
- return m_listItem->notInList() || style()->listStylePosition() == ListStylePositionInside;
+ return style()->listStylePosition() == ListStylePositionInside;
}
IntRect LayoutListMarker::getRelativeMarkerRect() const
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutListItem.cpp ('k') | third_party/WebKit/Source/core/layout/api/LayoutLIItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698