LibWeb: Fix HTMLCanvasElement::preferred_height() default value (#1490)

The correct height is 150px rather than 300px.
This commit is contained in:
Elisée Maurer 2020-03-20 15:19:38 +01:00 committed by GitHub
parent 12b8cd8c10
commit 12e8efd74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 08:12:52 +09:00

View File

@ -59,7 +59,7 @@ int HTMLCanvasElement::preferred_height() const
if (ok)
return height;
return 300;
return 150;
}
RefPtr<LayoutNode> HTMLCanvasElement::create_layout_node(const StyleProperties* parent_style) const