Open Bug 676168 Opened 14 years ago Updated 3 years ago

<richlistbox> only supports one <listheader>

Categories

(Core :: XUL, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: BenB, Unassigned)

Details

Reproduction: <richlistbox> <listhead> <listheader label="Foo"/> <listheader label="Bar"/> </listhead> <richlistitem ...> (20 times, to cause scrolling) </richlistbox> Actual result: The list header scrolls away Expected result: The list header should be fixed at the top. Workaround 1: <richlistbox> <listheader equalsize="always" style="border: 0; padding: 0; -moz-appearance: none;"> <treecol label="Foo"/> <treecol label="Bar"/> </listheader> <richlistitem ...> </richlistbox> This has almost the right layout, also on Linux GTK (where the style is needed, otherwise you get a header inside a header), BUT the markup is semantically completely wrong: 1) it's using a cell element as a row element 2) using a tree element in a listbox.
Component: XP Toolkit/Widgets: XUL → XUL
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.