Truly independent web browser
LibWeb: Add DOM interfaces for the convolution and lighting primitives
Andreas Klingf44f5c6a4656
diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txtindex 5e7cc8c9e82..f8cb1875686 100644--- a/Libraries/LibWeb/CMakeLists.txt+++ b/Libraries/LibWeb/CMakeLists.txt@@ -855,6 +855,7 @@ set(SOURCESSVG/SMILAnimation.cppSVG/SMILTimeContainer.cppSVG/SVGAElement.cpp+ SVG/SVGAnimatedBoolean.cppSVG/SVGAnimatedEnumeration.cppSVG/SVGAnimatedInteger.cppSVG/SVGAnimatedLength.cpp@@ -878,7 +879,10 @@ set(SOURCESSVG/SVGFEColorMatrixElement.cppSVG/SVGFEComponentTransferElement.cppSVG/SVGFECompositeElement.cpp+ SVG/SVGFEConvolveMatrixElement.cpp+ SVG/SVGFEDiffuseLightingElement.cppSVG/SVGFEDisplacementMapElement.cpp+ SVG/SVGFEDistantLightElement.cppSVG/SVGFEDropShadowElement.cppSVG/SVGFEFloodElement.cppSVG/SVGFEFuncAElement.cpp@@ -891,6 +895,9 @@ set(SOURCESSVG/SVGFEMergeNodeElement.cppSVG/SVGFEMorphologyElement.cppSVG/SVGFEOffsetElement.cpp+ SVG/SVGFEPointLightElement.cpp+ SVG/SVGFESpecularLightingElement.cpp+ SVG/SVGFESpotLightElement.cppSVG/SVGFETurbulenceElement.cppSVG/SVGFilterElement.cppSVG/SVGFilterPrimitiveStandardAttributes.cppdiff --git a/Libraries/LibWeb/DOM/ElementFactory.cpp b/Libraries/LibWeb/DOM/ElementFactory.cppindex 37810011a21..d3540b67168 100644--- a/Libraries/LibWeb/DOM/ElementFactory.cpp+++ b/Libraries/LibWeb/DOM/ElementFactory.cpp@@ -105,7 +105,10 @@#include <LibWeb/SVG/SVGFEColorMatrixElement.h>#include <LibWeb/SVG/SVGFEComponentTransferElement.h>#include <LibWeb/SVG/SVGFECompositeElement.h>+#include <LibWeb/SVG/SVGFEConvolveMatrixElement.h>+#include <LibWeb/SVG/SVGFEDiffuseLightingElement.h>#include <LibWeb/SVG/SVGFEDisplacementMapElement.h>+#include <LibWeb/SVG/SVGFEDistantLightElement.h>#include <LibWeb/SVG/SVGFEDropShadowElement.h>#include <LibWeb/SVG/SVGFEFloodElement.h>#include <LibWeb/SVG/SVGFEFuncAElement.h>@@ -118,6 +121,9 @@#include <LibWeb/SVG/SVGFEMergeNodeElement.h>#include <LibWeb/SVG/SVGFEMorphologyElement.h>#include <LibWeb/SVG/SVGFEOffsetElement.h>+#include <LibWeb/SVG/SVGFEPointLightElement.h>+#include <LibWeb/SVG/SVGFESpecularLightingElement.h>+#include <LibWeb/SVG/SVGFESpotLightElement.h>#include <LibWeb/SVG/SVGFETurbulenceElement.h>#include <LibWeb/SVG/SVGFilterElement.h>#include <LibWeb/SVG/SVGForeignObjectElement.h>@@ -535,8 +541,14 @@ static GC::Ref<SVG::SVGElement> create_svg_element(Document& document, Qualifiedreturn create_element_on_heap<SVG::SVGFEComponentTransferElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feComposite)return create_element_on_heap<SVG::SVGFECompositeElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::feConvolveMatrix)+ return create_element_on_heap<SVG::SVGFEConvolveMatrixElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::feDiffuseLighting)+ return create_element_on_heap<SVG::SVGFEDiffuseLightingElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feDisplacementMap)return create_element_on_heap<SVG::SVGFEDisplacementMapElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::feDistantLight)+ return create_element_on_heap<SVG::SVGFEDistantLightElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feDropShadow)return create_element_on_heap<SVG::SVGFEDropShadowElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feFlood)@@ -561,6 +573,12 @@ static GC::Ref<SVG::SVGElement> create_svg_element(Document& document, Qualifiedreturn create_element_on_heap<SVG::SVGFEMorphologyElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feOffset)return create_element_on_heap<SVG::SVGFEOffsetElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::fePointLight)+ return create_element_on_heap<SVG::SVGFEPointLightElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::feSpecularLighting)+ return create_element_on_heap<SVG::SVGFESpecularLightingElement>(document, move(qualified_name));+ if (local_name == SVG::TagNames::feSpotLight)+ return create_element_on_heap<SVG::SVGFESpotLightElement>(document, move(qualified_name));if (local_name == SVG::TagNames::feTurbulence)return create_element_on_heap<SVG::SVGFETurbulenceElement>(document, move(qualified_name));if (local_name == SVG::TagNames::filter)diff --git a/Libraries/LibWeb/SVG/AttributeNames.h b/Libraries/LibWeb/SVG/AttributeNames.hindex d61b62f7b46..4c2c82a05e4 100644--- a/Libraries/LibWeb/SVG/AttributeNames.h+++ b/Libraries/LibWeb/SVG/AttributeNames.h@@ -15,8 +15,10 @@ namespace Web::SVG::AttributeNames {__ENUMERATE_SVG_ATTRIBUTE(amplitude, "amplitude") \__ENUMERATE_SVG_ATTRIBUTE(attributeName, "attributeName") \__ENUMERATE_SVG_ATTRIBUTE(attributeType, "attributeType") \+ __ENUMERATE_SVG_ATTRIBUTE(azimuth, "azimuth") \__ENUMERATE_SVG_ATTRIBUTE(baseFrequency, "baseFrequency") \__ENUMERATE_SVG_ATTRIBUTE(baseProfile, "baseProfile") \+ __ENUMERATE_SVG_ATTRIBUTE(bias, "bias") \__ENUMERATE_SVG_ATTRIBUTE(calcMode, "calcMode") \__ENUMERATE_SVG_ATTRIBUTE(class_, "class") \__ENUMERATE_SVG_ATTRIBUTE(clipPathUnits, "clipPathUnits") \@@ -27,10 +29,12 @@ namespace Web::SVG::AttributeNames {__ENUMERATE_SVG_ATTRIBUTE(cy, "cy") \__ENUMERATE_SVG_ATTRIBUTE(d, "d") \__ENUMERATE_SVG_ATTRIBUTE(diffuseConstant, "diffuseConstant") \+ __ENUMERATE_SVG_ATTRIBUTE(divisor, "divisor") \__ENUMERATE_SVG_ATTRIBUTE(dur, "dur") \__ENUMERATE_SVG_ATTRIBUTE(dx, "dx") \__ENUMERATE_SVG_ATTRIBUTE(dy, "dy") \__ENUMERATE_SVG_ATTRIBUTE(edgeMode, "edgeMode") \+ __ENUMERATE_SVG_ATTRIBUTE(elevation, "elevation") \__ENUMERATE_SVG_ATTRIBUTE(fill, "fill") \__ENUMERATE_SVG_ATTRIBUTE(exponent, "exponent") \__ENUMERATE_SVG_ATTRIBUTE(filterUnits, "filterUnits") \@@ -68,6 +72,7 @@ namespace Web::SVG::AttributeNames {__ENUMERATE_SVG_ATTRIBUTE(offset, "offset") \__ENUMERATE_SVG_ATTRIBUTE(opacity, "opacity") \__ENUMERATE_SVG_ATTRIBUTE(operator_, "operator") \+ __ENUMERATE_SVG_ATTRIBUTE(order, "order") \__ENUMERATE_SVG_ATTRIBUTE(path, "path") \__ENUMERATE_SVG_ATTRIBUTE(pathLength, "pathLength") \__ENUMERATE_SVG_ATTRIBUTE(patternContentUnits, "patternContentUnits") \@@ -128,6 +133,7 @@ namespace Web::SVG::AttributeNames {__ENUMERATE_SVG_ATTRIBUTE(y1, "y1") \__ENUMERATE_SVG_ATTRIBUTE(y2, "y2") \__ENUMERATE_SVG_ATTRIBUTE(yChannelSelector, "yChannelSelector") \+ __ENUMERATE_SVG_ATTRIBUTE(z, "z") \__ENUMERATE_SVG_ATTRIBUTE(zoomAndPan, "zoomAndPan")#define __ENUMERATE_SVG_ATTRIBUTE(name, attribute) extern Utf16FlyString const& name;diff --git a/Libraries/LibWeb/SVG/SVGAnimatedBoolean.cpp b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.cppnew file mode 100644index 00000000000..02e08c488b5--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.cpp@@ -0,0 +1,56 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibGC/Heap.h>+#include <LibWeb/SVG/SVGAnimatedBoolean.h>+#include <LibWeb/SVG/SVGElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGAnimatedBoolean);++GC::Ref<SVGAnimatedBoolean> SVGAnimatedBoolean::create(GC::Ref<SVGElement> element, Utf16FlyString reflected_attribute, bool initial_value)+{+ return GC::Heap::the().allocate<SVGAnimatedBoolean>(element, move(reflected_attribute), initial_value);+}++SVGAnimatedBoolean::SVGAnimatedBoolean(GC::Ref<SVGElement> element, Utf16FlyString reflected_attribute, bool initial_value)+ : m_element(element)+ , m_reflected_attribute(move(reflected_attribute))+ , m_initial_value(initial_value)+{+}++SVGAnimatedBoolean::~SVGAnimatedBoolean() = default;++void SVGAnimatedBoolean::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ visitor.visit(m_element);+}++// https://svgwg.org/svg2-draft/types.html#__svg__SVGAnimatedBoolean__baseVal+bool SVGAnimatedBoolean::base_or_anim_value() const+{+ // 1. Let value be the value of the reflected attribute, or the empty string if it is not present.+ auto value = m_element->get_attribute_value(m_reflected_attribute);++ // 2. If value is not "true" or "false", then set value to the reflected attribute's initial value.+ if (value != "true"sv && value != "false"sv)+ return m_initial_value;++ // 3. Return true if value is "true", and false otherwise.+ return value == "true"sv;+}++// https://svgwg.org/svg2-draft/types.html#__svg__SVGAnimatedBoolean__baseVal+void SVGAnimatedBoolean::set_base_val(bool value)+{+ // On setting baseVal, the reflected attribute is set to "true" if the value is true, and "false" otherwise.+ m_element->set_attribute_value(m_reflected_attribute, value ? "true"_utf16 : "false"_utf16);+}++}diff --git a/Libraries/LibWeb/SVG/SVGAnimatedBoolean.h b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.hnew file mode 100644index 00000000000..6de073c2b97--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.h@@ -0,0 +1,41 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <AK/Utf16FlyString.h>+#include <LibWeb/Bindings/Wrappable.h>+#include <LibWeb/Forward.h>++namespace Web::SVG {++// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedBoolean+class SVGAnimatedBoolean final : public Bindings::GCAllocatedWrappable {+ WEB_WRAPPABLE(SVGAnimatedBoolean, Bindings::GCAllocatedWrappable);+ GC_DECLARE_ALLOCATOR(SVGAnimatedBoolean);++public:+ [[nodiscard]] static GC::Ref<SVGAnimatedBoolean> create(GC::Ref<SVGElement>, Utf16FlyString reflected_attribute, bool initial_value);+ virtual ~SVGAnimatedBoolean() override;++ bool base_val() const { return base_or_anim_value(); }+ void set_base_val(bool);++ bool anim_val() const { return base_or_anim_value(); }++private:+ SVGAnimatedBoolean(GC::Ref<SVGElement>, Utf16FlyString reflected_attribute, bool initial_value);++ virtual void visit_edges(Cell::Visitor&) override;++ bool base_or_anim_value() const;++ GC::Ref<SVGElement> m_element;+ Utf16FlyString m_reflected_attribute;+ bool m_initial_value { false };+};++}diff --git a/Libraries/LibWeb/SVG/SVGAnimatedBoolean.idl b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.idlnew file mode 100644index 00000000000..e74ac51ecc1--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGAnimatedBoolean.idl@@ -0,0 +1,6 @@+// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedBoolean+[Exposed=Window]+interface SVGAnimatedBoolean {+ attribute boolean baseVal;+ readonly attribute boolean animVal;+};diff --git a/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.cpp b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.cppnew file mode 100644index 00000000000..007455f3b40--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.cpp@@ -0,0 +1,161 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibGC/Heap.h>+#include <LibWeb/SVG/AttributeParsing.h>+#include <LibWeb/SVG/SVGAnimatedEnumeration.h>+#include <LibWeb/SVG/SVGFEConvolveMatrixElement.h>+#include <LibWeb/SVG/SVGNumber.h>+#include <LibWeb/SVG/SVGNumberList.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFEConvolveMatrixElement);++SVGFEConvolveMatrixElement::SVGFEConvolveMatrixElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFEConvolveMatrixElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ SVGFilterPrimitiveStandardAttributes::visit_edges(visitor);+ visitor.visit(m_in1);+ visitor.visit(m_order_x);+ visitor.visit(m_order_y);+ visitor.visit(m_kernel_matrix);+ visitor.visit(m_divisor);+ visitor.visit(m_bias);+ visitor.visit(m_target_x);+ visitor.visit(m_target_y);+ visitor.visit(m_kernel_unit_length_x);+ visitor.visit(m_kernel_unit_length_y);+ visitor.visit(m_preserve_alpha);+}++void SVGFEConvolveMatrixElement::attribute_changed(Utf16FlyString const& name, Optional<Utf16String> const& old_value, Optional<Utf16String> const& value, Optional<Utf16FlyString> const& namespace_)+{+ Base::attribute_changed(name, old_value, value, namespace_);++ // FIXME: Support reflection instead of invalidating the list.+ if (name == AttributeNames::kernelMatrix)+ m_kernel_matrix = {};+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-in1+GC::Ref<SVGAnimatedString> SVGFEConvolveMatrixElement::in1()+{+ if (!m_in1)+ m_in1 = SVGAnimatedString::create(*this, DOM::QualifiedName { AttributeNames::in, OptionalNone {}, OptionalNone {} });+ return *m_in1;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-orderx+GC::Ref<SVGAnimatedInteger> SVGFEConvolveMatrixElement::order_x()+{+ if (!m_order_x)+ m_order_x = SVGAnimatedInteger::create(*this, DOM::QualifiedName { AttributeNames::order, OptionalNone {}, OptionalNone {} }, 3,+ SVGAnimatedInteger::SupportsSecondValue::Yes, SVGAnimatedInteger::ValueRepresented::First);+ return *m_order_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-ordery+GC::Ref<SVGAnimatedInteger> SVGFEConvolveMatrixElement::order_y()+{+ if (!m_order_y)+ m_order_y = SVGAnimatedInteger::create(*this, DOM::QualifiedName { AttributeNames::order, OptionalNone {}, OptionalNone {} }, 3,+ SVGAnimatedInteger::SupportsSecondValue::Yes, SVGAnimatedInteger::ValueRepresented::Second);+ return *m_order_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-kernelmatrix+GC::Ref<SVGAnimatedNumberList> SVGFEConvolveMatrixElement::kernel_matrix()+{+ if (!m_kernel_matrix) {+ auto numbers = parse_table_values(get_attribute_value(AttributeNames::kernelMatrix));++ auto items = GC::Heap::the().allocate<SVGNumberList::List>();+ items->elements().ensure_capacity(numbers.size());+ for (auto number : numbers)+ items->elements().unchecked_append(SVGNumber::create(number, SVGNumber::ReadOnly::Yes));++ auto number_list = SVGNumberList::create(items, ReadOnlyList::Yes);+ m_kernel_matrix = SVGAnimatedNumberList::create(number_list);+ }+ return *m_kernel_matrix;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-divisor+GC::Ref<SVGAnimatedNumber> SVGFEConvolveMatrixElement::divisor()+{+ if (!m_divisor)+ m_divisor = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::divisor, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_divisor;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-bias+GC::Ref<SVGAnimatedNumber> SVGFEConvolveMatrixElement::bias()+{+ if (!m_bias)+ m_bias = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::bias, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_bias;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-targetx+GC::Ref<SVGAnimatedInteger> SVGFEConvolveMatrixElement::target_x()+{+ if (!m_target_x)+ m_target_x = SVGAnimatedInteger::create(*this, DOM::QualifiedName { AttributeNames::targetX, OptionalNone {}, OptionalNone {} }, 0);+ return *m_target_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-targety+GC::Ref<SVGAnimatedInteger> SVGFEConvolveMatrixElement::target_y()+{+ if (!m_target_y)+ m_target_y = SVGAnimatedInteger::create(*this, DOM::QualifiedName { AttributeNames::targetY, OptionalNone {}, OptionalNone {} }, 0);+ return *m_target_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-edgemode+GC::Ref<SVGAnimatedEnumeration> SVGFEConvolveMatrixElement::edge_mode()+{+ static constexpr Array keywords {+ SVGAnimatedEnumeration::Keyword { "duplicate"sv, SVG_EDGEMODE_DUPLICATE },+ SVGAnimatedEnumeration::Keyword { "wrap"sv, SVG_EDGEMODE_WRAP },+ SVGAnimatedEnumeration::Keyword { "none"sv, SVG_EDGEMODE_NONE },+ };+ return svg_animated_enumeration_for_attribute(AttributeNames::edgeMode, keywords, SVG_EDGEMODE_DUPLICATE);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-kernelunitlengthx+GC::Ref<SVGAnimatedNumber> SVGFEConvolveMatrixElement::kernel_unit_length_x()+{+ if (!m_kernel_unit_length_x)+ m_kernel_unit_length_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::First);+ return *m_kernel_unit_length_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-kernelunitlengthy+GC::Ref<SVGAnimatedNumber> SVGFEConvolveMatrixElement::kernel_unit_length_y()+{+ if (!m_kernel_unit_length_y)+ m_kernel_unit_length_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::Second);+ return *m_kernel_unit_length_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfeconvolvematrixelement-preservealpha+GC::Ref<SVGAnimatedBoolean> SVGFEConvolveMatrixElement::preserve_alpha()+{+ if (!m_preserve_alpha)+ m_preserve_alpha = SVGAnimatedBoolean::create(*this, AttributeNames::preserveAlpha, false);+ return *m_preserve_alpha;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.h b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.hnew file mode 100644index 00000000000..7e1b364b473--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.h@@ -0,0 +1,64 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedBoolean.h>+#include <LibWeb/SVG/SVGAnimatedInteger.h>+#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGAnimatedNumberList.h>+#include <LibWeb/SVG/SVGElement.h>+#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEConvolveMatrixElement+class SVGFEConvolveMatrixElement final+ : public SVGElement+ , public SVGFilterPrimitiveStandardAttributes<SVGFEConvolveMatrixElement> {+ WEB_WRAPPABLE(SVGFEConvolveMatrixElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFEConvolveMatrixElement);++public:+ static constexpr u16 SVG_EDGEMODE_UNKNOWN = 0;+ static constexpr u16 SVG_EDGEMODE_DUPLICATE = 1;+ static constexpr u16 SVG_EDGEMODE_WRAP = 2;+ static constexpr u16 SVG_EDGEMODE_NONE = 3;++ virtual ~SVGFEConvolveMatrixElement() override = default;++ GC::Ref<SVGAnimatedString> in1();+ GC::Ref<SVGAnimatedInteger> order_x();+ GC::Ref<SVGAnimatedInteger> order_y();+ GC::Ref<SVGAnimatedNumberList> kernel_matrix();+ GC::Ref<SVGAnimatedNumber> divisor();+ GC::Ref<SVGAnimatedNumber> bias();+ GC::Ref<SVGAnimatedInteger> target_x();+ GC::Ref<SVGAnimatedInteger> target_y();+ GC::Ref<SVGAnimatedEnumeration> edge_mode();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_x();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_y();+ GC::Ref<SVGAnimatedBoolean> preserve_alpha();++private:+ SVGFEConvolveMatrixElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;+ virtual void attribute_changed(Utf16FlyString const& name, Optional<Utf16String> const& old_value, Optional<Utf16String> const& value, Optional<Utf16FlyString> const& namespace_) override;++ GC::Ptr<SVGAnimatedString> m_in1;+ GC::Ptr<SVGAnimatedInteger> m_order_x;+ GC::Ptr<SVGAnimatedInteger> m_order_y;+ GC::Ptr<SVGAnimatedNumberList> m_kernel_matrix;+ GC::Ptr<SVGAnimatedNumber> m_divisor;+ GC::Ptr<SVGAnimatedNumber> m_bias;+ GC::Ptr<SVGAnimatedInteger> m_target_x;+ GC::Ptr<SVGAnimatedInteger> m_target_y;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_x;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_y;+ GC::Ptr<SVGAnimatedBoolean> m_preserve_alpha;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.idl b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.idlnew file mode 100644index 00000000000..3bd3844b844--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEConvolveMatrixElement.idl@@ -0,0 +1,25 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEConvolveMatrixElement+[Exposed=Window]+interface SVGFEConvolveMatrixElement : SVGElement {++ // Edge Mode Values+ const unsigned short SVG_EDGEMODE_UNKNOWN = 0;+ const unsigned short SVG_EDGEMODE_DUPLICATE = 1;+ const unsigned short SVG_EDGEMODE_WRAP = 2;+ const unsigned short SVG_EDGEMODE_NONE = 3;++ readonly attribute SVGAnimatedString in1;+ readonly attribute SVGAnimatedInteger orderX;+ readonly attribute SVGAnimatedInteger orderY;+ readonly attribute SVGAnimatedNumberList kernelMatrix;+ readonly attribute SVGAnimatedNumber divisor;+ readonly attribute SVGAnimatedNumber bias;+ readonly attribute SVGAnimatedInteger targetX;+ readonly attribute SVGAnimatedInteger targetY;+ readonly attribute SVGAnimatedEnumeration edgeMode;+ readonly attribute SVGAnimatedNumber kernelUnitLengthX;+ readonly attribute SVGAnimatedNumber kernelUnitLengthY;+ readonly attribute SVGAnimatedBoolean preserveAlpha;+};++SVGFEConvolveMatrixElement includes SVGFilterPrimitiveStandardAttributes;diff --git a/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.cpp b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.cppnew file mode 100644index 00000000000..51a51ecbafa--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.cpp@@ -0,0 +1,72 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibWeb/SVG/AttributeNames.h>+#include <LibWeb/SVG/SVGFEDiffuseLightingElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFEDiffuseLightingElement);++SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFEDiffuseLightingElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ SVGFilterPrimitiveStandardAttributes::visit_edges(visitor);+ visitor.visit(m_in1);+ visitor.visit(m_surface_scale);+ visitor.visit(m_diffuse_constant);+ visitor.visit(m_kernel_unit_length_x);+ visitor.visit(m_kernel_unit_length_y);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfediffuselightingelement-in1+GC::Ref<SVGAnimatedString> SVGFEDiffuseLightingElement::in1()+{+ if (!m_in1)+ m_in1 = SVGAnimatedString::create(*this, DOM::QualifiedName { AttributeNames::in, OptionalNone {}, OptionalNone {} });+ return *m_in1;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfediffuselightingelement-surfacescale+GC::Ref<SVGAnimatedNumber> SVGFEDiffuseLightingElement::surface_scale()+{+ if (!m_surface_scale)+ m_surface_scale = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::surfaceScale, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_surface_scale;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfediffuselightingelement-diffuseconstant+GC::Ref<SVGAnimatedNumber> SVGFEDiffuseLightingElement::diffuse_constant()+{+ if (!m_diffuse_constant)+ m_diffuse_constant = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::diffuseConstant, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_diffuse_constant;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfediffuselightingelement-kernelunitlengthx+GC::Ref<SVGAnimatedNumber> SVGFEDiffuseLightingElement::kernel_unit_length_x()+{+ if (!m_kernel_unit_length_x)+ m_kernel_unit_length_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::First);+ return *m_kernel_unit_length_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfediffuselightingelement-kernelunitlengthy+GC::Ref<SVGAnimatedNumber> SVGFEDiffuseLightingElement::kernel_unit_length_y()+{+ if (!m_kernel_unit_length_y)+ m_kernel_unit_length_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::Second);+ return *m_kernel_unit_length_y;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.h b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.hnew file mode 100644index 00000000000..760e6ea87cb--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.h@@ -0,0 +1,42 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGElement.h>+#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDiffuseLightingElement+class SVGFEDiffuseLightingElement final+ : public SVGElement+ , public SVGFilterPrimitiveStandardAttributes<SVGFEDiffuseLightingElement> {+ WEB_WRAPPABLE(SVGFEDiffuseLightingElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFEDiffuseLightingElement);++public:+ virtual ~SVGFEDiffuseLightingElement() override = default;++ GC::Ref<SVGAnimatedString> in1();+ GC::Ref<SVGAnimatedNumber> surface_scale();+ GC::Ref<SVGAnimatedNumber> diffuse_constant();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_x();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_y();++private:+ SVGFEDiffuseLightingElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;++ GC::Ptr<SVGAnimatedString> m_in1;+ GC::Ptr<SVGAnimatedNumber> m_surface_scale;+ GC::Ptr<SVGAnimatedNumber> m_diffuse_constant;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_x;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_y;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.idl b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.idlnew file mode 100644index 00000000000..2295ee11a64--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDiffuseLightingElement.idl@@ -0,0 +1,11 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDiffuseLightingElement+[Exposed=Window]+interface SVGFEDiffuseLightingElement : SVGElement {+ readonly attribute SVGAnimatedString in1;+ readonly attribute SVGAnimatedNumber surfaceScale;+ readonly attribute SVGAnimatedNumber diffuseConstant;+ readonly attribute SVGAnimatedNumber kernelUnitLengthX;+ readonly attribute SVGAnimatedNumber kernelUnitLengthY;+};++SVGFEDiffuseLightingElement includes SVGFilterPrimitiveStandardAttributes;diff --git a/Libraries/LibWeb/SVG/SVGFEDistantLightElement.cpp b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.cppnew file mode 100644index 00000000000..58963ea37d7--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.cpp@@ -0,0 +1,42 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibWeb/SVG/AttributeNames.h>+#include <LibWeb/SVG/SVGFEDistantLightElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFEDistantLightElement);++SVGFEDistantLightElement::SVGFEDistantLightElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFEDistantLightElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ visitor.visit(m_azimuth);+ visitor.visit(m_elevation);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfedistantlightelement-azimuth+GC::Ref<SVGAnimatedNumber> SVGFEDistantLightElement::azimuth()+{+ if (!m_azimuth)+ m_azimuth = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::azimuth, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_azimuth;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfedistantlightelement-elevation+GC::Ref<SVGAnimatedNumber> SVGFEDistantLightElement::elevation()+{+ if (!m_elevation)+ m_elevation = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::elevation, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_elevation;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFEDistantLightElement.h b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.hnew file mode 100644index 00000000000..b6096359a6d--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.h@@ -0,0 +1,34 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGElement.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDistantLightElement+class SVGFEDistantLightElement final+ : public SVGElement {+ WEB_WRAPPABLE(SVGFEDistantLightElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFEDistantLightElement);++public:+ virtual ~SVGFEDistantLightElement() override = default;++ GC::Ref<SVGAnimatedNumber> azimuth();+ GC::Ref<SVGAnimatedNumber> elevation();++private:+ SVGFEDistantLightElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;++ GC::Ptr<SVGAnimatedNumber> m_azimuth;+ GC::Ptr<SVGAnimatedNumber> m_elevation;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFEDistantLightElement.idl b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.idlnew file mode 100644index 00000000000..c21144dc1d3--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEDistantLightElement.idl@@ -0,0 +1,6 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDistantLightElement+[Exposed=Window]+interface SVGFEDistantLightElement : SVGElement {+ readonly attribute SVGAnimatedNumber azimuth;+ readonly attribute SVGAnimatedNumber elevation;+};diff --git a/Libraries/LibWeb/SVG/SVGFEPointLightElement.cpp b/Libraries/LibWeb/SVG/SVGFEPointLightElement.cppnew file mode 100644index 00000000000..1168a899fb1--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEPointLightElement.cpp@@ -0,0 +1,51 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibWeb/SVG/AttributeNames.h>+#include <LibWeb/SVG/SVGFEPointLightElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFEPointLightElement);++SVGFEPointLightElement::SVGFEPointLightElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFEPointLightElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ visitor.visit(m_x);+ visitor.visit(m_y);+ visitor.visit(m_z);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfepointlightelement-x+GC::Ref<SVGAnimatedNumber> SVGFEPointLightElement::x()+{+ if (!m_x)+ m_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::x, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfepointlightelement-y+GC::Ref<SVGAnimatedNumber> SVGFEPointLightElement::y()+{+ if (!m_y)+ m_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::y, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfepointlightelement-z+GC::Ref<SVGAnimatedNumber> SVGFEPointLightElement::z()+{+ if (!m_z)+ m_z = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::z, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_z;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFEPointLightElement.h b/Libraries/LibWeb/SVG/SVGFEPointLightElement.hnew file mode 100644index 00000000000..ce079091f1e--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEPointLightElement.h@@ -0,0 +1,36 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGElement.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEPointLightElement+class SVGFEPointLightElement final+ : public SVGElement {+ WEB_WRAPPABLE(SVGFEPointLightElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFEPointLightElement);++public:+ virtual ~SVGFEPointLightElement() override = default;++ GC::Ref<SVGAnimatedNumber> x();+ GC::Ref<SVGAnimatedNumber> y();+ GC::Ref<SVGAnimatedNumber> z();++private:+ SVGFEPointLightElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;++ GC::Ptr<SVGAnimatedNumber> m_x;+ GC::Ptr<SVGAnimatedNumber> m_y;+ GC::Ptr<SVGAnimatedNumber> m_z;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFEPointLightElement.idl b/Libraries/LibWeb/SVG/SVGFEPointLightElement.idlnew file mode 100644index 00000000000..eb974f2c3a0--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFEPointLightElement.idl@@ -0,0 +1,7 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEPointLightElement+[Exposed=Window]+interface SVGFEPointLightElement : SVGElement {+ readonly attribute SVGAnimatedNumber x;+ readonly attribute SVGAnimatedNumber y;+ readonly attribute SVGAnimatedNumber z;+};diff --git a/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.cpp b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.cppnew file mode 100644index 00000000000..243064e2ae3--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.cpp@@ -0,0 +1,81 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibWeb/SVG/AttributeNames.h>+#include <LibWeb/SVG/SVGFESpecularLightingElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFESpecularLightingElement);++SVGFESpecularLightingElement::SVGFESpecularLightingElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFESpecularLightingElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ SVGFilterPrimitiveStandardAttributes::visit_edges(visitor);+ visitor.visit(m_in1);+ visitor.visit(m_surface_scale);+ visitor.visit(m_specular_constant);+ visitor.visit(m_specular_exponent);+ visitor.visit(m_kernel_unit_length_x);+ visitor.visit(m_kernel_unit_length_y);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-in1+GC::Ref<SVGAnimatedString> SVGFESpecularLightingElement::in1()+{+ if (!m_in1)+ m_in1 = SVGAnimatedString::create(*this, DOM::QualifiedName { AttributeNames::in, OptionalNone {}, OptionalNone {} });+ return *m_in1;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-surfacescale+GC::Ref<SVGAnimatedNumber> SVGFESpecularLightingElement::surface_scale()+{+ if (!m_surface_scale)+ m_surface_scale = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::surfaceScale, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_surface_scale;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-specularconstant+GC::Ref<SVGAnimatedNumber> SVGFESpecularLightingElement::specular_constant()+{+ if (!m_specular_constant)+ m_specular_constant = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::specularConstant, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_specular_constant;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-specularexponent+GC::Ref<SVGAnimatedNumber> SVGFESpecularLightingElement::specular_exponent()+{+ if (!m_specular_exponent)+ m_specular_exponent = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::specularExponent, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_specular_exponent;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-kernelunitlengthx+GC::Ref<SVGAnimatedNumber> SVGFESpecularLightingElement::kernel_unit_length_x()+{+ if (!m_kernel_unit_length_x)+ m_kernel_unit_length_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::First);+ return *m_kernel_unit_length_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespecularlightingelement-kernelunitlengthy+GC::Ref<SVGAnimatedNumber> SVGFESpecularLightingElement::kernel_unit_length_y()+{+ if (!m_kernel_unit_length_y)+ m_kernel_unit_length_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::kernelUnitLength, OptionalNone {}, OptionalNone {} }, 0.f,+ SVGAnimatedNumber::SupportsSecondValue::Yes, SVGAnimatedNumber::ValueRepresented::Second);+ return *m_kernel_unit_length_y;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.h b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.hnew file mode 100644index 00000000000..6a7d5535781--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.h@@ -0,0 +1,44 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGElement.h>+#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpecularLightingElement+class SVGFESpecularLightingElement final+ : public SVGElement+ , public SVGFilterPrimitiveStandardAttributes<SVGFESpecularLightingElement> {+ WEB_WRAPPABLE(SVGFESpecularLightingElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFESpecularLightingElement);++public:+ virtual ~SVGFESpecularLightingElement() override = default;++ GC::Ref<SVGAnimatedString> in1();+ GC::Ref<SVGAnimatedNumber> surface_scale();+ GC::Ref<SVGAnimatedNumber> specular_constant();+ GC::Ref<SVGAnimatedNumber> specular_exponent();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_x();+ GC::Ref<SVGAnimatedNumber> kernel_unit_length_y();++private:+ SVGFESpecularLightingElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;++ GC::Ptr<SVGAnimatedString> m_in1;+ GC::Ptr<SVGAnimatedNumber> m_surface_scale;+ GC::Ptr<SVGAnimatedNumber> m_specular_constant;+ GC::Ptr<SVGAnimatedNumber> m_specular_exponent;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_x;+ GC::Ptr<SVGAnimatedNumber> m_kernel_unit_length_y;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.idl b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.idlnew file mode 100644index 00000000000..02b85bedf2a--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpecularLightingElement.idl@@ -0,0 +1,12 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpecularLightingElement+[Exposed=Window]+interface SVGFESpecularLightingElement : SVGElement {+ readonly attribute SVGAnimatedString in1;+ readonly attribute SVGAnimatedNumber surfaceScale;+ readonly attribute SVGAnimatedNumber specularConstant;+ readonly attribute SVGAnimatedNumber specularExponent;+ readonly attribute SVGAnimatedNumber kernelUnitLengthX;+ readonly attribute SVGAnimatedNumber kernelUnitLengthY;+};++SVGFESpecularLightingElement includes SVGFilterPrimitiveStandardAttributes;diff --git a/Libraries/LibWeb/SVG/SVGFESpotLightElement.cpp b/Libraries/LibWeb/SVG/SVGFESpotLightElement.cppnew file mode 100644index 00000000000..86fa4f18d56--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpotLightElement.cpp@@ -0,0 +1,96 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#include <LibWeb/SVG/AttributeNames.h>+#include <LibWeb/SVG/SVGFESpotLightElement.h>++namespace Web::SVG {++GC_DEFINE_ALLOCATOR(SVGFESpotLightElement);++SVGFESpotLightElement::SVGFESpotLightElement(DOM::Document& document, DOM::QualifiedName qualified_name)+ : SVGElement(document, qualified_name)+{+}++void SVGFESpotLightElement::visit_edges(Cell::Visitor& visitor)+{+ Base::visit_edges(visitor);+ visitor.visit(m_x);+ visitor.visit(m_y);+ visitor.visit(m_z);+ visitor.visit(m_points_at_x);+ visitor.visit(m_points_at_y);+ visitor.visit(m_points_at_z);+ visitor.visit(m_specular_exponent);+ visitor.visit(m_limiting_cone_angle);+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-x+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::x()+{+ if (!m_x)+ m_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::x, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-y+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::y()+{+ if (!m_y)+ m_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::y, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-z+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::z()+{+ if (!m_z)+ m_z = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::z, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_z;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-pointsatx+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::points_at_x()+{+ if (!m_points_at_x)+ m_points_at_x = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::pointsAtX, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_points_at_x;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-pointsaty+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::points_at_y()+{+ if (!m_points_at_y)+ m_points_at_y = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::pointsAtY, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_points_at_y;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-pointsatz+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::points_at_z()+{+ if (!m_points_at_z)+ m_points_at_z = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::pointsAtZ, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_points_at_z;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-specularexponent+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::specular_exponent()+{+ if (!m_specular_exponent)+ m_specular_exponent = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::specularExponent, OptionalNone {}, OptionalNone {} }, 1.f);+ return *m_specular_exponent;+}++// https://drafts.fxtf.org/filter-effects/#dom-svgfespotlightelement-limitingconeangle+GC::Ref<SVGAnimatedNumber> SVGFESpotLightElement::limiting_cone_angle()+{+ if (!m_limiting_cone_angle)+ m_limiting_cone_angle = SVGAnimatedNumber::create(*this, DOM::QualifiedName { AttributeNames::limitingConeAngle, OptionalNone {}, OptionalNone {} }, 0.f);+ return *m_limiting_cone_angle;+}++}diff --git a/Libraries/LibWeb/SVG/SVGFESpotLightElement.h b/Libraries/LibWeb/SVG/SVGFESpotLightElement.hnew file mode 100644index 00000000000..37fd9bdae30--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpotLightElement.h@@ -0,0 +1,46 @@+/*+ * Copyright (c) 2026-present, the Ladybird developers.+ *+ * SPDX-License-Identifier: BSD-2-Clause+ */++#pragma once++#include <LibWeb/SVG/SVGAnimatedNumber.h>+#include <LibWeb/SVG/SVGElement.h>++namespace Web::SVG {++// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpotLightElement+class SVGFESpotLightElement final+ : public SVGElement {+ WEB_WRAPPABLE(SVGFESpotLightElement, SVGElement);+ GC_DECLARE_ALLOCATOR(SVGFESpotLightElement);++public:+ virtual ~SVGFESpotLightElement() override = default;++ GC::Ref<SVGAnimatedNumber> x();+ GC::Ref<SVGAnimatedNumber> y();+ GC::Ref<SVGAnimatedNumber> z();+ GC::Ref<SVGAnimatedNumber> points_at_x();+ GC::Ref<SVGAnimatedNumber> points_at_y();+ GC::Ref<SVGAnimatedNumber> points_at_z();+ GC::Ref<SVGAnimatedNumber> specular_exponent();+ GC::Ref<SVGAnimatedNumber> limiting_cone_angle();++private:+ SVGFESpotLightElement(DOM::Document&, DOM::QualifiedName);+ virtual void visit_edges(Cell::Visitor&) override;++ GC::Ptr<SVGAnimatedNumber> m_x;+ GC::Ptr<SVGAnimatedNumber> m_y;+ GC::Ptr<SVGAnimatedNumber> m_z;+ GC::Ptr<SVGAnimatedNumber> m_points_at_x;+ GC::Ptr<SVGAnimatedNumber> m_points_at_y;+ GC::Ptr<SVGAnimatedNumber> m_points_at_z;+ GC::Ptr<SVGAnimatedNumber> m_specular_exponent;+ GC::Ptr<SVGAnimatedNumber> m_limiting_cone_angle;+};++}diff --git a/Libraries/LibWeb/SVG/SVGFESpotLightElement.idl b/Libraries/LibWeb/SVG/SVGFESpotLightElement.idlnew file mode 100644index 00000000000..b3ce698687c--- /dev/null+++ b/Libraries/LibWeb/SVG/SVGFESpotLightElement.idl@@ -0,0 +1,12 @@+// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpotLightElement+[Exposed=Window]+interface SVGFESpotLightElement : SVGElement {+ readonly attribute SVGAnimatedNumber x;+ readonly attribute SVGAnimatedNumber y;+ readonly attribute SVGAnimatedNumber z;+ readonly attribute SVGAnimatedNumber pointsAtX;+ readonly attribute SVGAnimatedNumber pointsAtY;+ readonly attribute SVGAnimatedNumber pointsAtZ;+ readonly attribute SVGAnimatedNumber specularExponent;+ readonly attribute SVGAnimatedNumber limitingConeAngle;+};diff --git a/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.cpp b/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.cppindex 3007db3db8c..1da788aa7bb 100644--- a/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.cpp+++ b/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.cpp@@ -10,6 +10,8 @@#include <LibWeb/SVG/SVGFEColorMatrixElement.h>#include <LibWeb/SVG/SVGFEComponentTransferElement.h>#include <LibWeb/SVG/SVGFECompositeElement.h>+#include <LibWeb/SVG/SVGFEConvolveMatrixElement.h>+#include <LibWeb/SVG/SVGFEDiffuseLightingElement.h>#include <LibWeb/SVG/SVGFEDisplacementMapElement.h>#include <LibWeb/SVG/SVGFEDropShadowElement.h>#include <LibWeb/SVG/SVGFEFloodElement.h>@@ -18,6 +20,7 @@#include <LibWeb/SVG/SVGFEMergeElement.h>#include <LibWeb/SVG/SVGFEMorphologyElement.h>#include <LibWeb/SVG/SVGFEOffsetElement.h>+#include <LibWeb/SVG/SVGFESpecularLightingElement.h>#include <LibWeb/SVG/SVGFETurbulenceElement.h>#include <LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.h>@@ -36,6 +39,8 @@ template class SVGFilterPrimitiveStandardAttributes<SVGFEBlendElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEColorMatrixElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEComponentTransferElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFECompositeElement>;+template class SVGFilterPrimitiveStandardAttributes<SVGFEConvolveMatrixElement>;+template class SVGFilterPrimitiveStandardAttributes<SVGFEDiffuseLightingElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEDisplacementMapElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEDropShadowElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEFloodElement>;@@ -44,6 +49,7 @@ template class SVGFilterPrimitiveStandardAttributes<SVGFEImageElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEMergeElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEMorphologyElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFEOffsetElement>;+template class SVGFilterPrimitiveStandardAttributes<SVGFESpecularLightingElement>;template class SVGFilterPrimitiveStandardAttributes<SVGFETurbulenceElement>;}diff --git a/Libraries/LibWeb/SVG/TagNames.h b/Libraries/LibWeb/SVG/TagNames.hindex 31c5482fa6f..7bef665bc44 100644--- a/Libraries/LibWeb/SVG/TagNames.h+++ b/Libraries/LibWeb/SVG/TagNames.h@@ -22,7 +22,10 @@ namespace Web::SVG::TagNames {__ENUMERATE_SVG_TAG(feColorMatrix, "feColorMatrix") \__ENUMERATE_SVG_TAG(feComponentTransfer, "feComponentTransfer") \__ENUMERATE_SVG_TAG(feComposite, "feComposite") \+ __ENUMERATE_SVG_TAG(feConvolveMatrix, "feConvolveMatrix") \+ __ENUMERATE_SVG_TAG(feDiffuseLighting, "feDiffuseLighting") \__ENUMERATE_SVG_TAG(feDisplacementMap, "feDisplacementMap") \+ __ENUMERATE_SVG_TAG(feDistantLight, "feDistantLight") \__ENUMERATE_SVG_TAG(feDropShadow, "feDropShadow") \__ENUMERATE_SVG_TAG(feFlood, "feFlood") \__ENUMERATE_SVG_TAG(feFuncA, "feFuncA") \@@ -35,6 +38,9 @@ namespace Web::SVG::TagNames {__ENUMERATE_SVG_TAG(feMergeNode, "feMergeNode") \__ENUMERATE_SVG_TAG(feMorphology, "feMorphology") \__ENUMERATE_SVG_TAG(feOffset, "feOffset") \+ __ENUMERATE_SVG_TAG(fePointLight, "fePointLight") \+ __ENUMERATE_SVG_TAG(feSpecularLighting, "feSpecularLighting") \+ __ENUMERATE_SVG_TAG(feSpotLight, "feSpotLight") \__ENUMERATE_SVG_TAG(feTurbulence, "feTurbulence") \__ENUMERATE_SVG_TAG(filter, "filter") \__ENUMERATE_SVG_TAG(foreignObject, "foreignObject") \diff --git a/Libraries/LibWeb/idl_files.cmake b/Libraries/LibWeb/idl_files.cmakeindex 6b06956105a..f9da5ff0255 100644--- a/Libraries/LibWeb/idl_files.cmake+++ b/Libraries/LibWeb/idl_files.cmake@@ -493,6 +493,7 @@ libweb_js_bindings(Streams/WritableStreamDefaultController)libweb_js_bindings(Streams/WritableStreamDefaultWriter)libweb_js_bindings(SVG/SVG)libweb_js_bindings(SVG/SVGAElement)+libweb_js_bindings(SVG/SVGAnimatedBoolean)libweb_js_bindings(SVG/SVGAnimatedEnumeration)libweb_js_bindings(SVG/SVGAnimatedInteger)libweb_js_bindings(SVG/SVGAnimatedLength)@@ -515,7 +516,10 @@ libweb_js_bindings(SVG/SVGFEBlendElement)libweb_js_bindings(SVG/SVGFEColorMatrixElement)libweb_js_bindings(SVG/SVGFEComponentTransferElement)libweb_js_bindings(SVG/SVGFECompositeElement)+libweb_js_bindings(SVG/SVGFEConvolveMatrixElement)+libweb_js_bindings(SVG/SVGFEDiffuseLightingElement)libweb_js_bindings(SVG/SVGFEDisplacementMapElement)+libweb_js_bindings(SVG/SVGFEDistantLightElement)libweb_js_bindings(SVG/SVGFEDropShadowElement)libweb_js_bindings(SVG/SVGFEFloodElement)libweb_js_bindings(SVG/SVGFEFuncAElement)@@ -528,6 +532,9 @@ libweb_js_bindings(SVG/SVGFEMergeElement)libweb_js_bindings(SVG/SVGFEMergeNodeElement)libweb_js_bindings(SVG/SVGFEMorphologyElement)libweb_js_bindings(SVG/SVGFEOffsetElement)+libweb_js_bindings(SVG/SVGFEPointLightElement)+libweb_js_bindings(SVG/SVGFESpecularLightingElement)+libweb_js_bindings(SVG/SVGFESpotLightElement)libweb_js_bindings(SVG/SVGFETurbulenceElement)libweb_js_bindings(SVG/SVGFilterElement)libweb_js_bindings(SVG/SVGFilterPrimitiveStandardAttributes)diff --git a/Tests/LibWeb/Text/expected/all-window-properties.txt b/Tests/LibWeb/Text/expected/all-window-properties.txtindex 39d4d47f6bf..29861e39ee4 100644--- a/Tests/LibWeb/Text/expected/all-window-properties.txt+++ b/Tests/LibWeb/Text/expected/all-window-properties.txt@@ -402,6 +402,7 @@ ResizeObserverSizeResponseSVGAElementSVGAnimateMotionElement+SVGAnimatedBooleanSVGAnimatedEnumerationSVGAnimatedIntegerSVGAnimatedLength@@ -423,7 +424,10 @@ SVGFEBlendElementSVGFEColorMatrixElementSVGFEComponentTransferElementSVGFECompositeElement+SVGFEConvolveMatrixElement+SVGFEDiffuseLightingElementSVGFEDisplacementMapElement+SVGFEDistantLightElementSVGFEDropShadowElementSVGFEFloodElementSVGFEFuncAElement@@ -436,6 +440,9 @@ SVGFEMergeElementSVGFEMergeNodeElementSVGFEMorphologyElementSVGFEOffsetElement+SVGFEPointLightElement+SVGFESpecularLightingElement+SVGFESpotLightElementSVGFETurbulenceElementSVGFilterElementSVGForeignObjectElementdiff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/idlharness.window.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/idlharness.window.txtindex c8bbcbf2cb9..4d19695703b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/idlharness.window.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/idlharness.window.txt@@ -2,8 +2,8 @@ Harness status: OKFound 1780 tests-1203 Pass-577 Fail+1219 Pass+561 FailPass idl_test setupPass idl_test validationPass Partial interface Document: original interface defined@@ -268,18 +268,18 @@ Fail SVGStringList interface: objects.a.requiredExtensions must inherit propertyFail SVGStringList interface: calling removeItem(unsigned long) on objects.a.requiredExtensions with too few arguments must throw TypeErrorFail SVGStringList interface: objects.a.requiredExtensions must inherit property "appendItem(DOMString)" with the proper typeFail SVGStringList interface: calling appendItem(DOMString) on objects.a.requiredExtensions with too few arguments must throw TypeError-Fail SVGAnimatedBoolean interface: existence and properties of interface object-Fail SVGAnimatedBoolean interface object length-Fail SVGAnimatedBoolean interface object name-Fail SVGAnimatedBoolean interface: existence and properties of interface prototype object-Fail SVGAnimatedBoolean interface: existence and properties of interface prototype object's "constructor" property-Fail SVGAnimatedBoolean interface: existence and properties of interface prototype object's @@unscopables property-Fail SVGAnimatedBoolean interface: attribute baseVal-Fail SVGAnimatedBoolean interface: attribute animVal-Fail SVGAnimatedBoolean must be primary interface of objects.feConvolveMatrix.preserveAlpha-Fail Stringification of objects.feConvolveMatrix.preserveAlpha-Fail SVGAnimatedBoolean interface: objects.feConvolveMatrix.preserveAlpha must inherit property "baseVal" with the proper type-Fail SVGAnimatedBoolean interface: objects.feConvolveMatrix.preserveAlpha must inherit property "animVal" with the proper type+Pass SVGAnimatedBoolean interface: existence and properties of interface object+Pass SVGAnimatedBoolean interface object length+Pass SVGAnimatedBoolean interface object name+Pass SVGAnimatedBoolean interface: existence and properties of interface prototype object+Pass SVGAnimatedBoolean interface: existence and properties of interface prototype object's "constructor" property+Pass SVGAnimatedBoolean interface: existence and properties of interface prototype object's @@unscopables property+Pass SVGAnimatedBoolean interface: attribute baseVal+Pass SVGAnimatedBoolean interface: attribute animVal+Pass SVGAnimatedBoolean must be primary interface of objects.feConvolveMatrix.preserveAlpha+Pass Stringification of objects.feConvolveMatrix.preserveAlpha+Pass SVGAnimatedBoolean interface: objects.feConvolveMatrix.preserveAlpha must inherit property "baseVal" with the proper type+Pass SVGAnimatedBoolean interface: objects.feConvolveMatrix.preserveAlpha must inherit property "animVal" with the proper typePass SVGAnimatedEnumeration interface: existence and properties of interface objectPass SVGAnimatedEnumeration interface object lengthPass SVGAnimatedEnumeration interface object name@@ -300,10 +300,10 @@ Pass SVGAnimatedInteger interface: existence and properties of interface prototyPass SVGAnimatedInteger interface: existence and properties of interface prototype object's @@unscopables propertyPass SVGAnimatedInteger interface: attribute baseValPass SVGAnimatedInteger interface: attribute animVal-Fail SVGAnimatedInteger must be primary interface of objects.feConvolveMatrix.orderX-Fail Stringification of objects.feConvolveMatrix.orderX-Fail SVGAnimatedInteger interface: objects.feConvolveMatrix.orderX must inherit property "baseVal" with the proper type-Fail SVGAnimatedInteger interface: objects.feConvolveMatrix.orderX must inherit property "animVal" with the proper type+Pass SVGAnimatedInteger must be primary interface of objects.feConvolveMatrix.orderX+Pass Stringification of objects.feConvolveMatrix.orderX+Pass SVGAnimatedInteger interface: objects.feConvolveMatrix.orderX must inherit property "baseVal" with the proper type+Pass SVGAnimatedInteger interface: objects.feConvolveMatrix.orderX must inherit property "animVal" with the proper typePass SVGAnimatedNumber interface: existence and properties of interface objectPass SVGAnimatedNumber interface object lengthPass SVGAnimatedNumber interface object namediff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-invalid-values.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-invalid-values.txtindex 81bdb11a971..94cd9349d86 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-invalid-values.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-invalid-values.txt@@ -2,8 +2,8 @@ Harness status: OKFound 52 tests-46 Pass-6 Fail+48 Pass+4 FailPass SVGAnimatedEnumeration, invalid values, SVGClipPathElement.prototype.clipPathUnits (empty string)Pass SVGAnimatedEnumeration, invalid values, SVGClipPathElement.prototype.clipPathUnits (content attribute is not rewritten)Pass SVGAnimatedEnumeration, invalid values, SVGComponentTransferFunctionElement.prototype.type (empty string)@@ -14,8 +14,8 @@ Pass SVGAnimatedEnumeration, invalid values, SVGFEColorMatrixElement.prototype.tPass SVGAnimatedEnumeration, invalid values, SVGFEColorMatrixElement.prototype.type (content attribute is not rewritten)Pass SVGAnimatedEnumeration, invalid values, SVGFECompositeElement.prototype.operator (empty string)Pass SVGAnimatedEnumeration, invalid values, SVGFECompositeElement.prototype.operator (content attribute is not rewritten)-Fail SVGAnimatedEnumeration, invalid values, SVGFEConvolveMatrixElement.prototype.edgeMode (empty string)-Fail SVGAnimatedEnumeration, invalid values, SVGFEConvolveMatrixElement.prototype.edgeMode (content attribute is not rewritten)+Pass SVGAnimatedEnumeration, invalid values, SVGFEConvolveMatrixElement.prototype.edgeMode (empty string)+Pass SVGAnimatedEnumeration, invalid values, SVGFEConvolveMatrixElement.prototype.edgeMode (content attribute is not rewritten)Pass SVGAnimatedEnumeration, invalid values, SVGFEDisplacementMapElement.prototype.xChannelSelector (empty string)Pass SVGAnimatedEnumeration, invalid values, SVGFEDisplacementMapElement.prototype.xChannelSelector (content attribute is not rewritten)Pass SVGAnimatedEnumeration, invalid values, SVGFEDisplacementMapElement.prototype.yChannelSelector (empty string)diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-keywords.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-keywords.txtindex 36cd180a191..853f283ae09 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-keywords.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedEnumeration-keywords.txt@@ -2,8 +2,8 @@ Harness status: OKFound 32 tests-28 Pass-4 Fail+30 Pass+2 FailPass SVGAnimatedEnumeration, keyword values, SVGComponentTransferFunctionElement.prototype.type (keywords)Pass SVGAnimatedEnumeration, keyword values, SVGComponentTransferFunctionElement.prototype.type (case-sensitive)Pass SVGAnimatedEnumeration, keyword values, SVGFEBlendElement.prototype.mode (keywords)@@ -12,8 +12,8 @@ Pass SVGAnimatedEnumeration, keyword values, SVGFEColorMatrixElement.prototype.tPass SVGAnimatedEnumeration, keyword values, SVGFEColorMatrixElement.prototype.type (case-sensitive)Pass SVGAnimatedEnumeration, keyword values, SVGFECompositeElement.prototype.operator (keywords)Pass SVGAnimatedEnumeration, keyword values, SVGFECompositeElement.prototype.operator (case-sensitive)-Fail SVGAnimatedEnumeration, keyword values, SVGFEConvolveMatrixElement.prototype.edgeMode (keywords)-Fail SVGAnimatedEnumeration, keyword values, SVGFEConvolveMatrixElement.prototype.edgeMode (case-sensitive)+Pass SVGAnimatedEnumeration, keyword values, SVGFEConvolveMatrixElement.prototype.edgeMode (keywords)+Pass SVGAnimatedEnumeration, keyword values, SVGFEConvolveMatrixElement.prototype.edgeMode (case-sensitive)Pass SVGAnimatedEnumeration, keyword values, SVGFEDisplacementMapElement.prototype.xChannelSelector (keywords)Pass SVGAnimatedEnumeration, keyword values, SVGFEDisplacementMapElement.prototype.xChannelSelector (case-sensitive)Pass SVGAnimatedEnumeration, keyword values, SVGFEGaussianBlurElement.prototype.edgeMode (keywords)diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedInteger-initial-values.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedInteger-initial-values.txtindex b08c4c46d63..92508fc62dc 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedInteger-initial-values.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedInteger-initial-values.txt@@ -2,15 +2,14 @@ Harness status: OKFound 10 tests-2 Pass-8 Fail-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderX (remove)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderX (invalid value)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderY (remove)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderY (invalid value)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetX (remove)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetX (invalid value)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetY (remove)-Fail SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetY (invalid value)+10 Pass+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderX (remove)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderX (invalid value)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderY (remove)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.orderY (invalid value)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetX (remove)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetX (invalid value)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetY (remove)+Pass SVGAnimatedInteger, initial values, SVGFEConvolveMatrixElement.prototype.targetY (invalid value)Pass SVGAnimatedInteger, initial values, SVGFETurbulenceElement.prototype.numOctaves (remove)Pass SVGAnimatedInteger, initial values, SVGFETurbulenceElement.prototype.numOctaves (invalid value)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-initial-values.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-initial-values.txtindex 0b0c85848c6..c540e732e03 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-initial-values.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-initial-values.txt@@ -2,8 +2,7 @@ Harness status: OKFound 102 tests-50 Pass-52 Fail+102 PassPass SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.slope (remove)Pass SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.slope (invalid value)Pass SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.intercept (remove)@@ -22,28 +21,28 @@ Pass SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k3 (remoPass SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k3 (invalid value)Pass SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k4 (remove)Pass SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k4 (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (remove)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (remove)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (remove)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (remove)-Fail SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (remove)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (remove)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (remove)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (remove)+Pass SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (invalid value)Pass SVGAnimatedNumber, initial values, SVGFEDisplacementMapElement.prototype.scale (remove)Pass SVGAnimatedNumber, initial values, SVGFEDisplacementMapElement.prototype.scale (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (remove)-Fail SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (remove)+Pass SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (invalid value)Pass SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dx (remove)Pass SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dx (invalid value)Pass SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dy (remove)@@ -64,38 +63,38 @@ Pass SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dx (remove)Pass SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dx (invalid value)Pass SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dy (remove)Pass SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dy (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (remove)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (remove)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (remove)-Fail SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (invalid value)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (remove)-Fail SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (remove)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (remove)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (remove)+Pass SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (invalid value)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (remove)+Pass SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (invalid value)Pass SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyX (remove)Pass SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyX (invalid value)Pass SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyY (remove)diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-invalid-values.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-invalid-values.txtindex c6dbb6f615b..7cca40bc82c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-invalid-values.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/types/scripted/SVGAnimatedNumber-invalid-values.txt@@ -2,8 +2,7 @@ Harness status: OKFound 100 tests-88 Pass-12 Fail+100 PassPass SVGAnimatedNumber, invalid values, SVGComponentTransferFunctionElement.prototype.slope (spaces around the value)Pass SVGAnimatedNumber, invalid values, SVGComponentTransferFunctionElement.prototype.slope (newlines around the value)Pass SVGAnimatedNumber, invalid values, SVGComponentTransferFunctionElement.prototype.slope (tabs around the value)@@ -40,18 +39,18 @@ Pass SVGAnimatedNumber, invalid values, SVGFEDropShadowElement.prototype.dx (lonPass SVGAnimatedNumber, invalid values, SVGFEDropShadowElement.prototype.dx (content attribute is not rewritten)Pass SVGAnimatedNumber, invalid values, SVGFEDropShadowElement.prototype.dx (a second number is not allowed)Pass SVGAnimatedNumber, invalid values, SVGFEDropShadowElement.prototype.dx (accepted number syntax)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (spaces around the value)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (newlines around the value)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (tabs around the value)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (empty string)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (unit suffix)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (trailing junk)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (trailing dot)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (two signs)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (lone sign)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (content attribute is not rewritten)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (a second number is not allowed)-Fail SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (accepted number syntax)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (spaces around the value)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (newlines around the value)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (tabs around the value)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (empty string)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (unit suffix)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (trailing junk)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (trailing dot)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (two signs)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (lone sign)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (content attribute is not rewritten)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (a second number is not allowed)+Pass SVGAnimatedNumber, invalid values, SVGFEDiffuseLightingElement.prototype.surfaceScale (accepted number syntax)Pass SVGAnimatedNumber, invalid values, SVGGeometryElement.prototype.pathLength (spaces around the value)Pass SVGAnimatedNumber, invalid values, SVGGeometryElement.prototype.pathLength (newlines around the value)Pass SVGAnimatedNumber, invalid values, SVGGeometryElement.prototype.pathLength (tabs around the value)