Meta: Mark generated CSS enum to_string() methods as WEB_API

A couple of these are going to be needed by DevTools, running in the
WebContent process. It links to LibWeb, but couldn't link to these
previously.
This commit is contained in:
Sam Atkins 2026-05-22 15:28:53 +01:00
parent e0e8460c47
commit ae2e01b77c

View file

@ -40,7 +40,7 @@ namespace Web::CSS {
out.write(f"""}};
Optional<{title_casify(name)}> keyword_to_{snake_casify(name)}(Keyword);
Keyword to_keyword({title_casify(name)});
StringView to_string({title_casify(name)});
WEB_API StringView to_string({title_casify(name)});
""")