mirror of https://github.com/sveltejs/svelte
fix: special-case width/height attribute during spread (#8412)
fixes #6752 --------- Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>pull/8022/merge
parent
def1890f4f
commit
3a7685fef5
@ -0,0 +1,4 @@
|
||||
export default {
|
||||
// https://github.com/sveltejs/svelte/issues/6752
|
||||
html: '<img height="100%" width="100%" alt="" />'
|
||||
};
|
@ -0,0 +1 @@
|
||||
<img height="100%" width="100%" alt="" {...$$restProps} />
|
Loading…
Reference in new issue