| Summary: | [AspectRatio] Out-of-flow box with intrinsic width (e.g. <img>) may trigger infinite recursion | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, pdr, rbuis, simon.fraser, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 425029 [details]
Patch
Comment on attachment 425029 [details]
Patch
Sorry for that one!
(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! Committed r275430: <https://commits.webkit.org/r275430> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425029 [details]. |
<style> img { aspect-ratio: 1; max-width: fit-content; top: 0; bottom: 0; position: absolute; } </style> <img src="foobar"> <rdar://75877776>