Expand description
The classes a list’s or a table’s columns, rows and cells carry.
The row and cell markup is drawn by the quasi hosts (quasi-webview for
this renderer), which own the column and cell members of the vocabulary.
What stays here is the naming those hosts write into markup and the
generated stylesheet rules: a column’s name as a class
(push_column_name), the kind, part and flow classes, the cell wrapper
(CELL_IN) and sizer (push_sizer), the short-N ladder
(SHORT_RUNGS), and the class lists the vocabulary is checked against.
§Why positions are the bug
goingson hid its mobile columns with nth-child(n+5) against a
seven-column table, plus a separate nth-child(3), plus two class-based
rules, the same fact said three ways, two of them positional. Insert a
column anywhere left of the cut and the wrong one disappears, silently,
because nothing in the stylesheet knows what column five is.
Priority is the fix: a renderer narrows by what a column is worth, as a
shrink factor on the column’s own class (one of CELL_DROP_CLASSES), and
never by counting.
Constants§
- CELL_
DROP_ CLASSES - Every class saying when a cell of a column drops, including the tier that never does.
- CELL_IN
- The wrapper every cell and heading holds its contents in.
- CELL_
PART_ CLASSES - Every class
cell_part_classcan return, including the fallback. - CELL_
SIZER - What a kept column is as wide as, when its floor cannot say.
- CELL_
WIDTH_ CLASSES - Every class saying how wide a cell of a column asks to be, including the fill a column that makes no claim lands on.
- FLOW_
CLASSES - Every class
flow_classcan return. - KIND_
CLASSES - Every class
kind_classcan return. - NESTING_
CLASSES - The classes a row inside a hierarchy carries.
- ROW_
PART_ CLASSES - Every class
part_classcan return, including the fallback. - SHORT_
RUNGS - The rungs of the
short-Nladder, inrem: the narrowest and widest table width it can say, and the step between two.
Functions§
- cell_
part_ class - The class for a cell part.
- flow_
class - The class for a part’s flow, if it needs one.
- kind_
class - The class saying what a column holds, or
Nonefor prose. - part_
class - The class for a row part.
- push_
column_ name - A column’s name as the identifier half of its class.
- push_
sizer - A
CELL_SIZERaroundcopies, which go inside a cell’s or a heading’sCELL_INafter what it holds.