-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define behavior for user action of "selecting all". #105
Comments
The Select All action also lacks an event to subscribe to, necessitating web developers to bind arbitrary localized keyboard shortcuts like ctrl/cmd-a if they want to do a sane contextual action in response to it — which still won’t happen if you pick Edit → Select All from the window or context menu. |
Knowing the contextual information about selection change is #56. I'm not certain what you mean by specifying the behavior when selecting all text in a page. What the browser may do in response to mouse / keyboard input is in fact implementation dependent because platform conventions would differ. |
Having reconsidered the issue, I agree. It seems reasonable to assume that browsers call |
Outside of this ticket, @annevk brought up the following idea: the underlying concept of "Select All" could be described in a separate section. |
Sure, I think defining what |
Defining the
...but not tightly mapped to what a user invoking their browser's "Select All" action should do (except perhaps as a default action in a normal DOM page editing context). If the visited web app is some kind of productivity app or game, that seems to fall under #56. DOM tree operations like |
It's currently unspecified, how user agents should use the selection API when selecting all elements on a page, for instance via pressing CTRL+a.
This is required to align and preserve the behavior across browsers.
The text was updated successfully, but these errors were encountered: