mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
LibWeb: Move calc()-resolution code from Length to CalculatedStyleValue
The code is unchanged, just moved.
This commit is contained in:
parent
ee61739e0a
commit
db04b5687d
4 changed files with 115 additions and 120 deletions
|
@ -746,6 +746,7 @@ public:
|
|||
|
||||
String to_string() const override { return m_expression_string; }
|
||||
NonnullOwnPtr<CalcSum> const& expression() const { return m_expression; }
|
||||
Optional<Length> resolve_length(Layout::Node const& layout_node) const;
|
||||
|
||||
private:
|
||||
explicit CalculatedStyleValue(String const& expression_string, NonnullOwnPtr<CalcSum> calc_sum)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue