Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-LIFE-193

The line marker shows the hidden tabs that hold the line and marks its exact line

When the line marker is requested on a line inside a tab item that is not shown, the page SHALL select that tab and every hidden tab around the line, outermost first, the way a click does (the sets of the sync group follow, the focus does not move), unfold a folded section or a closed dropdown around the tab set first, and mark the exact paragraph or code line inside the shown tab, and SHALL select no tab for the tab-set line, nor for a later placement of the marker.

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 line in the second tab
Givena tab set whose second tab is not shown and holds a soft-wrapped paragraph
Whenthe page receives previewRevealLine for the third wrapped line of that paragraph
Thenthe second tab is shown (aria-selected true, its panel not hidden) and one arrow and band are drawn on that wrapped line
boundaryNested, folded and later cases
InputOutcome
a tab set nested in a hidden tabboth tabs are selected, the outer one first
a tab set in a closed dropdown or a folded sectionthe dropdown or section opens first, then the tab is selected
a code line in the hidden tabthe marker sits on that code line
the tab-set linethe top of the set is marked and no tab is selected
the tab is selected by the markerthe sets of its sync group follow, the choice is kept after a content patch, the focus does not move
the reader shows another tab (keyboard or sync group)the marker is not drawn until its tab shows again, and a later placement selects no tab

Implemented in 2

Tested by 2