Skip to content

Commit

Permalink
[css-text-3] Wrt trailing spaces and bidi, add cross-reference and ma…
Browse files Browse the repository at this point in the history
…ke implication informative, rather than declaring a special-case rule. Update to #4308
  • Loading branch information
fantasai committed Dec 15, 2020
1 parent 4054ced commit b762a27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions css-text-3/Overview.bs
Expand Up @@ -1778,6 +1778,7 @@ Order of Operations</h4>
white-space-processing-040.xht
white-space-processing-041.xht
</wpt>

<li>If the [=tab size=] is zero, [=preserved=] [=tabs=] are not rendered.
Otherwise, each [=preserved=] [=tab=] is rendered as a horizontal shift
that lines up the start edge of the next glyph with the next <a>tab stop</a>.
Expand Down Expand Up @@ -1835,11 +1836,10 @@ Order of Operations</h4>
white-space-processing-047.xht
</wpt>

In the case of bidirectional text,
any sequence of [=collapsible=] [=spaces=] located at the end of the line
Note: Due to [[UAX9]] rule <a href="http://unicode.org/reports/tr9/#L1">L1</a>,
a sequence of [=collapsible=] [=spaces=] located at the end of the line
prior to <a href="https://www.w3.org/TR/css-writing-modes/#text-direction">bidi reordering</a> [[CSS-WRITING-MODES-3]]
is also removed,
and bidi reordering is applied on the remaining content of the line.
will also be at the end of the line after reordering.

<wpt>
white-space/eol-spaces-bidi-001.html
Expand Down

0 comments on commit b762a27

Please sign in to comment.