-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use of value
definition type for terms that are not CSS values
#218
Comments
Are there tools that parse the AOM specifications? and that cannot associate a non-CSS semantic for "value" definitions? |
We added the AOM specs to browser-specs, which means they now get crawled to produce data in Webref. Webref powers the cross-references database used in Bikeshed and ReSpec. The data and CSS extracts in Webref are also used in some IDEs and analysis tools. Whether the use of For the CSS extract, we're trapping the problem through a patch in Webref to forget about the values for now. The definitions still reach Bikeshed and ReSpec as CSS definitions. That's slightly incorrect but that should not create any major issue! |
I'm taking a look at this right now. I'm not very familiar with BikeShed, so some newbie questions:
|
@tidoust Looking through the AV1-ISOBMFF spec, I see that
Note the Is this the reason why we are manually "importing" these definitions in AVIF?
If AV1-ISOBMFF used |
Yes,
That's correct,
From a Bikeshed perspective,
That's correct as well. Note that you can force Bikeshed to create a link to a private term by adding a <a spec="AV1-ISOBMFF">AV1CodecConfigurationBox</a> Exporting definitions should be the preferred route whenever possible. It may make sense to keep definitions private if links are expected to be only from "related" specs, e.g., under the control of the same group of people, as a way to create the equivalent of the |
The spec uses
value
definition types for some of its definitions, e.g.av01
.It's tempting to use the
value
type for such values but, despite the generic name, that type was defined for CSS values, see Bikeshed's documentation. The use ofvalue
confuses tools that parse specs to extract semantic information, because that makes them think that the spec defines CSS terms.There is no better definition type than
dfn
for now for such values. The possiblity to create one is being tracked in speced/spec-dfn-contract#6The text was updated successfully, but these errors were encountered: