Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovering permanent anchors #134

Open
martinthomson opened this issue Jun 25, 2020 · 4 comments
Open

Discovering permanent anchors #134

martinthomson opened this issue Jun 25, 2020 · 4 comments

Comments

@martinthomson
Copy link

In the anchors section of the working mode there is a process for negotiating the creation of a permanent anchor. This is good, but that process does not describe how to discover whether a permanent anchor already exists. If it were possible to discover that an anchor is permanent, then there might be fewer requests.

I couldn't see any reference to a permanent anchor having been requested or executed either, nor could I see anything in fetch or html source, so I don't know whether this policy is in active use.

@dbaron
Copy link
Member

dbaron commented Jun 25, 2020

This policy comes from whatwg/meta#84 and #72 (which I somehow managed to entirely miss).

@annevk
Copy link
Member

annevk commented Jun 25, 2020

When we made the policy we deferred working on tooling as per whatwg/meta#84 (comment) onward. Seems like there are two main requirements:

  1. Do not regress on exposing it. (There's a tricky bit here that requires some editor care in that in theory you could preserve it while it identifies a different thing. That's not acceptable, but harder to enforce automatically.)
  2. Make them discoverable.

@domenic
Copy link
Member

domenic commented Jun 25, 2020

On no-regression, I think we can easily enforce this in tooling. Bikeshed already has Required IDs metadata; we need to add something similar to Wattsi.

On discoverability, I think it should just be a matter of looking at the issue tracker's issues tagged "anchor permanence".

@annevk
Copy link
Member

annevk commented Jun 26, 2020

whatwg/wattsi#128 tracks the remaining automation issue.

https://github.com/search?q=org%3Awhatwg+label%3A%22anchor+permanence%22 finds all requests. I'll PR the Working Mode to link that.

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

No branches or pull requests

4 participants