mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibWeb: Give StyleComputer a helper for getting the current viewport
This commit is contained in:
parent
3c1815a0d9
commit
aa45cdf71d
2 changed files with 21 additions and 20 deletions
|
@ -86,6 +86,9 @@ private:
|
|||
template<typename Callback>
|
||||
void for_each_stylesheet(CascadeOrigin, Callback) const;
|
||||
|
||||
Gfx::IntRect viewport_rect() const;
|
||||
float root_element_font_size() const;
|
||||
|
||||
struct MatchingRuleSet {
|
||||
Vector<MatchingRule> user_agent_rules;
|
||||
Vector<MatchingRule> author_rules;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue