Bug 1358968 - Part 2: Use nsCSSAnonBoxList.h data to skip parent display-based style fixups when resolving anon box style. r=bz

MozReview-Commit-ID: HugxFcRcCqv
This commit is contained in:
Cameron McCormack
2017-04-24 16:25:37 +08:00
parent e029d1d3bc
commit 072c4c2c15
7 changed files with 26 additions and 32 deletions

View File

@@ -1372,8 +1372,7 @@ nsComboboxControlFrame::CreateFrameForDisplayNode()
RefPtr<nsStyleContext> styleContext;
styleContext = styleSet->
ResolveInheritingAnonymousBoxStyle(nsCSSAnonBoxes::mozDisplayComboboxControlFrame,
mStyleContext,
nsStyleSet::eSkipParentDisplayBasedStyleFixup);
mStyleContext);
RefPtr<nsStyleContext> textStyleContext;
textStyleContext =