LibWeb: Implement SVGElement.className

This commit is contained in:
Jamie Mansfield 2024-07-09 20:59:00 +01:00 committed by Andreas Kling
commit 9d1ea4c7e0
Notes: sideshowbarker 2024-07-17 03:00:02 +09:00
7 changed files with 32 additions and 0 deletions

View file

@ -22,6 +22,9 @@ void initialize_strings()
ENUMERATE_SVG_ATTRIBUTES(__ENUMERATE_SVG_ATTRIBUTE)
#undef __ENUMERATE_SVG_ATTRIBUTE
// NOTE: Special cases for C++ keywords.
class_ = "class"_fly_string;
// NOTE: Special case for attributes with ':' in them.
xlink_href = "xlink:href"_fly_string;