Bug 1808888 - [refactor] Migrate NS_STYLE_LIST_STYLE_POSITION_* defines r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D166140
This commit is contained in:
@@ -5988,7 +5988,7 @@ nsIFrame* nsCSSFrameConstructor::FindSiblingInternal(
|
||||
auto* marker = nsLayoutUtils::GetMarkerFrame(aContent);
|
||||
const bool isInsideMarker =
|
||||
marker && marker->GetInFlowParent()->StyleList()->mListStylePosition ==
|
||||
NS_STYLE_LIST_STYLE_POSITION_INSIDE;
|
||||
StyleListStylePosition::Inside;
|
||||
return isInsideMarker ? marker : nullptr;
|
||||
};
|
||||
|
||||
@@ -9780,7 +9780,7 @@ void nsCSSFrameConstructor::ProcessChildren(
|
||||
(listItem = do_QueryFrame(aFrame)) &&
|
||||
!styleParentFrame->IsFieldSetFrame()) {
|
||||
isOutsideMarker = computedStyle->StyleList()->mListStylePosition ==
|
||||
NS_STYLE_LIST_STYLE_POSITION_OUTSIDE;
|
||||
StyleListStylePosition::Outside;
|
||||
ItemFlags extraFlags;
|
||||
if (isOutsideMarker) {
|
||||
extraFlags += ItemFlag::IsForOutsideMarker;
|
||||
|
||||
Reference in New Issue
Block a user