| Summary: | To avoid circular dependency, use the intrinsic size of replaced element as width | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||||
| Component: | Layout and Rendering | Assignee: | Ahmad Saleem <ahmad.saleem792> | ||||||
| Status: | REOPENED --- | ||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, karlcow, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 263903 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ahmad Saleem
2023-09-05 06:44:03 PDT
Committed 267648@main (7c273eb0afa7): <https://commits.webkit.org/267648@main> Reviewed commits have been landed. Closing PR #17436 and removing active labels. Re-opened since this is blocked by bug 263903 (In reply to WebKit Commit Bot from comment #3) > Re-opened since this is blocked by bug 263903 1. load https://developer.apple.com/design/resources/#macos-apps 2. notice incorrect layout, e.g. the Mac laptop shown in full width Created attachment 468412 [details]
incorrect layout
NOTE: It is reproducible on Safari Technology Preview 181 and not on Safari 17.1. This is solved by deactivating `width: -webkit-fill-available;`
```csss
.download-image {
width: 100%;
width: -moz-available;
width: -webkit-fill-available;
width: fill-available;
border-radius: 10px;
margin-bottom: 20px;
margin-top: 10px;
}
```
Please use Web Archive from October to reproduce this bug, it is not reproducible using live website version: http://web.archive.org/web/20231019182307/https://developer.apple.com/design/resources/#macos-apps Created attachment 470451 [details]
Test Case
|