LibWeb/CSS: Update spec comment in calc() simplification algorithm

This was corrected in 8bcf3ada9e
This commit is contained in:
Sam Atkins 2025-05-03 12:40:10 +01:00 committed by Tim Ledbetter
commit 560317b3d0
Notes: github-actions[bot] 2025-05-03 13:55:37 +00:00

View file

@ -3243,8 +3243,7 @@ NonnullRefPtr<CalculationNode const> simplify_a_calculation_tree(CalculationNode
return ProductCalculationNode::create(move(children));
}
// AD-HOC: Math-function nodes that cannot be fully simplified will reach here.
// Spec bug: https://github.com/w3c/csswg-drafts/issues/11572
// 10. Return root.
return root;
}