mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
LibWeb: Add xlink:href to SVG attribute names
This commit is contained in:
parent
ddf601830a
commit
55646893d8
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@ namespace Web::SVG::AttributeNames {
|
|||
E(x1) \
|
||||
E(x2) \
|
||||
E(xChannelSelector) \
|
||||
E(xlink_href) \
|
||||
E(y) \
|
||||
E(y1) \
|
||||
E(y2) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue