mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Don't swap atan2 arguments in with_simplified_children
This commit is contained in:
parent
670cbccb4c
commit
2d331b9176
Notes:
github-actions[bot]
2025-10-23 08:36:03 +00:00
Author: https://github.com/Calme1709
Commit: 2d331b9176
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6544
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 8 additions and 9 deletions
|
|
@ -1814,7 +1814,7 @@ bool Atan2CalculationNode::contains_percentage() const
|
|||
|
||||
NonnullRefPtr<CalculationNode const> Atan2CalculationNode::with_simplified_children(CalculationContext const& context, CalculationResolutionContext const& resolution_context) const
|
||||
{
|
||||
return simplify_2_children(*this, m_x, m_y, context, resolution_context);
|
||||
return simplify_2_children(*this, m_y, m_x, context, resolution_context);
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/css-values-4/#funcdef-atan2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue