Bug 655877 - Part 33: Allow new SVG text frames in clip paths. r=longsonr

This commit is contained in:
Cameron McCormack 2013-02-11 17:22:17 +11:00
parent 9d29be6fdc
commit 95104c706a

View File

@ -260,14 +260,16 @@ nsSVGClipPathFrame::IsValid()
nsIAtom *type = grandKid->GetType();
if (type != nsGkAtoms::svgPathGeometryFrame &&
type != nsGkAtoms::svgTextFrame) {
type != nsGkAtoms::svgTextFrame &&
type != nsGkAtoms::svgTextFrame2) {
return false;
}
}
continue;
}
if (type != nsGkAtoms::svgPathGeometryFrame &&
type != nsGkAtoms::svgTextFrame) {
type != nsGkAtoms::svgTextFrame &&
type != nsGkAtoms::svgTextFrame2) {
return false;
}
}