Re: [csswg-drafts] [css-ui] Add value `horizontal-text` to property `cursor`

Those sorts of "can be A or B" spec texts usually mean that, at the time the spec was written, browsers had both of those behaviors, and there wasn't a clear preference for everyone to shift one way or the other. If this has shifted, and browsers now agree on a behavior, we can easily change!

That said, while this spec text is *weird*, there's not a strong benefit in doing anything here, as the current values *do* suffice for authors. If you just set `text` on any with a horizontal writing mode, and `vertical-text` on anything with a vertical writing mode, you're guaranteed to get the correct cursor at all times. In some browsers the `vertical-text` isn't required, as `text` would work correctly, but nobody is hurt by applying `vertical-text` to vertical text.

(You can't reliably apply a horizontal-text bar to vertical text with the existing values, but that's *really weird to do*, so it's not an important lack to solve.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3196#issuecomment-427467122 using your GitHub account

Received on Friday, 5 October 2018 18:59:42 UTC