mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibWeb: Support window.devicePixelRatio
This always returns 1 for now. I've added a FIXME about returning 2 in HiDPI mode.
This commit is contained in:
parent
e26e85a3d2
commit
7410736b0f
4 changed files with 19 additions and 0 deletions
|
@ -87,6 +87,8 @@ public:
|
|||
|
||||
void fire_a_page_transition_event(FlyString event_name, bool persisted);
|
||||
|
||||
float device_pixel_ratio() const;
|
||||
|
||||
private:
|
||||
explicit Window(Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue