From bf95a03189d74d118d149b49ac5f45a134683fd6 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 7 Aug 2020 14:32:59 -0700 Subject: Issue #1620 - Enable Intrinsic Ratio by Default A simpler name feels so much cleaner. --- dom/html/nsGenericHTMLElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/html') 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 w; if (aWidth->Type() == nsAttrValue::eInteger) { -- cgit v1.2.3