#490: Image Resource
Discussions
2020-04-13
Rossen: This seems quite straightforward. David had some questions unaddressed.
David: Not sure if it makes sense to go in to the technicalities, this is effectively a struct
Rossen: The sizes part of this spec is a bit strange, do we have other cases that provide an interface that should be matched for consistency?
My question is - if a specific size fails, should it throw or try to fall back to a default size?
David: There is a section in the HTML spec about parsing (shares link)
Rossen: But this doesn't match up with what the spec says. The spec has a hard throw if it fails, which doesn't look possible in the HTML spec parsing.
Peter: Explainer?
Sangwhan: Doesn't exist but not sure if it's worth picking the figh
2020-04-20
David: Propose closing it - we spent a lot of time on this given its small size. I think we've given them a lot more feedback than those 3 paragraphs would have gotten had they stayed in their original spec.
Ken: I am OK with that.
David: Defer to plenary whether we will close or not.
OpenedMar 25, 2020
Hello TAG!
I'm requesting a TAG review of Image Resource.
The specification defines the concept of an "image resource" and a corresponding WebIDL ImageResource dictionary. Web APIs can use the ImageResource dictionary to represent an image resource in contexts where an HTMLImageElement is not suitable or available (e.g., in a Worker).
Further details:
You should also know that this proposed spec is an extraction of Image Resource from the Web App Manifest.
We'd prefer the TAG provide feedback as a comment in this issue and @-notify @marcoscaceres @aarongustafson @rayankans