mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 21:20:18 +00:00
LibWeb/CSS: Use FlyString const& for property name IDL parameters
This commit is contained in:
parent
37fa6459fb
commit
a8312bf571
Notes:
github-actions[bot]
2025-10-02 12:48:32 +00:00
Author: https://github.com/AtkinsSJ
Commit: a8312bf571
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6310
10 changed files with 87 additions and 90 deletions
|
@ -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 property’s grammar, return true.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue