W3C home > Mailing lists > Public > www-style@w3.org > May 2015

[css-ui-4] caret properties

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 8 May 2015 17:42:28 +0200
Message-Id: <EC7AC53D-B693-48AD-BB07-3FE6296F35BE@rivoal.net>
To: www-style list <www-style@w3.org>
Hi,

We've introduced caret-color in css-ui level 3, and named
it caret-color rather than caret so that we could later
introduce caret as a short-hand for caret-color and other
caret controlling properties.

I've now added to css-ui level 4 this shorthand and a draft
text for 2 additional properties to control the shape and
the blinking of the caret.

http://dev.w3.org/csswg/css-ui-4/#insertion-caret

This is something Bloomberg is interested in implementing.
Also you don't have to look very far of the web to find
evidence that this is something that people want to control:

http://www.xanthir.com/ 		(fake non-blinking underscore caret)
http://www.glazman.org/ 		(fake non-blinking underscore caret)
http://shachi.prophp.org/demo.html 	(js-based non-blinking block caret)
http://www.masswerk.at/jsuix/index.html (js-based blinking block caret)
http://jsbin.com/ehuki3/3/ 		(js-based blinking block caret)
http://terminal.jcubic.pl/ 		(js-based blinking block caret)

https://stackoverflow.com/questions/3758023/how-to-use-this-square-cursor-in-a-html-input-field
https://stackoverflow.com/questions/7339333/styling-text-input-caret
https://stackoverflow.com/questions/6092963/can-i-change-the-blinking-caret-in-a-form-text-area-in-a-browser
https://www.quora.com/How-do-I-change-the-appearance-of-the-caret-in-a-text-input-area
http://discourse.codenewbie.org/t/need-some-help-creating-a-blinking-cursor-using-css/254
https://stackoverflow.com/questions/18138762/replace-blinking-text-cursor-with-custom-char

Feedback welcome.

 - Florian
Received on Friday, 8 May 2015 15:42:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC