diff --git a/dom/svg/SVGStopElement.cpp b/dom/svg/SVGStopElement.cpp index 417193565fd9..eeaa14bbb669 100644 --- a/dom/svg/SVGStopElement.cpp +++ b/dom/svg/SVGStopElement.cpp @@ -50,7 +50,8 @@ SVGElement::NumberAttributesInfo SVGStopElement::GetNumberInfo() { NS_IMETHODIMP_(bool) SVGStopElement::IsAttributeMapped(const nsAtom* name) const { - static const MappedAttributeEntry* const map[] = {sGradientStopMap}; + static const MappedAttributeEntry* const map[] = {sColorMap, + sGradientStopMap}; return FindAttributeDependence(name, map) || SVGStopElementBase::IsAttributeMapped(name); diff --git a/testing/web-platform/meta/svg/pservers/scripted/stop-color-inheritance-currentcolor.svg.ini b/testing/web-platform/meta/svg/pservers/scripted/stop-color-inheritance-currentcolor.svg.ini deleted file mode 100644 index 029dd5e61d9f..000000000000 --- a/testing/web-platform/meta/svg/pservers/scripted/stop-color-inheritance-currentcolor.svg.ini +++ /dev/null @@ -1,4 +0,0 @@ -[stop-color-inheritance-currentcolor.svg] - ["currentcolor" is inherited as a keyword] - expected: FAIL -