-
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
NavigatorOnline.onLine IDL attribute is not exported to bikeshed's database #6053
Comments
This links to whatwg/html#6053 for the workaround added in w3ctag#242.
@plinss is this something you could help with? I thought IDL was taken care of automatically. |
The intent is to mark up all our |
https://raw.githubusercontent.com/w3c/webref/master/ed/dfns/html.json correctly identifies it with the proper dfn-type. and as a result #5956 would fix this I believe. Also, once speced/bikeshed#1761, the right dfn type will be exposed to bikeshed and respec specs independently of whether or when #5956 gets merged. |
hmm... looking into #5956 it would probably need to be tweaked since right now the |
Shepherd does parse IDL and uses that to classify existing anchors where names match, but it doesn't generate dfns that don't exist. Having explicit markup on dfns is preferred. Bikeshed uses the same IDL parser and similar heuristics to generate the proper markup on the output spec. Ideally wattsi should do something similar. |
This links to whatwg/html#6053 for the workaround added in #242.
@dontcallmedom FWIW, I would not mind dropping |
I have just suggested dropping |
Okay, that also works. |
NavigatorOnline.onLine is not exported to bikeshed's database as an IDL attribute. (It's exported as the
navigator.online
dfn, though.) This means that a reasonable way to reference it in bikeshed like{{NavigatorOnline/onLine|navigator.onLine}}
or{{Navigator/onLine|navigator.onLine}}
doesn't work. See the following test bikeshed document:which produces the output:
We worked around this in w3ctag/design-principles#242.
The text was updated successfully, but these errors were encountered: