Re: [w3ctag/design-reviews] HTMLPopupElement (#680)

> There is precedent in the Web Platform for having an abstract base class that contains shared API, and subclasses that correspond to specific tag names: `HTMLMediaElement` contains the shared behaviors between `<audio>` and `<video>`, whereas the base class does not correspond to a tag name, because it cannot be used directly. I wonder if a similar architecture would be more appropriate here than introducing a new element with no concrete semantics?

Indeed, and should that base class also be the base class of `<dialog>`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/680#issuecomment-988115690

Received on Tuesday, 7 December 2021 17:10:31 UTC