From 560317b3d05e0bad69d1e9ccdf49f2aaafe15c8d Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 3 May 2025 12:40:10 +0100 Subject: [PATCH] LibWeb/CSS: Update spec comment in calc() simplification algorithm This was corrected in https://github.com/w3c/csswg-drafts/commit/8bcf3ada9e8b732f93daee5749b46503017cc4bd --- Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp b/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp index f7f87535265..c819cce6f72 100644 --- a/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp +++ b/Libraries/LibWeb/CSS/StyleValues/CalculatedStyleValue.cpp @@ -3243,8 +3243,7 @@ NonnullRefPtr 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; }