summaryrefslogtreecommitdiffstats
path: root/dom/html/nsGenericHTMLElement.cpp
diff options
context:
space:
mode:
authorAndy <webmaster@RealityRipple.com>2020-08-07 14:32:59 -0700
committerAndy <webmaster@RealityRipple.com>2020-08-07 14:32:59 -0700
commit05ee48943cdf2c48c24a43bdb289eabb1cd08e9a (patch)
treed198545ac4f415960dff2c4799ddee3945bda669 /dom/html/nsGenericHTMLElement.cpp
parent644f617e6612b3a147e50b06c244fcc9362c9605 (diff)
downloadUXP-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.tar
UXP-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.tar.gz
UXP-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.tar.lz
UXP-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.tar.xz
UXP-05ee48943cdf2c48c24a43bdb289eabb1cd08e9a.zip
Issue #1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
Diffstat (limited to 'dom/html/nsGenericHTMLElement.cpp')
-rw-r--r--dom/html/nsGenericHTMLElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/nsGenericHTMLElement.cpp b/dom/html/nsGenericHTMLElement.cpp
index 5af578b2d..35ce8533b 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) {