mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Extract transition coordination logic to reusable method
This will be useful for other coordinating list property groups (e.g. background and animation)
This commit is contained in:
parent
e78cb71eb3
commit
fc5cdd69a0
Notes:
github-actions[bot]
2025-10-23 09:11:30 +00:00
Author: https://github.com/Calme1709
Commit: fc5cdd69a0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6508
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 50 additions and 42 deletions
|
|
@ -84,6 +84,7 @@ public:
|
|||
Optional<LengthPercentage> length_percentage(PropertyID, Layout::NodeWithStyle const&, ClampNegativeLengths) const;
|
||||
LengthBox length_box(PropertyID left_id, PropertyID top_id, PropertyID right_id, PropertyID bottom_id, Layout::NodeWithStyle const&, ClampNegativeLengths, LengthPercentageOrAuto const& default_value) const;
|
||||
Color color_or_fallback(PropertyID, ColorResolutionContext, Color fallback) const;
|
||||
HashMap<PropertyID, StyleValueVector> assemble_coordinated_value_list(PropertyID base_property_id, Vector<PropertyID> const& property_ids) const;
|
||||
ColorInterpolation color_interpolation() const;
|
||||
PreferredColorScheme color_scheme(PreferredColorScheme, Optional<Vector<String> const&> document_supported_schemes) const;
|
||||
TextAnchor text_anchor() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue