Closed Bug 2091256 Opened 10 days ago Closed 6 days ago

[wpt-sync] Sync PR 64488 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321090

Categories

(Core :: DOM: Editor, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 64488 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64488
Details from upstream follow.

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321090

WebKit export from bug: [<!---->anon-<!---->block-<!---->removal]<!----> Empty editable container with only an out-<!---->of-<!---->flow child loses its line

<pre>
[anon-block-removal] Empty editable container with only an out-of-flow child loses its line

When the first child is attached, RenderTreeBuilder::Block::attach seeds the container's childrenInline()
from that child. An out-of-flow child is not in the flow, though, so it says nothing about whether the
container's children are inline, and letting it answer the question turns childrenInline() off for a
container that has no in-flow content at all.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321090">https://bugs.webkit.org/show_bug.cgi?id=321090</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318671@main">https://commits.webkit.org/318671@main</a>
</pre>

Component: web-platform-tests → DOM: Editor
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 512 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 506[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 511[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PASS : 4[GitHub] 14628[Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug] 14630[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 14668[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt] 14670[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-opt]
FAIL : 1669[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 1671[Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug] 1684[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-opt] 1686[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt]
ERROR: 1

Chrome

OK : 1
PASS : 4

Safari

OK : 1
PASS : 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: