Skip to content

Conversation

@frivoal
Copy link
Collaborator

@frivoal frivoal commented Dec 14, 2024

See #11335

Copy link
Contributor

@schenney-chromium schenney-chromium left a 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.

frivoal and others added 3 commits March 25, 2025 11:21
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>
Copy link
Contributor

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>

Copy link
Collaborator

@emilio emilio left a 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"?

@astearns astearns removed the Agenda+ label Apr 21, 2025
@schenney-chromium
Copy link
Contributor

For all of the caret-* properties, could we also add something like "dynamic changes must be applied no later than the next blink cycle of the caret" or similar? That leaves UA free to implement the blinking -> non-blinking behavior in the most convenient manner (e.g. by letting a timer expire).

@schenney-chromium
Copy link
Contributor

Can we move this forward? @frivoal would you like me to take it over to incorporate the improvements suggested by Oriol, Emilio and myself?

frivoal and others added 2 commits June 20, 2025 10:24
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
@frivoal
Copy link
Collaborator Author

frivoal commented Jun 20, 2025

Sorry, this had fallen off my radar. I've added the changes requested by @Loirooriol and @emilio

On the other hand, this seems like a separate topic:

For all of the caret-* properties, could we also add something like "dynamic changes must be applied no later than the next blink cycle of the caret" or similar? That leaves UA free to implement the blinking -> non-blinking behavior in the most convenient manner (e.g. by letting a timer expire).

@schenney-chromium could you open a separate issue for that?

@frivoal frivoal merged commit 03aa791 into w3c:main Jun 20, 2025
1 check passed
@schenney-chromium
Copy link
Contributor

Thanks Florian. Yes, I'll create an issue for the updating of properties and get a PR up for it.

@w3c w3c deleted a comment from farrimondryam-ai Jul 29, 2025
@w3c w3c deleted a comment from farrimondryam-ai Jul 29, 2025
@frivoal frivoal deleted the caret-applicability branch July 30, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-ui-4 Current Work

Projects

Status: Regular agenda
Status: Regular agenda items

Development

Successfully merging this pull request may close these issues.

7 participants