Open Bug 1998330 Opened 4 months ago Updated 4 months ago

Clean up and optimize `HTMLEditor::SetInlinePropertiesAroundRanges`

Categories

(Core :: DOM: Editor, task)

task

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

The method collects topmost nodes in the range and apply styles to each. Then, remove style in each node and apply the style with scanning surrounding content.

Sounds like that the steps are for available any nodes, but it does not refer known things especially of each caller. So, perhaps, we must be able to make it faster to skip doing unnecessary things.

You need to log in before you can comment on or make changes to this bug.