[svgwg] [WPT maintenance] fixing xlink:href in tests (#1042)

karlcow has just created a new issue for https://github.com/w3c/svgwg:

== [WPT maintenance] fixing xlink:href in tests ==
In https://svgwg.org/svg2-draft/linking.html#XLinkRefAttrs

> In previous versions of SVG, the ‘href’ attribute was specified in the XLink namespace [[xlink](https://svgwg.org/svg2-draft/refs.html#ref-xlink)] namespace. This usage is now deprecated and instead [URL references](https://svgwg.org/svg2-draft/linking.html#TermURLReference) should be specified using the ‘href’ attribute without a namespace.

Here is the list count of all occurences of `xlink:href`

[list-xlink-href-deprecated.txt](https://github.com/user-attachments/files/24044681/list-xlink-href-deprecated.txt)


There is probably an opportunity to modify some of the tests to `href`. 


CLI to find the occurences in web-platform-tests/wpt/
```
grep -r "xlink:href" . --exclude-dir=.git | awk -F: '{print $1}' | sort | uniq -c | sort -rn | awk '{print $2 " | " $1}' > list-xlink-href-deprecated.txt
```

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1042 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:10:12 UTC