LibWeb/CSS: Remove debug logging I left in by accident

This commit is contained in:
Sam Atkins 2025-07-21 13:30:42 +01:00
commit d55626dc32
Notes: github-actions[bot] 2025-08-04 09:53:04 +00:00

View file

@ -345,10 +345,8 @@ Vector<ComponentValue> substitute_arbitrary_substitution_functions(DOM::Abstract
Vector<ComponentValue> new_values;
TokenStream source { values };
auto maybe_error = substitute_arbitrary_substitution_functions_step_2(element, guarded_contexts, source, new_values);
if (maybe_error.is_error()) {
dbgln_if(CSS_PARSER_DEBUG, "{} (context? {})", maybe_error.release_error(), context.map([](auto& it) { return it.to_string(); }));
if (maybe_error.is_error())
return { ComponentValue { GuaranteedInvalidValue {} } };
}
// 3. If context is marked as a cyclic substitution context, return the guaranteed-invalid value.
// NOTE: Nested arbitrary substitution functions may have marked context as cyclic in step 2.