mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 10:25:10 +00:00
LibWeb: Fix HTMLCanvasElement::preferred_height() default value (#1490)
The correct height is 150px rather than 300px.
This commit is contained in:
parent
12b8cd8c10
commit
12e8efd74e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue