mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Stub out Element.currentCSSZoom
This commit is contained in:
parent
20bdda7f02
commit
82f8b64017
Notes:
sideshowbarker
2024-07-17 01:10:58 +09:00
Author: https://github.com/awesomekling
Commit: 82f8b64017
Pull-request: https://github.com/SerenityOS/serenity/pull/23964
3 changed files with 9 additions and 1 deletions
|
@ -992,6 +992,13 @@ int Element::client_height() const
|
|||
return paintable_box()->absolute_padding_box_rect().height().to_int();
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#dom-element-currentcsszoom
|
||||
double Element::current_css_zoom() const
|
||||
{
|
||||
dbgln("FIXME: Implement Element::current_css_zoom()");
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
void Element::inserted()
|
||||
{
|
||||
Base::inserted();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue