Re: [csswg-drafts] Add hover/focus/long-press triggering delays to CSS (#9236)

If authors want to control popovers regardless of the state provided by :popover-open and default styles, they can already do that, that is not a problem.

> then you'd need a CSS way to actually trigger the popover

the display property defines an element’s display type

> so far (and as far as I can see it going), that really belongs in the HTML part of this feature, right?

user agents are not required to present HTML documents in any particular way

> the feature I've described doesn't have an equivalent pseudo state already

custom selector which is written as a pseudo-class with the given <extension-name>, and represents a :is() selector using the provided <selector-list> as its argument

> nothing gets the long-press part

:active pseudo-class applies while any generated box of any element (or pseudo-element) is being actively indicated by a pointing device (in the “down” state), e.g. between the time the user presses the primary mouse button and releases it, or while a finger is pressing on a touchscreen

-- 
GitHub Notification of comment by rthrejheytjyrtj545
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9236#issuecomment-1692416604 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 24 August 2023 21:12:21 UTC