[wpt-sync] Sync PR 35837 - blink: Retain flex layout behaviour for SVG children.
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35837 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35837
Details from upstream follow.
Khushal Sagar <khushalsagar@chromium.org> wrote:
blink: Retain flex layout behaviour for SVG children.
SVG children resolve min-width/min-height: auto to 0 by default due to
overflow:hidden in UA stylesheet. This changed with
CSSOverflowForReplacedElements which added overflow:clip to these
elements and as a result used the minimum size based on SVG's intrinsic
size.Fix the above by retaining the old behaviour and treating overflow:clip
same as overflow:hidden for these elements. The discussion for the final
solution continues at: https://github.com/w3c/csswg-drafts/issues/7714.Bug:1358820
Change-Id: I79fb2e334ca72807ca6e3b12d85c1f8a33a9f086
Reviewed-on: https://chromium-review.googlesource.com/3884796
WPT-Export-Revision: 48866990aa26cce0b199f6b33301f21fa061fdbf
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests
Status Summary
Firefox
PASS
: 3
Chrome
PASS
: 1
FAIL
: 2
Safari
PASS
: 1
FAIL
: 2
Links
![]() |
||
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/054553a40bf3
https://hg.mozilla.org/mozilla-central/rev/a3d240cae4f0
Description
•