diff options
author | Andy <webmaster@RealityRipple.com> | 2020-08-07 14:32:59 -0700 |
---|---|---|
committer | Andy <webmaster@RealityRipple.com> | 2020-08-07 14:32:59 -0700 |
commit | 05ee48943cdf2c48c24a43bdb289eabb1cd08e9a (patch) | |
tree | d198545ac4f415960dff2c4799ddee3945bda669 /dom/html | |
parent | 644f617e6612b3a147e50b06c244fcc9362c9605 (diff) | |
download | uxp-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.tar.gz |
Issue #1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
Diffstat (limited to 'dom/html')
-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 5af578b2d5..35ce8533bf 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) { |