summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorAndy <webmaster@RealityRipple.com>2020-08-07 14:32:59 -0700
committerMoonchild <moonchild@palemoon.org>2020-08-30 09:23:46 +0000
commitbf95a03189d74d118d149b49ac5f45a134683fd6 (patch)
tree102d807e5823a73bc01722db6e4705f57c67f053 /dom
parentc75e412f17a0cfcf4036a4c7a87ad1476601cc5e (diff)
downloadUXP-bf95a03189d74d118d149b49ac5f45a134683fd6.tar
UXP-bf95a03189d74d118d149b49ac5f45a134683fd6.tar.gz
UXP-bf95a03189d74d118d149b49ac5f45a134683fd6.tar.lz
UXP-bf95a03189d74d118d149b49ac5f45a134683fd6.tar.xz
UXP-bf95a03189d74d118d149b49ac5f45a134683fd6.zip
Issue #1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
Diffstat (limited to 'dom')
-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 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) {