mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
LibWeb: Add xlink:href to SVG attribute names
This commit is contained in:
parent
ddf601830a
commit
55646893d8
Notes:
sideshowbarker
2024-07-17 11:33:34 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/55646893d8 Pull-request: https://github.com/SerenityOS/serenity/pull/21932 Reviewed-by: https://github.com/awesomekling
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…
Reference in a new issue