Closed Bug 1777124 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34637 - WhitespaceChildrenMayChange needs to be handled for all elements

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

WhitespaceChildrenMayChange needs to be handled for all elements

We tried to optimize away WhitespaceChildrenMayChange handling for
subtrees which should regardlessly be re-attached, but descendants
further down could still be marked for re-attachment which caused us to
stop early for ancestor marking at those whitespace-marked elements.

Remove the ReattachLayoutTree() check and handle the whitespace flag if
there is a LayoutObject.

Bug: 1338779
Change-Id: Iad95fdd674ca679137e66d5d4394efda0a8a4571

Reviewed-on: https://chromium-review.googlesource.com/3732708
WPT-Export-Revision: 2c3579d90d5db2299117c16eca557afdee8f6e45

Component: web-platform-tests → Layout: Tables
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

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