Skip to content

Bikeshed says <{a/target}> is ambiguous, but it shouldn't be? #3163

@domenic

Description

@domenic

The error message is

LINE 269:91: Multiple possible 'target' element-sub refs for '['a']'.
Arbitrarily chose https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-target
To auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:
spec:html; type:element-attr; for:a; text:target
spec:html; type:element-attr; for:area; text:target
spec:svg2; type:element-attr; text:target
<{a/target}>

but as can be seen from the provided choices, there's only one spec for which <{a/target}> makes sense. Why make me specify it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions