On Fri Nov 22 15:44:33 2024 +0000, Jacek Caban wrote:
Yeah, it shows that those interfaces do not reflect prototypes. In a sense, `IHTMLDOMTextNode2` is as bad for `CharacterData` as `IHTMLCommentElement2`. Do we have a lot of cases like that? I'm wondering if we need to change the mechanism or could we just introduce a private `IHTMLCharacterData` interface.
Other than this, only CSS-related styles/stylesheets have a similar case like this, but those are more convoluted.
I also don't see how introducing a private interface helps to simplify it. We'd still have to expose it (and forward) in comment elements, but now we'd also have to expose and forward it in text nodes, making it actually less simple, IMO.
But is my forwarding a good idea?