mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
imagebitmap: Remove ImageBitmap from experimental web platform features (#38050)
Enable by default the DOM "ImageBitmap" interface previously gated behind "dom.imagebitmap.enabled" preference as experimental web platform feature. https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagebitmap NOTE: Non blocking non supported functionality: - vector HTMImageElement, bitmap/vector SVGImageElement - EXIF image orientation Testing: Covered by existing WPT tests Fixes: #34112 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
This commit is contained in:
parent
54a02d5a34
commit
bf0e3f84d0
4 changed files with 1 additions and 6 deletions
|
@ -24,9 +24,7 @@ interface mixin WindowOrWorkerGlobalScope {
|
|||
undefined queueMicrotask(VoidFunction callback);
|
||||
|
||||
// ImageBitmap
|
||||
[Pref="dom_imagebitmap_enabled"]
|
||||
Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {});
|
||||
[Pref="dom_imagebitmap_enabled"]
|
||||
Promise<ImageBitmap> createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh,
|
||||
optional ImageBitmapOptions options = {});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue