File tree Expand file tree Collapse file tree 2 files changed +24
-17
lines changed Expand file tree Collapse file tree 2 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 2
2
< meta charset ="utf-8 ">
3
3
< title > Worker example: image decoding</ title >
4
4
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 >
14
16
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 >
23
29
24
30
< script type ="module ">
25
31
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
120579
120579
Henrik Lied,
120580
120580
Henry Mason,
120581
120581
Henry Story,
120582
+ Hermann Donfack Zeufack,
120582
120583
Hugh Bellamy,
120583
120584
Hugh Guiney,
120584
120585
Hugh Winkler,
You can’t perform that action at this time.
0 commit comments