Open Bug 1596856 Opened 5 years ago Updated 2 years ago

HTMLEditor::IsInObservedSubtree should probably handle Shadow DOM somehow.

Categories

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

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

It doesn't work at all when you're in a shadow tree, and that looks wrong.

It should probably just do nsContentUtils::IsInSameAnonymousTree?

That method also deserves a comment. To the inexperienced reader, it's unclear what it's intended to check.

Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.