Open
Bug 1917347
Opened 2 months ago
Updated 1 month ago
flex item shrinks below content width, when it contains an SVG element with no explicit width attribute
Categories
(Core :: Layout: Flexbox, defect)
Core
Layout: Flexbox
Tracking
()
NEW
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug)
Attachments
(2 files)
STR:
- Load attached testcase.
EXPECTED RESULTS:
The first two black boxes should be the same width (and no red should be visible).
ACTUAL RESULTS:
The first black box is much skinnier (and there's red visible next to it - it lets its red sibling steal some of the flex container's width)
Reporter | ||
Comment 1•2 months ago
|
||
Here's a reference case where I've just swapped in <canvas>
. We give expected-results here.
Reporter | ||
Comment 2•2 months ago
|
||
Comment on attachment 9423319 [details]
semi-reference case 1 (using <canvas> instead of <svg>)
(er -- I guess the overall widths are a bit different between the testcase & reference case in, for whatever reason -- that's true cross-browser -- so it's not quite a true reference, but it's a partial reference, and the expectation that the first two boxes should match is still valid.)
Attachment #9423319 -
Attachment description: reference case 1 (using <canvas> instead of <svg>) → semi-reference case 1 (using <canvas> instead of <svg>)
Updated•1 month ago
|
Keywords: webcompat:platform-bug
You need to log in
before you can comment on or make changes to this bug.
Description
•