LibWeb: Parse the rotate css property

This commit is contained in:
stelar7 2024-10-16 08:50:35 +02:00 committed by Sam Atkins
commit 488436fb54
Notes: github-actions[bot] 2024-10-29 14:41:49 +00:00
17 changed files with 284 additions and 0 deletions

View file

@ -85,6 +85,8 @@ public:
bool resolves_to_angle() const { return m_resolved_type.matches_angle(); }
bool resolves_to_angle_percentage() const { return m_resolved_type.matches_angle_percentage(); }
Optional<Angle> resolve_angle() const;
Optional<Angle> resolve_angle(Layout::Node const& layout_node) const;
Optional<Angle> resolve_angle(Length::ResolutionContext const& context) const;
Optional<Angle> resolve_angle_percentage(Angle const& percentage_basis) const;
bool resolves_to_flex() const { return m_resolved_type.matches_flex(); }