[wpt-sync] Sync PR 33924 - Only create a LayoutFrame if they are a direct child of a LayoutFrameSet
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33924 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33924
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
Only create a LayoutFrame if they are a direct child of a LayoutFrameSet
As above. A LayoutFrame only really make sense as a direct child of a
LayoutFrameSet. This is what the HTML parser allows. However a \<frame>
element can be dynamically inserted into the DOM.This patch makes it so that we only create a LayoutFrame, if it'll be
a direct child of a LayoutFrameSet (by checking the parentNode()).Bug: 1203464
Change-Id: I48ce36f4f5a3862732b00e4e29792cc5045a4f0d
Reviewed-on: https://chromium-review.googlesource.com/3626489
WPT-Export-Revision: 35bddd4c5bbcf491e280659cde58ab832de0ed9e
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Description
•