-
Notifications
You must be signed in to change notification settings - Fork 707
[css-ui-4] Clarify the applicability of the caret-* properties #11373
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
base: main
Are you sure you want to change the base?
Conversation
1b0e26b
to
669d7a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Florian. It's a significant improvement and will help me in moving the implementation forward.
aef81ff
to
c5f67d6
Compare
The 'caret-color', 'caret-animation', and 'caret-shape' properties | ||
give the author some amount of control over the appearance of the [=caret=]. | ||
|
||
Elements are considered to <dfn>accept input</dfn> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to respect #5303 (comment), text may also be considered to accept input and then these properties should apply to it.
<!DOCTYPE html>
<div contenteditable>
<span style="display: contents; caret-color: magenta">aaaaaaa</span>
</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Accept input" is really broad (all elements accept pointer input or so, right?). Probably "Accept text input" or "accept keyboard input"?
See #11335