diff options
author | Andy <webmaster@RealityRipple.com> | 2020-08-04 13:54:01 -0700 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-30 09:23:18 +0000 |
commit | 0bbe6ec10589b8540aa86200bf2b209ad4e563ba (patch) | |
tree | 2144747a67a4be26df207060bd9e32e8e2f7f39a /modules/libpref/init/all.js | |
parent | 48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c (diff) | |
download | UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.gz UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.lz UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.xz UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.zip |
Issue #1620 - Use Intrinsic Aspect Ratio for Images (uplift)
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r-- | modules/libpref/init/all.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 8cfa63032..21203552b 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4814,6 +4814,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.width-and-height-map-to-aspect-ratio.enabled", false); // Enables some assertions in nsStyleContext that are too expensive // for general use, but might be useful to enable for specific tests. |