- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Tue, 09 Dec 2025 02:20:13 +0000
- To: public-svg-issues@w3.org
karlcow has just created a new issue for https://github.com/w3c/svgwg: == [WPT] Testing deprecated xlink:href and precedence of href == In https://svgwg.org/svg2-draft/linking.html#XLinkRefAttrs > When the ‘href’ attribute is present in both the XLink namespace and without a namespace, the value of the attribute without a namespace shall be used. The attribute in the XLink namespace shall be ignored. ``` <svg> <image xlink:href="foo.png" href="bar.png"/> </svg> ``` `bar.png` should win. ``` <svg> <image href="bar.png" xlink:href="foo.png"/> </svg> ``` `bar.png` should win. Are there tests for this already in WPT? attribute | elements | -- | -- | [xlink:href](https://svgwg.org/svg2-draft/linking.html#XLinkHrefAttribute) | [a](https://svgwg.org/svg2-draft/linking.html#AElement), [image](https://svgwg.org/svg2-draft/embedded.html#ImageElement), [linearGradient](https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement), [pattern](https://svgwg.org/svg2-draft/pservers.html#PatternElement), [radialGradient](https://svgwg.org/svg2-draft/pservers.html#RadialGradientElement), [script](https://svgwg.org/svg2-draft/interact.html#ScriptElement), [textPath](https://svgwg.org/svg2-draft/text.html#TextPathElement), [use](https://svgwg.org/svg2-draft/struct.html#UseElement) | [xlink:href](https://drafts.fxtf.org/filter-effects/#element-attrdef-feimage-xlinkhref) | [feImage](https://drafts.fxtf.org/filter-effects/#feImageElement) Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1043 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 December 2025 02:20:15 UTC