mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 404636 - "Building without SVG fails" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep]
This commit is contained in:
parent
83d6e6c06d
commit
9f430aad1b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user