/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/ImageBitmapRenderingContext.webidl
14 строк
562 B
Andrei Volykhin
canvas: Add initial support of ImageBitmapRenderingContext (#37998)
15 июл 2025, 11:03
Не верифицирован
15 июл 2025, 11:03
c817d7b
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ /// <https://html.spec.whatwg.org/multipage/#imagebitmaprenderingcontext> [Exposed=(Window,Worker)] interface ImageBitmapRenderingContext { readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas; [Throws] undefined transferFromImageBitmap(ImageBitmap? bitmap); }; dictionary ImageBitmapRenderingContextSettings { boolean alpha = true; };