blob: dfc2b850a51fcedc6d61af7a93430e2cda5c8954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!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>
|