File tree Expand file tree Collapse file tree 2 files changed +72
-0
lines changed
packages/svelte/tests/runtime-runes/samples/attribute-boolean-case-insensitivity Expand file tree Collapse file tree 2 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ import { test } from '../../test' ;
2+
3+ export default test ( {
4+ html : `
5+ <script nomodule async defer></script>
6+ <form novalidate></form>
7+ <input readonly required checked webkitdirectory>
8+ <select multiple disabled></select>
9+ <button formnovalidate></button>
10+ <img ismap>
11+ <video autoplay controls loop muted playsinline disablepictureinpicture disableremoteplayback></video>
12+ <audio disableremoteplayback></audio>
13+ <track default>
14+ <iframe allowfullscreen></iframe>
15+ <details open></details>
16+ <ol reversed></ol>
17+ <div autofocus></div>
18+ <span inert></span>
19+
20+ <script nomodule async defer></script>
21+ <form novalidate></form>
22+ <input readonly required checked webkitdirectory>
23+ <select multiple disabled></select>
24+ <button formnovalidate></button>
25+ <img ismap>
26+ <video autoplay controls loop muted playsinline disablepictureinpicture disableremoteplayback></video>
27+ <audio disableremoteplayback></audio>
28+ <track default>
29+ <iframe allowfullscreen></iframe>
30+ <details open></details>
31+ <ol reversed></ol>
32+ <div autofocus></div>
33+ <span inert></span>
34+
35+ <script></script>
36+ <form></form>
37+ <input>
38+ <select></select>
39+ <button></button>
40+ <img>
41+ <video></video>
42+ <audio></audio>
43+ <track>
44+ <iframe></iframe>
45+ <details></details>
46+ <ol></ol>
47+ <div></div>
48+ <span></span>
49+ `
50+ } ) ;
Original file line number Diff line number Diff line change 1+ <script >
2+ let runesMode = $state (' using a rune so that we trigger runes mode' );
3+
4+ const attributeValues = [true , ' test' , false ];
5+ </script >
6+
7+ {#each attributeValues as val }
8+ <script NOMODULE ={val } ASYNC ={val } DEFER ={val }></script >
9+ <form NOVALIDATE ={val }></form >
10+ <input READONLY ={val } REQUIRED ={val } CHECKED ={val } WEBKITDIRECTORY ={val } />
11+ <select MULTIPLE ={val } DISABLED ={val }></select >
12+ <button FORMNOVALIDATE ={val }></button >
13+ <img ISMAP ={val } />
14+ <video AUTOPLAY ={val } CONTROLS ={val } LOOP ={val } MUTED ={val } PLAYSINLINE ={val } DISABLEPICTUREINPICTURE ={val } DISABLEREMOTEPLAYBACK ={val }></video >
15+ <audio DISABLEREMOTEPLAYBACK ={val }></audio >
16+ <track DEFAULT ={val } />
17+ <iframe ALLOWFULLSCREEN ={val }></iframe >
18+ <details OPEN ={val }></details >
19+ <ol REVERSED ={val }></ol >
20+ <div AUTOFOCUS ={val }></div >
21+ <span INERT ={val }></span >
22+ {/each }
You can’t perform that action at this time.
0 commit comments