mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
This matches the behavior of other browsers. Previously we implemented this at used-value time for z-index specifically.
19 lines
626 B
HTML
19 lines
626 B
HTML
<!doctype html>
|
|
<style>
|
|
#foo {
|
|
order: -2147483649;
|
|
animation-timing-function: steps(2147483648, jump-start);
|
|
}
|
|
</style>
|
|
<div id="foo"></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const style = document.styleSheets[0].cssRules[0].style;
|
|
println(`Specified order: ${style.order}`);
|
|
println(`Computed order: ${getComputedStyle(foo).order}`);
|
|
println(`Specified animation-timing-function: ${style.animationTimingFunction}`);
|
|
println(`Computed animation-timing-function: ${getComputedStyle(foo).animationTimingFunction}`);
|
|
});
|
|
</script>
|