Skip to content

Commit ed83d1a

Browse files
committed
[css-ruby] Clarifications to auto-hiding text comparison
1 parent 232a90f commit ed83d1a

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

css-ruby/Overview.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ <h4 id=nested-pairing><span class=secno>2.3.1. </span> Nested Ruby</h4>
679679
<h3 id=autohide><span class=secno>2.4. </span> Autohiding Annotations</h3>
680680

681681
<p>If a <a href="#ruby-annotation-box"><i>ruby annotation</i></a> has the
682-
exact same content as its base, it is <dfn id=hidden
682+
exact same text content as its base, it is <dfn id=hidden
683683
title="hidden ruby annotation | hidden annotation">hidden</dfn>. Hiding a
684684
<a href="#ruby-annotation-box"><i>ruby annotation</i></a> does not affect
685685
annotation pairing or the block-axis positioning of boxes in other <a
@@ -717,13 +717,14 @@ <h3 id=autohide><span class=secno>2.4. </span> Autohiding Annotations</h3>
717717
</div>
718718
</div>
719719

720-
<p class=note> Future levels of CSS Ruby may add controls for this, however
721-
in this level it is always forced.
720+
<p class=note> Future levels of CSS Ruby may add controls for this, but in
721+
this level it is always forced.
722722

723723
<p>The content comparison for this auto-hiding behavior takes place prior
724-
to white space collapsing. <span class=issue>Is this easier? Or after
725-
collapsing is easier? We should do whatever is easier, as it really
726-
doesn't matter much which way to go. </span>
724+
to white space collapsing and ignores elements (considers only the
725+
<code>textContent</code> of the boxes). <span class=issue>Is before or
726+
after white space collapsing easier?We should do whatever is easier, as it
727+
really doesn't matter much which way to go. </span>
727728

728729
<h3 id=white-space><span class=secno>2.5. </span> White Space</h3>
729730

css-ruby/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ <h4 id="nested-pairing">
386386
<h3 id="autohide">
387387
Autohiding Annotations</h3>
388388

389-
<p>If a <i>ruby annotation</i> has the exact same content as its base,
389+
<p>If a <i>ruby annotation</i> has the exact same text content as its base,
390390
it is <dfn title="hidden ruby annotation | hidden annotation">hidden</dfn>.
391391
Hiding a <i>ruby annotation</i> does not affect annotation pairing
392392
or the block-axis positioning of boxes in other <i>levels</i>.
@@ -417,11 +417,12 @@ <h3 id="autohide">
417417

418418
<p class="note">
419419
Future levels of CSS Ruby may add controls for this,
420-
however in this level it is always forced.
420+
but in this level it is always forced.
421421

422422
<p>The content comparison for this auto-hiding behavior
423-
takes place prior to white space collapsing.
424-
<span class="issue">Is this easier? Or after collapsing is easier? We should do whatever is easier, as it really doesn't matter much which way to go.
423+
takes place prior to white space collapsing
424+
and ignores elements (considers only the <code>textContent</code> of the boxes).
425+
<span class="issue">Is before or after white space collapsing easier?We should do whatever is easier, as it really doesn't matter much which way to go.
425426

426427
<h3 id="white-space">
427428
White Space</h3>

0 commit comments

Comments
 (0)