diff --git a/features/bmp.yml b/features/bmp.yml new file mode 100644 index 00000000000..43dacb3be03 --- /dev/null +++ b/features/bmp.yml @@ -0,0 +1,5 @@ +name: BMP +description: The BMP image format is an uncompressed raster graphics file format. Also known as a bitmap. +spec: https://www.rfc-editor.org/rfc/rfc7903#section-1.2 +compat_features: + - mediatypes.image.bmp diff --git a/features/bmp.yml.dist b/features/bmp.yml.dist new file mode 100644 index 00000000000..4e5fcbb44bd --- /dev/null +++ b/features/bmp.yml.dist @@ -0,0 +1,17 @@ +# Generated from: bmp.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - mediatypes.image.bmp diff --git a/features/canvas.yml b/features/canvas.yml index 3e22db4f252..c590e495135 100644 --- a/features/canvas.yml +++ b/features/canvas.yml @@ -13,7 +13,9 @@ compat_features: - api.HTMLCanvasElement.getContext - api.HTMLCanvasElement.height - api.HTMLCanvasElement.toBlob + - api.HTMLCanvasElement.toBlob.type_parameter_jpeg - api.HTMLCanvasElement.toDataURL + - api.HTMLCanvasElement.toDataURL.type_parameter_jpeg - api.HTMLCanvasElement.width - html.elements.canvas - html.elements.canvas.height diff --git a/features/canvas.yml.dist b/features/canvas.yml.dist index 92df1197e78..64e39bb3443 100644 --- a/features/canvas.yml.dist +++ b/features/canvas.yml.dist @@ -71,3 +71,5 @@ compat_features: # safari: "11" # safari_ios: "11" - api.HTMLCanvasElement.toBlob + - api.HTMLCanvasElement.toBlob.type_parameter_jpeg + - api.HTMLCanvasElement.toDataURL.type_parameter_jpeg diff --git a/features/gif.yml b/features/gif.yml new file mode 100644 index 00000000000..3067136431b --- /dev/null +++ b/features/gif.yml @@ -0,0 +1,6 @@ +name: GIF +description: The GIF (Graphics Interchange Format) image format is a raster graphics file format with animation and lossless compression. +spec: + - https://www.w3.org/Graphics/GIF/spec-gif89a.txt#top +compat_features: + - mediatypes.image.gif diff --git a/features/gif.yml.dist b/features/gif.yml.dist new file mode 100644 index 00000000000..d755662808b --- /dev/null +++ b/features/gif.yml.dist @@ -0,0 +1,17 @@ +# Generated from: gif.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - mediatypes.image.gif diff --git a/features/jpeg.yml b/features/jpeg.yml new file mode 100644 index 00000000000..6ba916475c6 --- /dev/null +++ b/features/jpeg.yml @@ -0,0 +1,5 @@ +name: JPEG +description: The JPEG image format is a raster graphics file format with lossy compression. +spec: https://jpeg.org/jpeg/#content +compat_features: + - mediatypes.image.jpeg diff --git a/features/jpeg.yml.dist b/features/jpeg.yml.dist new file mode 100644 index 00000000000..944f05249cb --- /dev/null +++ b/features/jpeg.yml.dist @@ -0,0 +1,17 @@ +# Generated from: jpeg.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - mediatypes.image.jpeg diff --git a/scripts/specs.ts b/scripts/specs.ts index b094b06f2d6..732782148ae 100644 --- a/scripts/specs.ts +++ b/scripts/specs.ts @@ -199,6 +199,14 @@ const defaultAllowlist: allowlistItem[] = [ [ "http://webmachinelearning.github.io/prompt-api/", "Allowed because that's where LanguageModel (aka Prompt API) spec currently lives." + ], + [ + "https://jpeg.org/jpeg/#content", + "Allowed because it's a spec not tracked in web-specs." + ], + [ + "https://www.rfc-editor.org/rfc/rfc7903#section-1.2", + "Allowed because it's a spec not tracked in web-specs." ] ];