Closed Bug 1727479 Opened 3 years ago Closed 3 years ago

Fix `NS_ASSERTION` hit at running 1517028.html

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

That's caused if selection is collapsed in non-splittable element.

Severity: -- → S3
Priority: -- → P3

Selection can be collapsed in a non-splittable element like a void element
and data nodes such as a comment node. In this case, we should split the
parent block at before the void element (Blink almost does so, except
<embed>, <hr> and <wbr>).

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/519503f40573
Make `WhiteSpaceVisibilityKeeper::PrepareToSplitAcrossBlocks()` adjust split point if it's in non-splittable node r=m_kato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/30209 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: