Open Bug 1752093 Opened 3 years ago Updated 4 months ago

Redesign `HTMLEditUtils::Is*()`

Categories

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

enhancement

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, some of them return true for multiple elements (e.g., IsListItem). Such methods should have "any" in the name. And I think that all of them should be declared with macro to make each take both pointer (for making callers simpler) and reference (for avoiding null-check), and make all of them take const argument.

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