Skip to content

Multiple dfns with same text but different data-dfn-fors number their ids #4415

Open
marcoscaceres/respec
#9

Description

@jyasskin

Description of problem

URL to affected spec or repo: w3c/hr-time#156

<dfn data-export="" data-dfn-for="wall clock">unsafe current time</dfn>

produces https://w3c.github.io/hr-time/#dfn-unsafe-current-time-0, and

<dfn data-export="" data-dfn-for="monotonic clock">unsafe current time</dfn>

produces https://w3c.github.io/hr-time/#dfn-unsafe-current-time-1. The ids should instead include the data-dfn-for value since that's how specifications disambiguate. For backward-compatibility, this should probably only happen if a spec includes two definitions with the same text and different for values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions