mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +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 {
|
input[type=checkbox][switch]:checked {
|
||||||
background-color: AccentColor;
|
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": {
|
"-webkit-transition-timing-function": {
|
||||||
"legacy-alias-for": "transition-timing-function"
|
"legacy-alias-for": "transition-timing-function"
|
||||||
},
|
},
|
||||||
|
"-webkit-user-select": {
|
||||||
|
"legacy-alias-for": "user-select"
|
||||||
|
},
|
||||||
"accent-color": {
|
"accent-color": {
|
||||||
"animation-type": "by-computed-value",
|
"animation-type": "by-computed-value",
|
||||||
"inherited": true,
|
"inherited": true,
|
||||||
|
|
|
@ -129,6 +129,9 @@ All supported properties and their default values exposed from CSSStyleDeclarati
|
||||||
'WebkitTransitionTimingFunction': 'ease'
|
'WebkitTransitionTimingFunction': 'ease'
|
||||||
'webkitTransitionTimingFunction': 'ease'
|
'webkitTransitionTimingFunction': 'ease'
|
||||||
'-webkit-transition-timing-function': 'ease'
|
'-webkit-transition-timing-function': 'ease'
|
||||||
|
'WebkitUserSelect': 'auto'
|
||||||
|
'webkitUserSelect': 'auto'
|
||||||
|
'-webkit-user-select': 'auto'
|
||||||
'accentColor': 'auto'
|
'accentColor': 'auto'
|
||||||
'accent-color': 'auto'
|
'accent-color': 'auto'
|
||||||
'alignContent': 'normal'
|
'alignContent': 'normal'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue