mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
5.01k stars 2.01k forks source link

Mark api.PaintRenderingContext2D.filter as non-standard #25159

Closed skyclouds2001 closed 1 week ago

skyclouds2001 commented 1 week ago

Summary

the filter property is defined via CanvasFilters mixin, but PaintRenderingContext2D didn't include this mixin, meaning the PaintRenderingContext2D.filter property is non-standard

see https://drafts.css-houdini.org/css-paint-api/#paintrenderingcontext2d and https://html.spec.whatwg.org/multipage/canvas.html#canvasfilters

note that chromium has shipped this feature, see https://github.com/chromium/chromium/blob/main/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl#L33

the PaintRenderingContext2D.filter property's definition is still under discussion, see https://github.com/w3c/css-houdini-drafts/issues/1056, https://github.com/w3c/css-houdini-drafts/issues/1022, https://github.com/w3c/css-houdini-drafts/issues/398

Test results and supporting details

Related issues

Fixes https://github.com/mdn/browser-compat-data/issues/25098 Document update at https://github.com/mdn/content/pull/36830