Issue #1620 - Enable Intrinsic Ratio by Default

A simpler name feels so much cleaner.
This commit is contained in:
Andy
2020-08-07 14:32:59 -07:00
committed by Roy Tam
parent c02e424911
commit 9f48a59946
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) {