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

What defines a heading definition #11

Open
marcoscaceres opened this issue Jul 5, 2021 · 1 comment
Open

What defines a heading definition #11

marcoscaceres opened this issue Jul 5, 2021 · 1 comment

Comments

@marcoscaceres
Copy link
Contributor

According to BS, headings (h1-h6) are definitions, but that seems untrue.

For example, <h2>Abstract</h2> and is not a definition?

Is a heading-based definition maybe something that has an explicit data-export?

@dontcallmedom @tidoust, how does Reffy classify them?

@dontcallmedom
Copy link
Member

My reading of https://tabatkins.github.io/bikeshed/#dfn-contract is that headings are only considered if they have data-dfn-type set, per:

data-dfn-type MUST be provided, and set one of the accepted values.
(In an actual Bikeshed document, this can be omitted from dfn elements and it will be inferred from context, usually defaulting to "dfn" type. But non-Bikeshed documents must specify this, or else they’ll get their dfn type inferred heuristically, which may or may not be correct.)

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

No branches or pull requests

2 participants