Closed michaelficarra closed 1 week ago
Are we sure HTML or 402 isn’t using these?
@ljharb We could check, but as I said above, we wouldn't want an integration of that kind anyway.
Why wouldn't we? I'm pretty sure both HTML and Intl modify specific steps at times.
We want all spec integrations to be done through an overridden AO which is specifically designed for that purpose, and whose invariants/constraints are inviolable, even by integrating specs.
Then it seems like a good first step is to ensure those two specs don't reference any specific steps, and if they are, provide whatever mechanisms they need to avoid depending on steps?
I've checked that the affected IDs in this PR are not referenced. Feel free to search for any cases of a downstream spec reaching into 262 AOs (other than defining Host AOs) and report them in the issue tracker.
I don't see a reason to remove these, regardless of whether they're linked to.
@bakkot Would you add them if they didn't exist? I don't understand why we would have them.
I don't think "we wouldn't add this if it didn't already exist" is enough reason, on its own, to justify removing something. It's OK to leave things as they are in the absence of an affirmative reason to change them.
It's like oldids
. We don't need them any more, but we keep them so that the published spec continues to support inbound links that use old fragment ids. (The link might be from another spec, or a blog, or a tweet, or just someone's bookmark.)
I agree with @bakkot. I don't see a reason to remove these, since they add no reader burden.
Ran this quick and dirty script to find them:
Maybe this is something we should enforce in ecmarkup? We're not going to intentionally expect another spec to refer to an individual step, right?