mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
13 lines
381 B
HTML
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>
|