diff --git a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt index bc4bd6fac59..10b40dbfbe3 100644 --- a/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt +++ b/Tests/LibWeb/Text/expected/css/getComputedStyle-print-all.txt @@ -166,6 +166,9 @@ transform: none transform-box: view-box transform-origin: 50% 50% transition-delay: 0s +transition-duration: 0s +transition-property: all +transition-timing-function: ease user-select: auto vertical-align: baseline visibility: visible diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json index ab9f38f8ce4..60483c98a57 100644 --- a/Userland/Libraries/LibWeb/CSS/Properties.json +++ b/Userland/Libraries/LibWeb/CSS/Properties.json @@ -2348,7 +2348,19 @@ ], "percentages-resolve-to": "length" }, + "transition": { + "affects-layout": true, + "inherited": false, + "initial": "none", + "longhands": [ + "transition-property", + "transition-duration", + "transition-timing-function", + "transition-delay" + ] + }, "transition-delay": { + "affects-layout": true, "animation-type": "none", "inherited": false, "initial": "0s", @@ -2356,6 +2368,38 @@ "time" ] }, + "transition-duration": { + "affects-layout": true, + "animation-type": "none", + "inherited": false, + "initial": "0s", + "valid-types": [ + "time" + ] + }, + "transition-property": { + "affects-layout": true, + "animation-type": "none", + "inherited": false, + "initial": "all", + "valid-types": [ + "string", + "custom-ident" + ], + "valid-identifiers": [ + "all", + "none" + ] + }, + "transition-timing-function": { + "affects-layout": true, + "animation-type": "none", + "inherited": false, + "initial": "ease", + "valid-types": [ + "easing-function" + ] + }, "user-select": { "affects-layout": false, "animation-type": "discrete",