W3C home > Mailing lists > Public > www-style@w3.org > August 2018

[css-writing-modes] Should a combined white space at the end of a line be removed?

From: Yuki Sekiguchi <yuki.sekiguchi@access-company.com>
Date: Tue, 14 Aug 2018 15:59:46 +0900
Message-ID: <CADxFA+SGCr3Bide6m81jKQMyfbtcOTdcOMetHwD3BXbd-u2TEA@mail.gmail.com>
To: www-style@w3.org

I checked the following on Safari/Chrome/Firefox for macOS.
  #tcy {
    border: solid 1px red;
    text-combine-upright: all;
    -webkit-text-combine: horizontal;
<div style="writing-mode: vertical-rl">
  <span id="tcy"> </span>

Safari shows the combined white space at the end of the line, but Chrome
and Firefox don't show it.

Should the combined white space at the end of a line be removed?

It looks like Chrome and Firefox remove the combined white space to follow
CSS 3 Text.
> A sequence of collapsible spaces at the end of a line (ignoring any
intervening inline box boundaries) is removed.

However, Safari doesn't remove the combined white space because it should
be considered as the Object Replacement Character
> For other text layout purposes, ... the resulting composition is treated
as a single glyph representing the Object Replacement Character U+FFFC.

I guess that Chrome and Firefox consider White Space Processing as line
breaking and follow:
> For line breaking before and after the composition, it is treated as a
regular inline with its actual contents.

I'm not sure if the removing is line breaking because the removing is done
after line breaking.

Which is correct?

Best regards
Yuki Sekiguchi

Received on Tuesday, 14 August 2018 07:56:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:11 UTC