LibWeb: Factor out CanvasSettings mixin into separate file

This refactors this mixin, that was introduced in #4506 to be the same
as all other mixins, so that it can be used for #3788
This commit is contained in:
Totto16 2025-05-13 20:51:41 +02:00 committed by Andrew Kaster
commit cee874caaf
Notes: github-actions[bot] 2025-06-17 22:55:15 +00:00
4 changed files with 43 additions and 15 deletions

View file

@ -0,0 +1,5 @@
// https://html.spec.whatwg.org/multipage/canvas.html#canvassettings
interface mixin CanvasSettings {
// settings
CanvasRenderingContext2DSettings getContextAttributes();
};