|
|
@ -75,6 +75,16 @@ export function RegularElement(node, context) {
|
|
|
|
node.attributes.push(create_attribute('value', child.start, child.end, [child]));
|
|
|
|
node.attributes.push(create_attribute('value', child.start, child.end, [child]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
node.attributes.some(
|
|
|
|
|
|
|
|
(attribute) =>
|
|
|
|
|
|
|
|
attribute.type === 'Attribute' &&
|
|
|
|
|
|
|
|
(attribute.name === 'autofocus' || attribute.name === 'muted')
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
mark_subtree_dynamic(context.path);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const binding = context.state.scope.get(node.name);
|
|
|
|
const binding = context.state.scope.get(node.name);
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
binding !== null &&
|
|
|
|
binding !== null &&
|
|
|
|