diff options
Diffstat (limited to 'dom')
-rw-r--r-- | dom/html/nsGenericHTMLElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/nsGenericHTMLElement.cpp b/dom/html/nsGenericHTMLElement.cpp index afbc49b6b..ddb476cf4 100644 --- a/dom/html/nsGenericHTMLElement.cpp +++ b/dom/html/nsGenericHTMLElement.cpp @@ -1480,7 +1480,7 @@ nsGenericHTMLElement::MapImageSizeAttributesInto(const nsMappedAttributes* aAttr } } - if (Preferences::GetBool("layout.css.width-and-height-map-to-aspect-ratio.enabled") && + if (Preferences::GetBool("layout.css.intrinsic-aspect-ratio.enabled") && aMapAspectRatio && aWidth && aHeight) { Maybe<double> w; if (aWidth->Type() == nsAttrValue::eInteger) { |