Hi,
In bug 1547231 I've landed a change to how we determine the intrinsic
aspect ratio of an image so that it's used from the width and height
attributes, even if the width and height are overridden via CSS.
This means that we can get a proper intrinsic size while the image is
loading, for example, instead of giving it a 0x0 size, which avoids
layout instability.
This change is enabled on nightly and early-beta, with the hope of
proving it's web-compatible.
See the following for related discussion:
* https://github.com/WICG/intrinsicsize-attribute/issues/16
* https://github.com/WICG/intrinsicsize-attribute/issues/4
* https://github.com/mozilla/standards-positions/issues/129
Note that, as implemented, the mapped aspect ratio trumps the actual
image aspect-ratio, but this can probably be changed if it breaks
content as discussed in the issues above.
Anyhow, let me know / file bugs if you see broken stuff :)
-- Emilio
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform