mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Propagate CSS-wide keyword to transition longhands
Previously we would treat CSS-wide keywords as equivalent to "none"
This commit is contained in:
parent
335190e925
commit
3c6b8d5a2c
Notes:
github-actions[bot]
2025-06-16 11:39:11 +00:00
Author: https://github.com/Calme1709
Commit: 3c6b8d5a2c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5066
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 39 additions and 17 deletions
14
Tests/LibWeb/Text/input/css/transition-css-wide-keyword.html
Normal file
14
Tests/LibWeb/Text/input/css/transition-css-wide-keyword.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
#a {
|
||||
transition: initial;
|
||||
}
|
||||
</style>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println(document.styleSheets[0].cssRules[0].cssText);
|
||||
});
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue