Behaviour SwRS-MDOKFSTUDIO-LIFE-179
The line marker stays through scrolls and layout changes and goes on a pointer press, an edit or a new line
While a line marker is shown, the page SHALL keep it when the reader scrolls, draw it again at its source line after a re-render, a content patch or a layout change, and remove it when the reader presses the pointer in the page, when an edit starts, or move it when another line is requested.
Another outcome at step 3 of path 2 in StRS-MDOKFSTUDIO-LIFE-023, in the state “The reader reads and edits on”.
Scenarios 2
The situations the tests check; open one to read it.
nominalNominal case
Givena line marker is shown on line 20
Whenthe reader scrolls, resizes the pane, or the page content is replaced
Thenthe marker is drawn again on line 20; a pointer press in the page then removes it
boundaryBoundary cases
| Input | Outcome |
|---|---|
| another line requested | the marker moves to the new line |
| the line is folded away by the reader later | the marker is not drawn until the line shows again |
| an edit starts (focus in a block or frontmatter editor) | the marker is removed |
| another tab of the set is shown (keyboard or sync group) | the marker is not drawn until its tab shows again |
| the reader collapses the properties table | the marker is not drawn, and a later placement never expands the table |
| a full page reload | the marker is lost (known limit) |