зеркало из https://github.com/mozilla/gecko-dev.git
Bug 404636 - "Building without SVG fails" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep]
This commit is contained in:
Родитель
e54406bd0e
Коммит
98992c2e45
|
@ -760,7 +760,10 @@ IsPercentageAware(const nsIFrame* aFrame)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle SVG, which doesn't map width/height into style
|
// Handle SVG, which doesn't map width/height into style
|
||||||
if ((fType == nsGkAtoms::svgOuterSVGFrame ||
|
if ((
|
||||||
|
#ifdef MOZ_SVG
|
||||||
|
fType == nsGkAtoms::svgOuterSVGFrame ||
|
||||||
|
#endif
|
||||||
fType == nsGkAtoms::subDocumentFrame) &&
|
fType == nsGkAtoms::subDocumentFrame) &&
|
||||||
const_cast<nsIFrame*>(aFrame)->GetIntrinsicSize().width.GetUnit() ==
|
const_cast<nsIFrame*>(aFrame)->GetIntrinsicSize().width.GetUnit() ==
|
||||||
eStyleUnit_Percent) {
|
eStyleUnit_Percent) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче