mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
LibWeb: Implement HTMLCanvasElement.toBlob()
This commit is contained in:
parent
3239f0fb7b
commit
b731705fec
4 changed files with 52 additions and 1 deletions
|
@ -44,6 +44,9 @@ public:
|
|||
// Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
|
||||
// Keep this field last, to serve as the base value of all unique task sources.
|
||||
UniqueTaskSourceStart,
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#canvas-blob-serialisation-task-source
|
||||
CanvasBlobSerializationTask,
|
||||
};
|
||||
|
||||
static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue