mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb: Parse the rotate css property
This commit is contained in:
parent
8ac60273a6
commit
488436fb54
Notes:
github-actions[bot]
2024-10-29 14:41:49 +00:00
Author: https://github.com/stelar7
Commit: 488436fb54
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1823
Reviewed-by: https://github.com/AtkinsSJ ✅
17 changed files with 284 additions and 0 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue