mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 21:20:18 +00:00
LibWeb/CSS: Implement "Create a sum value"
This commit is contained in:
parent
1c952b01ac
commit
80abffd2e8
Notes:
github-actions[bot]
2025-09-12 11:46:44 +00:00
Author: https://github.com/AtkinsSJ
Commit: 80abffd2e8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6162
Reviewed-by: https://github.com/gmta ✅
17 changed files with 320 additions and 1 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
GC::Ptr<CSSUnitValue> converted_to_unit(FlyString const& unit) const;
|
||||
|
||||
virtual bool is_equal_numeric_value(GC::Ref<CSSNumericValue> other) const override;
|
||||
virtual Optional<SumValue> create_a_sum_value() const override;
|
||||
|
||||
private:
|
||||
explicit CSSUnitValue(JS::Realm&, double value, FlyString unit, NumericType type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue