mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb: Make HTML::Window::page() return a Page&
This commit is contained in:
parent
7c95ebc302
commit
9793d69d4f
10 changed files with 40 additions and 83 deletions
|
@ -165,7 +165,7 @@ bool MediaFeature::compare(HTML::Window const& window, MediaFeatureValue left, C
|
|||
left_px = left.length().absolute_length_to_px();
|
||||
right_px = right.length().absolute_length_to_px();
|
||||
} else {
|
||||
auto viewport_rect = window.page()->web_exposed_screen_area();
|
||||
auto viewport_rect = window.page().web_exposed_screen_area();
|
||||
|
||||
auto const& initial_font = window.associated_document().style_computer().initial_font();
|
||||
Gfx::FontPixelMetrics const& initial_font_metrics = initial_font.pixel_metrics();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue