ladybird/Tests/LibWeb/Text/input/HTML/ImageData-create-with-size.html
Kenneth Myhra 30a02fef91 LibWeb: Add one of the two documented constructors to ImageData
Also adds the IDL types:
- dictionary ImageDataSettings
- enum PredefinedColorSpace.
2024-03-24 11:09:09 +01:00

9 lines
220 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {
let imageData = new ImageData(100, 100);
println(imageData.data);
println(imageData.data.length);
});
</script>