RESOLVED FIXED 224113
[AspectRatio] Out-of-flow box with intrinsic width (e.g. <img>) may trigger infinite recursion
https://bugs.webkit.org/show_bug.cgi?id=224113
Summary [AspectRatio] Out-of-flow box with intrinsic width (e.g. <img>) may trigger i...
zalan
Reported 2021-04-02 09:06:22 PDT
<style> img { aspect-ratio: 1; max-width: fit-content; top: 0; bottom: 0; position: absolute; } </style> <img src="foobar"> <rdar://75877776>
Attachments
Patch (3.80 KB, patch)
2021-04-02 09:38 PDT, zalan
no flags
zalan
Comment 1 2021-04-02 09:38:45 PDT
Rob Buis
Comment 2 2021-04-02 10:34:38 PDT
Comment on attachment 425029 [details] Patch Sorry for that one!
zalan
Comment 3 2021-04-02 10:37:50 PDT
(In reply to Rob Buis from comment #2) > Comment on attachment 425029 [details] > Patch > > Sorry for that one! This is a very peculiar case :) (I myself made this mistake many times -not taking the blockified replaced case into consideration.) Thanks for the review!
EWS
Comment 4 2021-04-02 12:30:17 PDT
Committed r275430: <https://commits.webkit.org/r275430> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425029 [details].
Note You need to log in before you can comment on or make changes to this bug.