mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-29 18:24:47 +00:00
Merge pull request #1613 from RealityRipple/AspectRatio
[Image/CSS] Intrinsic Aspect Ratio
This commit is contained in:
@@ -4811,6 +4811,12 @@ pref("media.ondevicechange.fakeDeviceChangeEvent.enabled", false);
|
||||
// those platforms we don't handle touch events anyway so it's conceptually
|
||||
// a no-op.
|
||||
pref("layout.css.touch_action.enabled", true);
|
||||
|
||||
// WHATWG computed intrinsic aspect ratio for an img element
|
||||
// https://html.spec.whatwg.org/multipage/rendering.html#attributes-for-embedded-content-and-images
|
||||
// Are the width and height attributes on image-like elements mapped to the
|
||||
// internal-for-now aspect-ratio property?
|
||||
pref("layout.css.intrinsic-aspect-ratio.enabled", true);
|
||||
|
||||
// Enables some assertions in nsStyleContext that are too expensive
|
||||
// for general use, but might be useful to enable for specific tests.
|
||||
|
||||
Reference in New Issue
Block a user