1
0
Fork 0
firefox/testing/web-platform/tests/css/css-properties-values-api/crashtests/initial-in-audio-crash.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

13 lines
381 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1356699">
<audio>
<div>
<div id=test1></div>
</div>
</audio>
<script>
getComputedStyle(test1).getPropertyValue('--a');
CSS.registerProperty({name: '--a', syntax: '<length>', initialValue: '2px', inherits: false});
test1.style.setProperty('--a', 'initial');
getComputedStyle(test1).getPropertyValue('--a');
</script>