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

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

It's not an either/or, if `HTMLDialogElement` and `HTMLPopupElement` share API surface, it may make sense to make them inherit from a shared base class, then have `HTMLPopupElement` be further inherited by subclasses (e.g. listbox, tooltip, toast etc).

--------

There are also certain behaviors here that I wonder if they might be more appropriate as global HTML attributes. E.g. `autofocus` and `delegetesfocus`

-- 
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-988119381

Received on Tuesday, 7 December 2021 17:15:38 UTC