Closed
Bug 1894363
Opened 7 months ago
Closed 7 months ago
Mispositioned buttons on discord chat.
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(4 files)
Seems a bad interaction between abspos and flexbox.
Assignee | ||
Comment 1•7 months ago
|
||
Ah, it's just the flex item with the <svg>
not having the right size...
Assignee | ||
Comment 2•7 months ago
|
||
Assignee | ||
Comment 3•7 months ago
|
||
More of an SVG issue with intrinsic sizes if width
and height
are auto
....
Component: Layout: Flexbox → SVG
Assignee | ||
Comment 4•7 months ago
|
||
Updated•7 months ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Comment 5•7 months ago
|
||
Per review nit, we may need to fix this for <embed>
as well, for consistency (since there are code comments at least that imply <embed> and <svg> both use 0, as noted in phab here).
Here's a testcase that I think exercises the bug with embed, as a modified version of your WPT. I haven't tested your patch on it yet, but this testcase is blank in current Nightly and I suspect it might still be blank with your patch.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/810c65d8b2d3
Make min size of SVG match nsImageFrame. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46017 for changes under testing/web-platform/tests
Comment 8•7 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•