Inner SVG with overflow auto is hiding overflowing content (behavior change from bug 1999100)
Categories
(Core :: SVG, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox148 | --- | affected |
| firefox149 | --- | affected |
| firefox150 | --- | fixed |
People
(Reporter: tiberiu.zuld, Assigned: emilio, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
Steps to reproduce:
SVG overflow: auto is no longer working as expected in v148 compared with v147.
In Chrome and Safari it is working as expected.
I think this is triggered by changes for https://bugzil.la/1999100
Example:
https://jsfiddle.net/7nzgbfa2/2/
In Chrome the overflow of the red rectangle is shown, but in FF v148 is not shown.
It was working correctly in v147.
Actual results:
Rect element overflowing parent SVG element is clipped when SVG has overflow: auto
Expected results:
Rect element overflowing parent SVG element shouldn't be clipped when SVG has overflow: auto
Comment 1•10 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 2•1 day ago
|
||
That seems... expected? Generally overflow values that apply clipping do clip overflow, it seems like a bug that it didn't before tbh.
I guess WebKit also behaves like chrome here so we could consider changing back, but not sure the spec is clear about that.
| Assignee | ||
Comment 3•1 day ago
|
||
mozregression agrees this was caused by bug 1999100.
| Assignee | ||
Comment 4•1 day ago
|
||
https://hg-edge.mozilla.org/mozilla-central/rev/e81fe51adc7c48e454bc04b7d82a6cf2211ebe82#l7.159 is the line that causes this behavior change. But I think this is the right thing to do.
| Assignee | ||
Comment 5•1 day ago
|
||
I don't see why these two should render differently?
| Assignee | ||
Comment 6•1 day ago
|
||
This seems kinda broken: https://svgwg.org/svg2-draft/render.html#OverflowAndClipProperties
| Assignee | ||
Updated•1 day ago
|
| Assignee | ||
Comment 7•1 day ago
|
||
Updated•1 day ago
|
Comment 8•1 day ago
|
||
Set release status flags based on info from the regressing bug 1999100
Comment 11•12 hours ago
|
||
| bugherder | ||
Description
•