Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-CORE-034

Long words, URLs, identifiers and CJK text wrap in the column

When a word, a URL, an inline code identifier or a Japanese, Chinese or Korean paragraph is longer than the available width, the extension SHALL wrap it inside the column or pane at 900 px and 460 px, without horizontal overflow of the page.

Another outcome at step 1 of path 2 in StRS-MDOKFSTUDIO-CORE-001, in the state “The preview shows the unsaved text”.

Scenarios 3

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

nominalWords, URLs and identifiers
InputOutcome
a 120-character word with no break opportunity at 900 pxwraps inside the column
the same word at 460 pxwraps inside the column
a paragraph holding a 200-character URL linkwraps inside the column
the pane narrowed to 460 px with that URLthe page has no horizontal overflow
a long identifier in inline code that exceeds the available width at 460 pxwraps inside the viewport
nominalCJK text
InputOutcome
a Japanese paragraph at 900 pxwraps inside the pane
a Korean paragraph at 460 pxwraps inside the pane and no horizontal scrolling appears
boundaryIdentifier as wide as the viewport
Givenan inline code identifier exactly as wide as the viewport
Whenit is shown
Thenit neither overflows nor wraps needlessly

Implemented in 3

Tested by 2

Replaces

SwRS-MDOKFSTUDIO-CORE-039Wrap CJK text in the pane superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file
SwRS-MDOKFSTUDIO-CORE-040Wrap an unbroken word in the column superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file
SwRS-MDOKFSTUDIO-CORE-042Wrap long URLs in the column superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file