LibWeb: Support individual translate CSS property

This commit is contained in:
Andreas Kling 2024-11-22 16:42:20 +01:00 committed by Andreas Kling
commit 66a821e731
Notes: github-actions[bot] 2024-11-22 19:07:48 +00:00
22 changed files with 267 additions and 80 deletions

View file

@ -1,6 +1,6 @@
All supported properties and their default values exposed from CSSStyleDeclaration from getComputedStyle:
'cssText': ''
'length': '204'
'length': '205'
'parentRule': 'null'
'cssFloat': 'none'
'WebkitAlignContent': 'normal'
@ -552,6 +552,7 @@ All supported properties and their default values exposed from CSSStyleDeclarati
'transition-property': 'all'
'transitionTimingFunction': 'ease'
'transition-timing-function': 'ease'
'translate': 'none'
'unicodeBidi': 'normal'
'unicode-bidi': 'normal'
'userSelect': 'auto'

View file

@ -197,13 +197,14 @@ All properties associated with getComputedStyle(document.body):
"194": "transition-duration",
"195": "transition-property",
"196": "transition-timing-function",
"197": "unicode-bidi",
"198": "user-select",
"199": "vertical-align",
"200": "width",
"201": "x",
"202": "y",
"203": "z-index"
"197": "translate",
"198": "unicode-bidi",
"199": "user-select",
"200": "vertical-align",
"201": "width",
"202": "x",
"203": "y",
"204": "z-index"
}
All properties associated with document.body.style by default:
{}

View file

@ -195,6 +195,7 @@ transition-delay: 0s
transition-duration: 0s
transition-property: all
transition-timing-function: ease
translate: none
unicode-bidi: normal
user-select: auto
vertical-align: baseline