[wpt-sync] Sync PR 33359 - After splitText mark node for reattach if only whitespace.
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33359 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33359
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
After splitText mark node for reattach if only whitespace.
Text::splitText is an amazing API which splits a Text node into two.
Previously if performed a split (where the split would contain only
whitespace characters), and did a replaceChild on the content, we'd end
up with an inconsistent layout-tree containing an anonymous box with
no content.This patch forces the layout-object tree to reattach if we have
whitespace or empty content.Bug: 1308400
Change-Id: Ied477fa8d69758017f600c3b67f07c19f1db06df
Reviewed-on: https://chromium-review.googlesource.com/3551039
WPT-Export-Revision: c723eedab426d91f5eba6511ed69658f89c9331d
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=50dc3fe9cb807f6e9bd8be309f237f4352b14daf
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4548c8c09c85 [wpt PR 33359] - After splitText mark node for reattach if only whitespace., a=testonly
Assignee | ||
Comment 3•2 years ago
|
||
Test result changes from PR not available.
Comment 4•2 years ago
|
||
bugherder |
Description
•