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

[css-animations-2] Add <dfn> reference for <timeline-name> definition #5916

Open
pyoor opened this issue Feb 1, 2021 · 0 comments
Open

[css-animations-2] Add <dfn> reference for <timeline-name> definition #5916

pyoor opened this issue Feb 1, 2021 · 0 comments

Comments

@pyoor
Copy link

pyoor commented Feb 1, 2021

The <timeline-name> syntax definition should include a reference to where it is used (i.e. <single-animation-timeline>) in the actual definition.

<pre>
&lt;timeline-name> = <<custom-ident>> | <<string>>
</pre>

I'm not familiar with using bikeshed but the resulting HTML would look like:

<pre>
  <dfn class="dfn-paneled css" data-dfn-type="type" data-export="" id="typedef-timeline-name">&lt;timeline-name&gt;</dfn>
   = <a class="production" data-link-type="type" href="https://drafts.csswg.org/css-values-4/#identifier-value" id="ref-for-identifier-value">&lt;custom-ident&gt;</a> | <a class="production" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#string-value" id="ref-for-string-value">&lt;string&gt;</a>
</pre>

This formatting would be consistent with other specs including the parent <single-animation-timeline> definition, and would also allow for easier parsing.

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

No branches or pull requests

2 participants