| Summary: | In the `inline-block container, SVG set `width: 100%` svg's width should be consistent with`width: auto` | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | 709922234 | ||||||
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED DUPLICATE | ||||||||
| Severity: | Normal | CC: | ahmad.saleem792, contact, sabouhallawa, simon.fraser, webkit-bug-importer, zalan, zimmermann | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=257614 | ||||||||
| Attachments: |
|
||||||||
|
Description
709922234
2021-09-08 08:24:41 PDT
Created attachment 437631 [details]
chrome
This is still problematic and not fixed in the latest technology preview. Makes it very difficult to add SVG items into headings and the like as if they are part of a flex or grid container, they take up far more width than they should. Any update on this? Would more examples be useful? To make the example that has already been provided more obvious, consider this version in Chrome, Safari and Firefox: https://codepen.io/benfrain/pen/oNdgVOY Seems to be fixed by PR as well: https://github.com/WebKit/WebKit/pull/16084 *** This bug has been marked as a duplicate of bug 257614 *** |