[csswg-drafts] Add value `horizontal-text` to property `cursor`

Zhang-Junzhi has just created a new issue for https://github.com/w3c/csswg-drafts:

== Add value `horizontal-text` to property `cursor` ==
There are currently two kinds of "text" icon in `cursor` at [ui-4 draft](https://drafts.csswg.org/css-ui-4/#valdef-cursor-text): `text` and `vertical-text` .

Roughly speaking, the spec says the UA can either always render the cursor as in horizontal writing mode, or render it based on the writing-mode value. IMO, this has two issues:

1. This is logical asymmetry. Why can `text` be specially treated as always for horizontal writing mode as an alternative, why can't it be treated as always for vertical writing mode?

2. Also this is problematic if the designer really wants the cursor to depend on the writing mode, because according to the spec, the behaviour of the `text` doesn't garantee the cursor is writing-mode dependent.

I suggest we change the `text` to be always writing-mode dependent, and add a new value `horizontal-text` to `cursor`. I don't think there are compatibility problems in the real world, as the writing mode isn't widely used for now. The earlier we change it, the smaller the problem it would cause.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3196 using your GitHub account

Received on Friday, 5 October 2018 07:24:38 UTC