|
@@ -97,6 +97,7 @@
|
|
#include <LibWeb/SVG/SVGRectElement.h>
|
|
#include <LibWeb/SVG/SVGRectElement.h>
|
|
#include <LibWeb/SVG/SVGSVGElement.h>
|
|
#include <LibWeb/SVG/SVGSVGElement.h>
|
|
#include <LibWeb/SVG/SVGStopElement.h>
|
|
#include <LibWeb/SVG/SVGStopElement.h>
|
|
|
|
+#include <LibWeb/SVG/SVGStyleElement.h>
|
|
#include <LibWeb/SVG/SVGSymbolElement.h>
|
|
#include <LibWeb/SVG/SVGSymbolElement.h>
|
|
#include <LibWeb/SVG/SVGTextContentElement.h>
|
|
#include <LibWeb/SVG/SVGTextContentElement.h>
|
|
#include <LibWeb/SVG/SVGTitleElement.h>
|
|
#include <LibWeb/SVG/SVGTitleElement.h>
|
|
@@ -456,6 +457,8 @@ static WebIDL::ExceptionOr<JS::GCPtr<SVG::SVGElement>> create_svg_element(JS::Re
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGGElement>(realm, document, move(qualified_name)));
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGGElement>(realm, document, move(qualified_name)));
|
|
if (local_name == SVG::TagNames::stop)
|
|
if (local_name == SVG::TagNames::stop)
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGStopElement>(realm, document, move(qualified_name)));
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGStopElement>(realm, document, move(qualified_name)));
|
|
|
|
+ if (local_name == SVG::TagNames::style)
|
|
|
|
+ return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGStyleElement>(realm, document, move(qualified_name)));
|
|
if (local_name == SVG::TagNames::symbol)
|
|
if (local_name == SVG::TagNames::symbol)
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGSymbolElement>(realm, document, move(qualified_name)));
|
|
return MUST_OR_THROW_OOM(realm.heap().allocate<SVG::SVGSymbolElement>(realm, document, move(qualified_name)));
|
|
if (local_name == SVG::TagNames::text)
|
|
if (local_name == SVG::TagNames::text)
|