Skip to content

Commit

Permalink
[css-writing-modes] Clarify handling of white space at the start/end …
Browse files Browse the repository at this point in the history
…of a TCY combination. #4139 see also thread at <https://lists.w3.org/Archives/Public/www-style/2018Aug/0019.html>.
  • Loading branch information
fantasai committed Jul 21, 2019
1 parent 9fcf7d3 commit 53a5349
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
20 changes: 20 additions & 0 deletions css-writing-modes-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2400,6 +2400,9 @@ Layout Rules</h4>
but using the specified font settings),
similar to the contents of an ''inline-block'' box
with a [=horizontal writing mode=] and a 'line-height' of ''1em''.
Any [=document white space=] included at the start/end of the combined text
<em>is</em> [[css-text-3#white-space-processing|processed]] [[!CSS-TEXT-3]]
as at the start/end of such an inline block.
The effective size of the composition is assumed to be 1em square;
anything outside the square is not measured for layout purposes.
The UA should center the glyphs horizontally and vertically within the measured 1em square.
Expand Down Expand Up @@ -2494,6 +2497,23 @@ Privacy and Security Considerations {#priv-sec}
but not its computed value.
Also, optionally allow propagating 'text-orientation' as well.
(<a href="https://github.com/w3c/csswg-drafts/issues/3066">Issue 3066</a>)
<li>Clarified that white space within--
particularly at the start/end of--
a 'text-combine-upright' combined text sequence
is processed the same way as in an inline block.
(<a href="https://github.com/w3c/csswg-drafts/issues/4139">Issue 4139</a>)
<blockquote>
<p>When combining text as for ''text-combine-upright: all'',
the glyphs of the combined text are <a>bidi-isolated</a>
and composed horizontally
(ignoring 'letter-spacing' and any forced line breaks,
but using the specified font settings),
similar to the contents of an ''inline-block'' box
with a [=horizontal writing mode=] and a 'line-height' of ''1em''.
<ins>Any [=document white space=] included at the start/end of the combined text
<em>is</em> [[css-text-3#white-space-processing|processed]] [[!CSS-TEXT-3]]
as at the start/end of such an inline block.</ins>
</blockquote>
</ul>

<h3 class="no-num" id="changes-201712">
Expand Down
22 changes: 22 additions & 0 deletions css-writing-modes-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2671,6 +2671,9 @@ Layout Rules</h4>
but using the specified font settings),
similar to the contents of an ''inline-block'' box
with a [=horizontal writing mode=] and a 'line-height' of ''1em''.
Any [=document white space=] included at the start/end of the combined text
<em>is</em> [[css-text-3#white-space-processing|processed]] [[!CSS-TEXT-3]]
as at the start/end of such an inline block.
The effective size of the composition is assumed to be 1em square;
anything outside the square is not measured for layout purposes.
The UA should center the glyphs horizontally and vertically within the measured 1em square.
Expand Down Expand Up @@ -2798,6 +2801,25 @@ Changes since the <a href="https://www.w3.org/TR/2018/CR-css-writing-modes-4-201
Also, optionally allow propagating 'text-orientation' as well.
This change was also applied to level 3.
(<a href="https://github.com/w3c/csswg-drafts/issues/3066">Issue 3066</a>)
<li>
Clarified that white space within--
particularly at the start/end of--
a 'text-combine-upright' combined text sequence
is processed the same way as in an inline block.
(<a href="https://github.com/w3c/csswg-drafts/issues/4139">Issue 4139</a>)
This change was also applied to level 3.
<blockquote>
<p>When combining text as for ''text-combine-upright: all'',
the glyphs of the combined text are <a>bidi-isolated</a>
and composed horizontally
(ignoring 'letter-spacing' and any forced line breaks,
but using the specified font settings),
similar to the contents of an ''inline-block'' box
with a [=horizontal writing mode=] and a 'line-height' of ''1em''.
<ins>Any [=document white space=] included at the start/end of the combined text
<em>is</em> [[css-text-3#white-space-processing|processed]] [[!CSS-TEXT-3]]
as at the start/end of such an inline block.</ins>
</blockquote>
</ul>

<h3 id="additions">
Expand Down

0 comments on commit 53a5349

Please sign in to comment.