mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
Auto merge of #11079 - Zaggy1024:label-cursor, r=pcwalton
Changed cursor for labels to "default" so their text doesn't use the text cursor. 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. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11079) <!-- Reviewable:end -->
This commit is contained in:
commit
03465ad8c7
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue