mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Stub out Element.currentCSSZoom
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 01:10:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/82f8b64017 Pull-request: https://github.com/SerenityOS/serenity/pull/23964
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user