-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow Bikeshed specs to more easily autolink to HTML #998
Comments
👍 Here's the list from Service Worker:
Here's DOM:
Here's FileAPI:
I'm sure @mikewest and @jyasskin probably have some lists of HTML anchors they've used in their specs, too. |
|
So I guess one way to address the problem with "origin" is to mark HTML's definition of "origin" as for="origin" and do something similar for the associated terms. Perhaps even give them data-lt="" attributes with shorter names. |
HTML's "origin" is actually probably not for anything at all; all the other terms are. (They're for url, request, and http.) HTML's origin is just... an origin. Maybe for a document or a window or something? |
I wouldn't mark https://html.spec.whatwg.org/multipage/browsers.html#origin "for" anything. That's just what an origin is. If there's a definition of "the origin of a document", then that would be |
This adds the appropriate data attributes, per https://github.com/tabatkins/bikeshed/blob/master/docs/dfn-contract.md, to worker-related <dfn>s. This will allow specs using that contract, such as those written in Bikeshed, to automatically link to these terms. Part of #998.
We've done pretty well so far; many of the above are unnecessary, although we should probably check. https://github.com/w3c/IndexedDB/blob/gh-pages/index.bs is also good. |
This exports all the terms used by Service Worker, DOM, File API, and IndexedDB. Closes #998.
This exports all the terms used by Service Worker, DOM, File API, and IndexedDB. Closes #998.
This exports all the terms used by Service Worker, DOM, File API, and IndexedDB. Closes #998.
This exports all the terms used by Service Worker, DOM, File API, and IndexedDB. Closes whatwg#998.
This includes those used by Fetch, Fullscreen, and some for Service Workers that were not previously taken care of. It also includes all events in the event index. Closes whatwg#1997 by including its contents. Part of whatwg#998.
We've been trying to honor Bikeshed's rules on an ad-hoc basis, but I'd like to take a better crack at it.
One obvious thing is to stop using noexport on our
<dfn>
s since it's not necessary. But otherwise, I'd like to just get started by canvasing specs that reference HTML a lot and finding their Bikeshed link defaults sections and seeing how we can help them eliminate those in favor of more automatic autolinking.The text was updated successfully, but these errors were encountered: