Skip to content

Commit 7b8f508

Browse files
committed
1 parent c0ade3d commit 7b8f508

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

css-text/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Terminology</h3>
476476
<a href="http://rhodesmill.org/brandon/2012/one-sentence-per-line/"
477477
>breaking the source into segments</a> (lines) for ease of editing
478478
or adding white space characters such as tabs and spaces to indent the source code.
479-
CSS white space processing allows the author to control interpretation of such formatting,
479+
CSS white space processing allows the author to control interpretation of such formatting:
480480
to preserve or collapse it away when rendering the document.
481481
White space processing in CSS interprets white space characters only for rendering:
482482
it has no effect on the underlying document data.
@@ -564,24 +564,24 @@ Terminology</h3>
564564
<p>where the <code>&lt;ltr&gt;</code> element represents a left-to-right embedding
565565
and the <code>&lt;rtl&gt;</code> element represents a right-to-left embedding.
566566
If the 'white-space' property is set to ''white-space:normal'',
567-
the white-space processing model would result in the following:
567+
the white-space processing model will result in the following:
568568

569569
<ul style="line-height:1.3">
570570
<li>The space before the B (<span class="egbidiwsbB">&#160;</span>)
571-
would collapse with the space after the A (<span class="egbidiwsaA">&#160;</span>).
571+
will collapse with the space after the A (<span class="egbidiwsaA">&#160;</span>).
572572
<li>The space before the C (<span class="egbidiwsbC">&#160;</span>)
573-
would collapse with the space after the B (<span class="egbidiwsaB">&#160;</span>).
573+
will collapse with the space after the B (<span class="egbidiwsaB">&#160;</span>).
574574
</ul>
575575

576-
<p>This would leave two spaces,
576+
<p>This will leave two spaces,
577577
one after the A in the left-to-right embedding level,
578578
and one after the B in the right-to-left embedding level.
579-
This is then ordered according to the Unicode bidirectional algorithm,
579+
The text will then be ordered according to the Unicode bidirectional algorithm,
580580
with the end result being:
581581

582582
<pre>A<span class="egbidiwsaA">&#160;</span><span class="egbidiwsaB">&#160;</span>BC</pre>
583583

584-
<p>Note that there are two spaces between A and B,
584+
<p>Note that there will be two spaces between A and B,
585585
and none between B and C.
586586
This is best avoided by putting spaces outside the element
587587
instead of just inside the opening and closing tags and, where practical,

css-text/Overview.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ <h2 class="heading settled heading" data-level=4 id=white-space-processing><span
641641
that is not relevant to the final rendering: for example,
642642
<a href=http://rhodesmill.org/brandon/2012/one-sentence-per-line/>breaking the source into segments</a> (lines) for ease of editing
643643
or adding white space characters such as tabs and spaces to indent the source code.
644-
CSS white space processing allows the author to control interpretation of such formatting,
644+
CSS white space processing allows the author to control interpretation of such formatting:
645645
to preserve or collapse it away when rendering the document.
646646
White space processing in CSS interprets white space characters only for rendering:
647647
it has no effect on the underlying document data.
@@ -729,24 +729,24 @@ <h4 class="heading settled heading" data-level=4.1.1 id=white-space-phase-1><spa
729729
<p>where the <code>&lt;ltr&gt;</code> element represents a left-to-right embedding
730730
and the <code>&lt;rtl&gt;</code> element represents a right-to-left embedding.
731731
If the <a class=property data-link-type=propdesc href=#propdef-white-space title=white-space>white-space</a> property is set to <span class=css data-link-type=maybe title=white-space:normal>white-space:normal</span>,
732-
the white-space processing model would result in the following:
732+
the white-space processing model will result in the following:
733733

734734
<ul style=line-height:1.3>
735735
<li>The space before the B (<span class=egbidiwsbB> </span>)
736-
would collapse with the space after the A (<span class=egbidiwsaA> </span>).
736+
will collapse with the space after the A (<span class=egbidiwsaA> </span>).
737737
<li>The space before the C (<span class=egbidiwsbC> </span>)
738-
would collapse with the space after the B (<span class=egbidiwsaB> </span>).
738+
will collapse with the space after the B (<span class=egbidiwsaB> </span>).
739739
</ul>
740740

741-
<p>This would leave two spaces,
741+
<p>This will leave two spaces,
742742
one after the A in the left-to-right embedding level,
743743
and one after the B in the right-to-left embedding level.
744-
This is then ordered according to the Unicode bidirectional algorithm,
744+
The text will then be ordered according to the Unicode bidirectional algorithm,
745745
with the end result being:
746746

747747
<pre>A<span class=egbidiwsaA> </span><span class=egbidiwsaB> </span>BC</pre>
748748

749-
<p>Note that there are two spaces between A and B,
749+
<p>Note that there will be two spaces between A and B,
750750
and none between B and C.
751751
This is best avoided by putting spaces outside the element
752752
instead of just inside the opening and closing tags and, where practical,

0 commit comments

Comments
 (0)