1
0
Fork 0
firefox/testing/web-platform/tests/css/css-properties-values-api/crashtests/transition-to-none-crash-002.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
441 B
HTML

<!doctype html>
<meta charset=utf8>
<style>
div {
transition: --my-property steps(2, start) 100s;
}
</style>
<div id=div></div>
<script>
let style = document.createElement('style');
style.textContent = `
@property --my-property {
syntax: "<angle>";
inherits: false;
initial-value: 0deg;
}
`;
document.documentElement.append(style);
getComputedStyle(div).getPropertyValue("--my-property");
style.remove();
</script>