|
|
|
@ -7,13 +7,11 @@ export default {
|
|
|
|
indeterminate: true
|
|
|
|
indeterminate: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
html: `
|
|
|
|
html: '<input type=\'checkbox\'>',
|
|
|
|
<input type='checkbox'>
|
|
|
|
|
|
|
|
`,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// somehow ssr will render indeterminate=""
|
|
|
|
// somehow ssr will render indeterminate=""
|
|
|
|
// the hydrated html will still contain that attribute
|
|
|
|
// the hydrated html will still contain that attribute
|
|
|
|
ssrHtml: `<input type='checkbox' indeterminate="">`,
|
|
|
|
ssrHtml: '<input type=\'checkbox\' indeterminate="">',
|
|
|
|
|
|
|
|
|
|
|
|
test({ assert, component, target }) {
|
|
|
|
test({ assert, component, target }) {
|
|
|
|
const input = target.querySelector('input');
|
|
|
|
const input = target.querySelector('input');
|
|
|
|
|