LibWeb: Improve user-select support

This commit is contained in:
Psychpsyo 2025-01-04 15:25:17 +01:00 committed by Sam Atkins
commit eb7824339b
Notes: github-actions[bot] 2025-01-06 12:23:36 +00:00
3 changed files with 11 additions and 0 deletions

View file

@ -893,3 +893,8 @@ input[type=checkbox][switch]:checked::before {
input[type=checkbox][switch]:checked {
background-color: AccentColor;
}
/* https://drafts.csswg.org/css-ui/#propdef-user-select */
button, meter, progress, select {
user-select: none;
}

View file

@ -130,6 +130,9 @@
"-webkit-transition-timing-function": {
"legacy-alias-for": "transition-timing-function"
},
"-webkit-user-select": {
"legacy-alias-for": "user-select"
},
"accent-color": {
"animation-type": "by-computed-value",
"inherited": true,