mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
LibWeb: Add one of the two documented constructors to ImageData
Also adds the IDL types: - dictionary ImageDataSettings - enum PredefinedColorSpace.
This commit is contained in:
committed by
Andreas Kling
parent
6adf1be06b
commit
30a02fef91
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/30a02fef91 Pull-request: https://github.com/SerenityOS/serenity/pull/23692 Reviewed-by: https://github.com/awesomekling
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
let imageData = new ImageData(100, 100);
|
||||
println(imageData.data);
|
||||
println(imageData.data.length);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user