Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code is not enabled by default (requires --enable-xtf configure option).
This commit is contained in:
@@ -526,6 +526,11 @@ nsXMLContentSink::CloseElement(nsIContent* aContent, PRBool* aAppendContent)
|
||||
|
||||
nsINodeInfo* nodeInfo = aContent->GetNodeInfo();
|
||||
|
||||
#ifdef MOZ_XTF
|
||||
if (nodeInfo->NamespaceID() > kNameSpaceID_LastBuiltin)
|
||||
aContent->DoneAddingChildren();
|
||||
#endif
|
||||
|
||||
if (!nodeInfo->NamespaceEquals(kNameSpaceID_XHTML) &&
|
||||
!nodeInfo->NamespaceEquals(kNameSpaceID_SVG)) {
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user