| Summary: | REGRESSION(r277997): aspect-ratio not applied correctly to img with height:auto | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||
| Component: | CSS | Assignee: | cathiechen <cathiechen> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | sabouhallawa, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=228872 | ||||||
| Attachments: |
|
||||||
|
Description
Antti Koivisto
2021-08-09 05:41:33 PDT
Created attachment 435184 [details]
test
What is the correct behavior here? I see a green square in Safari 14.1.2, and a vertical green rectangle in Safari 15 beta. So is this a regression? (In reply to Alexey Proskuryakov from comment #2) > What is the correct behavior here? I see a green square in Safari 14.1.2, > and a vertical green rectangle in Safari 15 beta. > > So is this a regression? aspect-ratio wasn't supported previously, so not a regression. Green 50x50px square is the correct behaviour. It is a regression for img because r277997 added implicit aspect-ratio to to. *** This bug has been marked as a duplicate of bug 228872 *** BTW: This test has been added to WPT by https://github.com/web-platform-tests/wpt/pull/29964 |