mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time
* Stop using a node bit for HasExplicitBaseURI * Move MAY_HAVE_CLASS to mBoolFlags * Add a flag to indicate that a node is native anonymous content * Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo Tag #1375
This commit is contained in:
parent
31048968fd
commit
b723a5c8c4
25 changed files with 267 additions and 128 deletions
|
|
@ -70,7 +70,7 @@ nsSVGClass::SetBaseValue(const nsAString& aValue,
|
|||
{
|
||||
NS_ASSERTION(aSVGElement, "Null element passed to SetBaseValue");
|
||||
|
||||
aSVGElement->SetFlags(NODE_MAY_HAVE_CLASS);
|
||||
aSVGElement->SetMayHaveClass();
|
||||
if (aDoSetAttr) {
|
||||
aSVGElement->SetAttr(kNameSpaceID_None, nsGkAtoms::_class, aValue, true);
|
||||
}
|
||||
|
|
@ -106,7 +106,7 @@ nsSVGClass::SetAnimValue(const nsAString& aValue, nsSVGElement *aSVGElement)
|
|||
mAnimVal = new nsString();
|
||||
}
|
||||
*mAnimVal = aValue;
|
||||
aSVGElement->SetFlags(NODE_MAY_HAVE_CLASS);
|
||||
aSVGElement->SetMayHaveClass();
|
||||
aSVGElement->DidAnimateClass();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue