respec icon indicating copy to clipboard operation
respec copied to clipboard

Link to attribute value goes to an unrelated definition

Open mgiuca opened this issue 1 year ago • 1 comments

Description of problem

A link to an attribute value is being targeted at an unrelated definition with the same name.

From within the Manifest spec: [^link/rel/manifest^] should link to #link-type-manifest in the HTML spec, but instead links to #dfn-manifest in itself.

URL to affected spec or repo:

https://w3c.github.io/manifest/#updating - see the first sentence there:

As specified for [^link/rel/manifest^] link relation...

What happened (e.g., it crashed)?:

It links to #dfn-manifest, seemingly ignoring the explicit "link/rel" part and just trying to find a definition named "manifest".

Expected behavior (e.g., it shouldn't crash):

It should find the attribute value "manifest" for the attribute "rel" of the element "link", which is defined in HTML at #link-type-manifest.

This works properly for any other type of link, e.g., [^link/rel/stylesheet^]. I think it's getting distracted by the fact that we have a definition of "manifest" in this same document.

See, Respec itself tells me to cite it using this syntax (and it says to use [=manifest=] to get the other definition):

image

mgiuca avatar Apr 24 '23 04:04 mgiuca