braillespecs / braille-css

Braille CSS specification
http://braillespecs.github.io/braille-css
2 stars 1 forks source link

Generated Lists #10

Open bertfrees opened 9 years ago

bertfrees commented 9 years ago

Add a section "Generated Lists" that explains how lists can be generated from the main content. Some of the examples of generated lists given can be accomplished with mechanisms already described. But we need additional features for skipping a list heading when the list contains no items, and for sorting lists. Some lists may have to be sorted alphabetically (e.g., an index and a glossary), and others reflect the order of the content (toc, lof, lot).

bertfrees commented 9 years ago

We could use the concept of a "prototype container", inspired by an earlier version of [CSS3GCPM], but possibly with another syntax.

A prototype container is basically a box that can contain content of its own, but is only generated if some other content is flowed into it.

Name prototype
Value <custom-ident>
Initial ???
Applies to ???
Inherited no
Media embossed
Computed value the specified value