mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 17:31:07 +00:00
Issue #1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user