Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use width and height as intrinsic aspect ratio for img elements
When the current request is not available, or it doesn't have an intrinsic ratio (such as some SVG content). This specifies the proposal in WICG/intrinsicsize-attribute#16, which is implemented in both Firefox and Chromium behind a flag. Tests for this change are at: https://github.com/web-platform-tests/wpt/blob/a57ec1432f22ac42e8e219a32e2abd7c0baa5b09/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.tentative.html
- Loading branch information