bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187927 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1054,6 +1054,9 @@ CNavDTD::WillHandleStartTag(CToken* aToken, eHTMLTags aTag,
|
||||
if (theToken) {
|
||||
theToken->SetKey(NS_LITERAL_STRING("_moz-userdefined"));
|
||||
aNode.AddAttribute(theToken);
|
||||
|
||||
// Make sure to remember that we added this attribute.
|
||||
aToken->SetAttributeCount(aNode.GetAttributeCount());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user