File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22< meta charset ="utf-8 ">
33< title > Worker example: image decoding</ title >
44
5- < label >
6- Type an image URL to decode
7- < input type ="url " id ="image-url " list ="image-list ">
8- < datalist id ="image-list ">
9- < option value ="https://html.spec.whatwg.org/images/drawImage.png ">
10- < option value ="https://html.spec.whatwg.org/images/robots.jpeg ">
11- < option value ="https://html.spec.whatwg.org/images/arcTo2.png ">
12- </ datalist >
13- </ label >
5+ < p >
6+ < label >
7+ Type an image URL to decode
8+ < input type ="url " id ="image-url " list ="image-list ">
9+ < datalist id ="image-list ">
10+ < option value ="https://html.spec.whatwg.org/images/drawImage.png ">
11+ < option value ="https://html.spec.whatwg.org/images/robots.jpeg ">
12+ < option value ="https://html.spec.whatwg.org/images/arcTo2.png ">
13+ </ datalist >
14+ </ label >
15+ </ p >
1416
15- < label >
16- Choose a filter to apply
17- < select id ="filter ">
18- < option value ="none "> none</ option >
19- < option value ="grayscale "> grayscale</ option >
20- < option value ="brighten "> brighten by 20%</ option >
21- </ select >
22- </ label >
17+ < p >
18+ < label >
19+ Choose a filter to apply
20+ < select id ="filter ">
21+ < option value ="none "> none</ option >
22+ < option value ="grayscale "> grayscale</ option >
23+ < option value ="brighten "> brighten by 20%</ option >
24+ </ select >
25+ </ label >
26+ </ p >
27+
28+ < canvas id ="output "> </ canvas >
2329
2430< script type ="module ">
2531 const worker = new Worker ( "worker.js" , { type : "module" } ) ;
Original file line number Diff line number Diff line change @@ -120579,6 +120579,7 @@ INSERT INTERFACES HERE
120579120579 Henrik Lied,
120580120580 Henry Mason,
120581120581 Henry Story,
120582+ Hermann Donfack Zeufack,
120582120583 Hugh Bellamy,
120583120584 Hugh Guiney,
120584120585 Hugh Winkler,
You can’t perform that action at this time.
0 commit comments