1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

LibWeb: Evaluate @media CSS rules when updating style

In case we have new @media rules, we need to make sure we've evaluated
them before actually recomputing styles for the document.
This commit is contained in:
Andreas Kling 2022-03-20 16:18:43 +01:00
parent 80ed2ab557
commit 618b857457
2 changed files with 8 additions and 0 deletions

View file

@ -345,6 +345,8 @@ private:
void tear_down_layout_tree();
void evaluate_media_rules();
ExceptionOr<void> run_the_document_write_steps(String);
void increment_referencing_node_count()