LibWeb/CSS: Use FlyString const& for property name IDL parameters

This commit is contained in:
Sam Atkins 2025-09-25 12:43:52 +01:00
commit a8312bf571
Notes: github-actions[bot] 2025-10-02 12:48:32 +00:00
10 changed files with 87 additions and 90 deletions

View file

@ -26,7 +26,7 @@ WebIDL::ExceptionOr<String> escape(JS::VM&, StringView identifier)
}
// https://www.w3.org/TR/css-conditional-3/#dom-css-supports
bool supports(JS::VM&, StringView property, StringView value)
bool supports(JS::VM&, FlyString const& property, StringView value)
{
// 1. If property is an ASCII case-insensitive match for any defined CSS property that the UA supports,
// and value successfully parses according to that propertys grammar, return true.