Skip to content

Commit 0c972dc

Browse files
committed
[css-ruby] Remove issue about auto-hide text comparison and clarify interaction with text-transform: using DOM text is easier since all implementations maintain a copy of the DOM text, but not all maintain one of post-collapsed text. (Best for authors would be after white-space collapsing and before text-transform, but probably few people will run into a case where it matters.) It must be prior to text-transform because 'text-transform: large-kana' is a relevant use case for ruby.
1 parent 1217fe1 commit 0c972dc

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

css-ruby/Overview.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -855,11 +855,10 @@ <h3 id=autohide><span class=secno>2.4. </span> Autohiding Annotations</h3>
855855
this level it is always forced.
856856

857857
<p>The content comparison for this auto-hiding behavior takes place prior
858-
to white space collapsing and ignores elements (considers only the
859-
<code>textContent</code> of the boxes).
860-
861-
<p class=issue>Is before or after white space collapsing easier? We should
862-
do whatever is easier, as it really doesn't matter much which way to go.
858+
to white space collapsing (‘<code class=property>white-space</code>’)
859+
and text transformation (‘<code class=property>text-transform</code>’)
860+
and ignores elements (considers only the <code>textContent</code> of the
861+
boxes).
863862

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

css-ruby/Overview.src.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,8 @@ <h3 id="autohide">
504504
but in this level it is always forced.
505505

506506
<p>The content comparison for this auto-hiding behavior
507-
takes place prior to white space collapsing
507+
takes place prior to white space collapsing ('white-space') and text transformation ('text-transform')
508508
and ignores elements (considers only the <code>textContent</code> of the boxes).
509-
<p 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.
510509

511510
<h3 id="white-space">
512511
White Space</h3>

0 commit comments

Comments
 (0)