mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
servo: Merge #11079 - Changed cursor for labels to "default" so their text doesn't use the text cursor (from Zaggy1024:label-cursor); r=pcwalton
The cursor in Firefox and Chrome for labels is always the default cursor rather than changing to the text cursor on text. In Edge, however, this only applies to the text of the actual label element. This PR changes Servo to match Firefox and Chrome. A convenient example of an element that this style applies to (and has different behavior between Firefox and Edge) is the "This repository" label for the search input at the top on Github. Source-Repo: https://github.com/servo/servo Source-Revision: 03465ad8c77f03ae2f538d046ae1e1dc86f04723
This commit is contained in:
parent
93c0fa9130
commit
d396e5615b
@ -33,6 +33,8 @@ td[align="right"] { text-align: right; }
|
||||
|
||||
center { text-align: -servo-center; }
|
||||
|
||||
label { cursor: default; }
|
||||
|
||||
input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]),
|
||||
textarea {
|
||||
cursor: text;
|
||||
|
Loading…
Reference in New Issue
Block a user