LibWeb: Add xlink:href to SVG attribute names

This commit is contained in:
Luke Wilde 2023-11-14 00:52:56 +00:00 committed by Andreas Kling
parent ddf601830a
commit 55646893d8
Notes: sideshowbarker 2024-07-17 11:33:34 +09:00
2 changed files with 4 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 case for attributes with ':' in them.
xlink_href = "xlink:href"_fly_string;
s_initialized = true;
}

View File

@ -90,6 +90,7 @@ namespace Web::SVG::AttributeNames {
E(x1) \
E(x2) \
E(xChannelSelector) \
E(xlink_href) \
E(y) \
E(y1) \
E(y2) \