[Webkit-unassigned] [Bug 244386] aspect-ratio should work on errored images that have display:block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 1 07:34:53 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244386
--- Comment #7 from cathiechen <cathiechen at igalia.com> ---
(In reply to Jake Archibald from comment #6)
> Safari is passing
> http://wpt.live/css/css-sizing/aspect-ratio/replaced-element-028.html (as is
> Chrome and Firefox, although they pass it in a different way). I'm not
> actually sure what the correct behaviour should be for that test, other than
> it should ignore the aspect-ratio given by the developer.
Yeah, do we need to file a bug in GitHub to discuss the expected behavior?
It seems Chrome and Firefox do not apply aspect-ratio if the error images are with alt.
https://jsbin.com/yanocayapi/1/edit?html,css,output
>
> However, I think the test in
> https://github.com/web-platform-tests/wpt/pull/35612 is a more obvious fail.
> Are you sure it's passing for you? It's failing when I try it in Release 152.
>
It passes if I download the test and load it with file:///
> Another version: https://jsbin.com/zipolaj/2/edit?html,css,output.
>
> In Chrome and Firefox, the image uses the aspect ratio provided by the CSS -
> 2:1. In Safari it uses 1:1.
Yeah, it's 1:1. Again, if I download the test and load it with file:///, it's 2:1. Something might go wrong if trying to download the error image from network.
--
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/20220901/c32736bf/attachment.htm>
More information about the webkit-unassigned
mailing list