LibWeb: Implement CSSImportRule.supportsText

Returns the supports condition specified by the given import at-rule.
This commit is contained in:
Tim Ledbetter 2025-03-19 11:32:34 +00:00 committed by Jelle Raaijmakers
commit 5d57723ebf
Notes: github-actions[bot] 2025-03-19 15:43:53 +00:00
7 changed files with 35 additions and 3 deletions

View file

@ -22,7 +22,7 @@ MatchResult Supports::Declaration::evaluate(HTML::Window const*) const
String Supports::Declaration::to_string() const
{
return MUST(String::formatted("({})", m_declaration));
return m_declaration;
}
void Supports::Declaration::dump(StringBuilder& builder, int indent_levels) const