my code is working well in Chrome but not in Firefox.
When I search path element using querySelector with attribute Firefox gives an error that path is not found.
defs.appendChild(svgGradient)
const path = this.#svg.querySelector(`[ElementName="${this.#name}"]`)
path.setAttribute("fill", `url(#${gradientId})`)
when I searched the path with id I was able to find the path. So I suspect the in Firefox query with attribute tag is not support or have I made a mistake, can anyone correct me?