Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
This commit is contained in:
@@ -6607,7 +6607,7 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
|
||||
nsFrameItems& aFrameItems)
|
||||
{
|
||||
// Make sure that we remain confined in the MathML world
|
||||
if (aNameSpaceID != nsMathMLAtoms::nameSpaceID)
|
||||
if (aNameSpaceID != kNameSpaceID_MathML)
|
||||
return NS_OK;
|
||||
|
||||
PRBool processChildren = PR_TRUE; // Whether we should process child content.
|
||||
|
||||
Reference in New Issue
Block a user