[Webkit-unassigned] [Bug 224197] Safari not computing image aspect ratios from width and height attributes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 05:37:09 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224197

--- Comment #3 from cathiechen <cathiechen at igalia.com> ---
Created attachment 426098

  --> https://bugs.webkit.org/attachment.cgi?id=426098&action=review

error-image-test

Thanks! I can reproduce it.

This seems related to error images.
Because the src attribute is empty, so <img> is treated as an error image.
The current implementation does not map width height attribute to aspect ratio for error image.
However, as this feature developed, looks like it should apply to the empty src <img> without alt. And the wpt test img-aspect-ratio.html has updated.
See, https://github.com/whatwg/html/pull/6032

So I think it makes sense to update the behavior of error images.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210415/e4ea5cdf/attachment.htm>


More information about the webkit-unassigned mailing list