Skip to main content

Module list

Module list 

Source
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_class can 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-N and drop-secondary-N ladders, in rem: the width under which a table’s optional, then its secondary, columns close outright.
FLOW_CLASSES
Every class flow_class can return.
KIND_CLASSES
Every class kind_class can 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_class can 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-N ladder, in rem: the narrowest and widest table width it can say, and the step between two.
STACKS_RUNGS
The rungs of the stacks-N ladder, in rem: the width under which a table’s rows stop being a grid and draw as stacked records.
TILES_STEP
How many rem of tiles-N rungs 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 None for 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_SIZER around copies, which go inside a cell’s or a heading’s CELL_IN after what it holds.