[svgwg] Merged Pull Request: Fix swapped href targets for open/closed subpath terms in definitions.xml

karlcow has just merged kjanat's pull request 1116 for https://github.com/w3c/svgwg:

== Fix swapped href targets for open/closed subpath terms in definitions.xml ==

The four `<term>` entries for *open subpath* / *closed subpath* in
`master/definitions.xml` have their `href` anchors swapped: each term links to
the **opposite** definition.

### Current (on `main`)

https://github.com/w3c/svgwg/blob/ad280d03e1794513cf31384a89b38f2f8d982925/master/definitions.xml#L1026-L1029

```text
<term name='open subpath' href='paths.html#TermClosedSubpath'/>
<term name='open subpaths' href='paths.html#TermClosedSubpath'/>
<term name='closed subpath' href='paths.html#TermOpenSubpath'/>
<term name='closed subpaths' href='paths.html#TermOpenSubpath'/>
```

### Why these are wrong

The anchor IDs in `paths.html` are correctly named, so the term refs above point
at the opposite definitions:

https://github.com/w3c/svgwg/blob/ad280d03e1794513cf31384a89b38f2f8d982925/master/paths.html#L405-L407

```text
<dfn id="TermClosedSubpath">closed subpath</dfn>
...
<dfn id="TermOpenSubpath">open subpath</dfn>
```

So `name='open subpath'` resolves to the **closed**-subpath definition, and
`name='closed subpath'` resolves to the **open**-subpath definition.

### Fix

Swap the four `href`s so each term points at its matching definition:

```diff
-<term name='open subpath' href='paths.html#TermClosedSubpath'/>
-<term name='open subpaths' href='paths.html#TermClosedSubpath'/>
-<term name='closed subpath' href='paths.html#TermOpenSubpath'/>
-<term name='closed subpaths' href='paths.html#TermOpenSubpath'/>
+<term name='open subpath' href='paths.html#TermOpenSubpath'/>
+<term name='open subpaths' href='paths.html#TermOpenSubpath'/>
+<term name='closed subpath' href='paths.html#TermClosedSubpath'/>
+<term name='closed subpaths' href='paths.html#TermClosedSubpath'/>
```

### Notes

- Editorial / non-normative: this only corrects cross-reference link targets in
  the term index; no spec text or behavior changes, so no web-platform-tests PR
  is needed (per `CONTRIBUTING.md`).


See https://github.com/w3c/svgwg/pull/1116


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 8 June 2026 03:15:55 UTC