mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Improve user-select support
This commit is contained in:
parent
6293556935
commit
eb7824339b
Notes:
github-actions[bot]
2025-01-06 12:23:36 +00:00
Author: https://github.com/Psychpsyo
Commit: eb7824339b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3139
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue