Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Prototype: CSS caret-shape property

179 views
Skip to first unread message

Chromestatus

unread,
Apr 25, 2025, 8:59:23 AMApr 25
to blin...@chromium.org, zs...@igalia.com, sche...@chromium.org

Contact emails

sche...@chromium.org, zs...@igalia.com

Explainer

https://drafts.csswg.org/css-ui/#caret-shape

Specification

https://drafts.csswg.org/css-ui/#caret-shape

Summary

The shape of the caret in native applications is most commonly a vertical bar, an underscore or a rectangular block. In addition, the shape often varies depending on the input mode, such as insert or replace. The CSS caret-shape property allows sites to choose one of these shapes for the caret inside editable elements, or leave the choice up to the browser. The recognized property values are auto, bar, block and underscore.



Blink component

Blink>CSS

Motivation

To allow authors to specify the desired shape of the text insertion caret.



Initial public proposal

https://drafts.csswg.org/css-ui/#caret-shape

Search tags

caret-shape

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1211)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/484)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No

Flag name on about://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/353713061

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6106160780017664?gate=5139538158288896

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages