- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 18 Aug 2014 13:23:10 -0700
- To: Lea Verou <leaverou@gmail.com>, www-style list <www-style@w3.org>
On 11/29/2011 10:58 PM, Lea Verou wrote: > > A complete solution for styling control over the caret would be a new pseudo-element. However, that would be as hard as > speccing ::selection, if not harder. > Luckily, it appears that the most commonly asked customization is control over the caret color, so perhaps a new property > would suffice. > Something like: > > Name: caret > Value: <color> | invert > Initial: depends on user agent > Applies to: Any element that accepts textual input > Inherited: Yes > Percentages: N/A > Media: Interactive > Computed value: The computed value for 'invert' is 'invert'. For <color> values, the computed value is as defined for the > [CSS3COLOR] 'color' property. Is there any reason why this shouldn't be 'cursor-color'? Given that the 'cursor' property is what provides the caret shape. (A related question would be whether 'cursor' should then split into a shorthand of cursor-color and cursor-style.) ~fantasai
Received on Monday, 18 August 2014 20:23:37 UTC