Open Bug 1471864 Opened 2 years ago Updated 1 year ago

Figure out a way to make Element::Add/RemoveStates non-virtual

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: smaug, Unassigned)

References

Details

The issue is that AddStatesSilently and AddStates do now very different things.
Or perhaps we should make Add/RemoveStatesSilently virtual and change HTMLInputElement to override those methods and then Add/RemoveStates could be non-virtual. That would at least give consistent behavior.
Priority: -- → P3
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.