mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
This required us to change our range values from `float`s to `double`s since `float` can't exactly represent i32 max
20 lines
659 B
HTML
20 lines
659 B
HTML
<!doctype html>
|
|
<style>
|
|
#foo {
|
|
order: calc(4294967296);
|
|
animation-timing-function: steps(calc(4294967296), end);
|
|
}
|
|
</style>
|
|
<div id="foo"></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(`Specified order: ${document.styleSheets[0].cssRules[0].style.order}`);
|
|
println(`Computed order: ${getComputedStyle(foo).order}`);
|
|
println(
|
|
`Specified animation-timing-function: ${document.styleSheets[0].cssRules[0].style.animationTimingFunction}`
|
|
);
|
|
println(`Computed animation-timing-function: ${getComputedStyle(foo).animationTimingFunction}`);
|
|
});
|
|
</script>
|