Description
It emerges in #1288 that the ambiguity that exists in the CSS-related dfn-type
of the DFN contract has sipped into our model of CSS extracts.
In particular, #1288 stems for our tests currently flagging <combinator>
in css-mixins-1 as duplicate of <combinator>
in selectors-4, whereas the two names are not in the same namespace: the latter is used to parse a selector, the former to parse a CSS value, but both appears under a values
list with a type: type
.
Unless we find spec-evidence that the two names are in fact meant to be in the same namespace (and thus the test failure would be a sign of a spec bug), we need to not fail in such a situation, which I think entails surfacing that namespacing one way or another.
My personal interpretation of values
in our CSS extracts was to match https://drafts.csswg.org/css-values-4/#value-defs , in which case <combinator>
should not appear under such a list in selectors.json, and we would need either to find a way to ignore these constructs in reffy, or (probably preferably) find a way to surface them in a different structure.