Closed Bug 1767554 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 33924 - Only create a LayoutFrame if they are a direct child of a LayoutFrameSet

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
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

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f4eaa1e9a71 [wpt PR 33924] - Only create a LayoutFrame if they are a direct child of a LayoutFrameSet, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.