Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-LIFE-192

The line marker marks the table row of the line

When the line marker is requested on a line of a pipe table, the page SHALL mark the row of that line, the header row for the delimiter line, wherever the table sits (top level, quote, alert, admonition, list item or tab item), and SHALL mark the top of the enclosing block for a line of a list-table, a captioned table, a raw HTML table or a line past the last row.

Part of StRS-MDOKFSTUDIO-LIFE-023, outside the paths drawn on its map.

Scenarios 2

The situations the tests check; open one to read it.

nominalA body row of a pipe table
Givena page with a pipe table whose second body row is on source line 43
Whenthe page receives previewRevealLine for line 43
Thenone arrow and band are drawn on that row (its top and its height), and no row or cell gets a click target of its own
boundaryRows, containers and fallbacks
InputOutcome
the header line L, body row n at L + n + 1each marks its own row
the delimiter line (the line after the header)the marker sits on the header row
a table in a quote, an alert, an admonition, a list item or a tab itemthe row is marked
a line of a list-table, a captioned table or a raw HTML tablethe marker sits at the top of the enclosing block
a line past the last row of a tablethe marker sits at the top of the enclosing block
a row with wrapped cellsthe marker covers the whole height of the row

Implemented in 2

Tested by 3