Template:Sticky header/testcases

Uses sticky header/sandbox. Note that it's not possible to compare the live and sandbox versions of styles.css on the same page since they would compete with each other.

Test sticky-header (no caption)
Sticky first row.

Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test sticky-header (caption)
Sticky first row.

Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test sticky-header (sortable)
Sticky first row.

Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test sticky-header-multi
Sticky element.

Issues:
 * Nothing sticky if JavaScript disabled, which is used by sortable, currently the only way to move headers to the element.
 * Sticky  rows, which sortable moves to the  element after sorting.

Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test sticky-header-scroll with sticky-header
Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test sticky-header-scroll with sticky-header-multi
Wikitable:

Wikitable wikitext:

Plain table:

Plain table wikitext:

Test template static row numbers (sticky-header, no caption)
Uses static row numbers with adjusted wikitable borders.

No label:

Label:

Test template static row numbers (sticky-header, caption)
Uses static row numbers with adjusted wikitable borders.

No label:

Label:

Test template static row numbers (sticky-header, sortable)
Uses static row numbers with adjusted wikitable borders.

No label:

Label:

Test template static row numbers (sticky-header-multi)
Uses static row numbers with adjusted wikitable borders.

No label:

Label:

Padding
Padding for testing purposes.