1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

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
2 changed files with 4 additions and 0 deletions

View file

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

View file

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