You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow Bikeshed specs to more easily autolink to HTML #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.
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?
Activity
tabatkins commentedon Apr 5, 2016
👍
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.
jyasskin commentedon Apr 5, 2016
Web Bluetooth:
annevk commentedon Apr 6, 2016
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.
tabatkins commentedon Apr 6, 2016
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?
jyasskin commentedon Apr 6, 2016
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
<dfn for="document">origin</dfn>.Meta: export worker definitions for auto-cross-spec-linking
domenic commentedon Oct 21, 2016
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.
Meta: export more terms for Bikeshed-based specs
Meta: export more terms for Bikeshed-based specs
Meta: export more terms for Bikeshed-based specs
Meta: export more terms for Bikeshed to use
Meta: export more terms for Bikeshed-based specs
Meta: export more terms for Bikeshed to use