Re: [csswg-drafts] [css-functions] Shouldn't the index of functions include `url()`?

Basically, yes, but the `<dfn>` also needs an id or to be inside 
something with an id (like a heading) so that it serves as an anchor 
for other specs to link to. For specs using bikeshed (css-values-3/4),
 the id will be automatically generated by bikeshed, however CSS2.2 
uses a different pre-processor, I'm not sure if it adds ids to 
`<dfn>s` or not.

For completeness, both Bikeshed and Shepherd also need type 
information for the `<dfn>` e.g. `<dfn data-dfn-type='function'>` but 
both will use heuristics and should determine the type automatically 
based on the `()`. See the [Bikeshed 
docs](https://tabatkins.github.io/bikeshed/#definitions) for more 
detail on that.

CSS2.2 should definitely get a `<dfn>url()</dfn>`, but as you say, 
might require prose changes to make sense in context. It's debatable 
whether a url function definition should be added to css-values or 
not, please consult the editors on that one, cc @tabatkins @fantasai 

-- 
GitHub Notification of comment by plinss
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1014#issuecomment-278880916
 using your GitHub account

Received on Friday, 10 February 2017 07:58:52 UTC