Re: [csswg-drafts] [css-ui-3] auto cursor should behaves as default cursor except for text?

> Is the desired behavior what Firefox does?

yes.

> In Mozilla's page: https://developer.mozilla.org/en/docs/Web/CSS/cursor, they use "E.g." instead of "specifically". 

That's a mistake.

> Also, when there is text inside textarea, one html element will have two types of cursor. It seems weird.

div/p/article… elements have two types of cursors for 1 element: text over text, default over empty areas. That is what auto is for. Everybody has been doing that forever, so I do not think that this is weird.

For textarea (and a number of similar form controls), the behavior would be the same if cursor is left to its auto value, but adding `textarea {cursor: text}` in the UA stylesheet is also an option.

The specification currently does not propose additions to the UA stylesheet, and leaves it up to browsers to do what they want. Maybe css-ui-4 should make an attempt at giving a UA stylesheet for HTML for cursors over various elements, but for now the expectation is that browsers will do it by themselves.

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

Received on Wednesday, 19 July 2017 01:33:24 UTC