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:
parent
e0e8460c47
commit
ae2e01b77c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)});
|
||||
|
||||
""")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue