Skip to content

Commit e472953

Browse files
committed
fix: set volume through DOM property
Already works when using spread attributes, but not when setting it on its own fixes #12029
1 parent 32b55ea commit e472953

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/src/compiler/phases/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const DOMProperties = [
44
...Object.values(AttributeAliases),
55
'value',
66
'inert',
7+
'volume',
78
...DOMBooleanAttributes
89
];
910

0 commit comments

Comments
 (0)