mirror of https://github.com/sveltejs/svelte
parent
073f4d8911
commit
575900de88
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: ensure input elements and elements with `dir` attribute are marked as non-static
|
@ -0,0 +1,9 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
test(assert, target) {
|
||||||
|
const p = target.querySelector('p');
|
||||||
|
|
||||||
|
assert.equal(p?.dir, 'rtl');
|
||||||
|
}
|
||||||
|
});
|
@ -0,0 +1 @@
|
|||||||
|
<p dir="rtl">text</p>.
|
@ -0,0 +1,9 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
test(assert, target) {
|
||||||
|
const input = target.querySelector('input');
|
||||||
|
|
||||||
|
assert.equal(input?.checked, true);
|
||||||
|
}
|
||||||
|
});
|
@ -0,0 +1 @@
|
|||||||
|
<!--[--><!---->.<input><!--]-->
|
@ -0,0 +1 @@
|
|||||||
|
.<input checked />
|
Loading…
Reference in new issue