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, stacks-N and
drop-*-N ladders (SHORT_RUNGS, STACKS_RUNGS, DROP_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.
- DROP_
RUNGS - The rungs of the
drop-optional-Nanddrop-secondary-Nladders, inrem: the width under which a table’s optional, then its secondary, columns close outright. - 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_
ACTIONS - The class a run of row parts takes when what it holds is controls.
ROW_TOKENS’ reason. - ROW_
PART_ CLASSES - Every class
part_classcan return, including the fallback, and the three a run takes for what it holds. - ROW_
PROPORTION - The class a run of row parts takes when what it holds is a meter.
ROW_TOKENS’ reason. - ROW_
TOKENS - The class a run of row parts takes when what it holds is badges.
- SHORT_
RUNGS - The rungs of the
short-Nladder, inrem: the narrowest and widest table width it can say, and the step between two. - STACKS_
RUNGS - The rungs of the
stacks-Nladder, inrem: the width under which a table’s rows stop being a grid and draw as stacked records. - TILES_
STEP - How many
remoftiles-Nrungs share one width query: a table carrying any rung up to the next multiple of this tiles below that multiple.
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, by how far forward it stands.
- 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.