webauthn icon indicating copy to clipboard operation
webauthn copied to clipboard

export definitions?

Open equalsJeffH opened this issue 6 years ago • 5 comments

AFAIK, in order to have terms that are defined -- e.g., <dfn>...</dfn> -- in the webauthn spec able to be used by reference in other W3C & WhatWG specs, they need an export attribute. E.g.: <dfn export>...</dfn>. If this is truly the case, then do we want to export all our <dfn>s or tag some explicit subset for export?

See also related issue #1489

equalsJeffH avatar Aug 27 '18 21:08 equalsJeffH

PR #1225 removed some unused <dfn>s from the Authenticator Taxonomy section. We might want to re-introduce these dfns at some point.

emlun avatar Jun 11 '19 10:06 emlun

this is a very minor nice-to-have issue, can be addressed in a milestone later than wd-03 or not at all.

equalsJeffH avatar Jul 01 '20 17:07 equalsJeffH

Guidance from @tabatkins wrt our <dfn>s:

Overall:

  • "export" only applies to <dfn>s
  • don't export terms you use purely for internal purposes.
  • do export everything else. i.e., anything you think another spec could possibly reasonably link to

equalsJeffH avatar Sep 30 '20 20:09 equalsJeffH

"export" only applies to <dfn>s

Rather, it's generally only needed for "dfn"-type definitions. All other definition types default to being exported, but data-dfn-type=dfn (which is the default if not otherwise labeled, or autodetected as something else) is not exported by default.

tabatkins avatar Sep 30 '20 22:09 tabatkins

this is a nice-to-have and puntable to a later spec version.

See also related issue #1489

equalsJeffH avatar Oct 13 '20 23:10 equalsJeffH