mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +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
Notes:
sideshowbarker
2024-07-19 08:12:52 +09:00
Author: https://github.com/elisee Commit: https://github.com/SerenityOS/serenity/commit/12e8efd74ec Pull-request: https://github.com/SerenityOS/serenity/pull/1490
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…
Reference in a new issue