mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 1270374 - Create style context with correct pseudo tag in ServoStyleSet::ResolveAnonymousBoxStyle. r=bholley
This commit is contained in:
parent
9adeb967f0
commit
e0e0348a4f
@ -172,7 +172,7 @@ ServoStyleSet::ResolveAnonymousBoxStyle(nsIAtom* aPseudoTag,
|
||||
mRawSet.get()));
|
||||
MOZ_ASSERT(computedValues);
|
||||
|
||||
return NS_NewStyleContext(aParentContext, mPresContext, nullptr,
|
||||
return NS_NewStyleContext(aParentContext, mPresContext, aPseudoTag,
|
||||
CSSPseudoElementType::AnonBox,
|
||||
computedValues.forget(), skipFixup);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user