-
Notifications
You must be signed in to change notification settings - Fork 757
Description
There are currently two kinds of "text" icon in cursor at ui-4 draft: text and vertical-text .
For text, 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:
-
This is logical asymmetry. Why can
textbe specially treated as always for horizontal writing mode as an alternative, why can't it be treated as always for vertical writing mode? -
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
textdoesn'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.