Skip to content

Commit c6f5b53

Browse files
committed
[css-text-3] Run bikeshed
1 parent e13a597 commit c6f5b53

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

css-text/Overview.html

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
img { vertical-align: middle; }
5555
span[lang] { font-size: 125%; line-height: 1; vertical-align: middle;}
5656

57-
/* Bidi & spaces example */
57+
/* Bidi & spaces example */
5858
.egbidiwsaA,.egbidiwsbB,.egbidiwsaB,.egbidiwsbC
5959
{ white-space:pre;font-size:80%;font-family:monospace; vertical-align:2px; margin:1px }
6060
.egbidiwsaA { background:lime;padding:2px; }
@@ -102,7 +102,7 @@
102102
<div class="head">
103103
<p data-fill-with="logo"><a class="logo" href="http://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72"> </a> </p>
104104
<h1 class="p-name no-ref" id="title">CSS Text Module Level 3</h1>
105-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2015-09-30">30 September 2015</time></span></h2>
105+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2015-10-11">11 October 2015</time></span></h2>
106106
<div data-fill-with="spec-metadata">
107107
<dl>
108108
<dt>This version:
@@ -112,11 +112,10 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
112112
<dt>Previous Versions:
113113
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20121113/" rel="previous">http://www.w3.org/TR/2012/WD-css3-text-20121113/</a>
114114
<dt>Feedback:
115-
<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-text%5D%20YOUR%20TOPIC%20HERE">www-style@w3.org</a> with subject line “<kbd>[css-text] <var>… message topic …</var></kbd>” (<a href="http://lists.w3.org/Archives/Public/www-style/" rel="discussion">archives</a>)</span>
115+
<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-text%5D%20YOUR%20TOPIC%20HERE">www-style@w3.org</a> with subject line “<kbd>[css-text] <i>… message topic …</i></kbd>” (<a href="http://lists.w3.org/Archives/Public/www-style/" rel="discussion">archives</a>)</span>
116116
<dt>Test Suite:
117117
<dd><a href="http://test.csswg.org/suites/css3-text/nightly-unstable/">http://test.csswg.org/suites/css3-text/nightly-unstable/</a>
118118
<dt>Issue Tracking:
119-
<dd><a href="https://github.com/w3c/csswg-drafts/issues/">GitHub</a>
120119
<dd><a href="#issues-index">Inline In Spec</a>
121120
<dd><span><a href="http://www.w3.org/Style/CSS/Tracker/products/10">http://www.w3.org/Style/CSS/Tracker/products/10</a></span>
122121
<dt class="editor">Editors:
@@ -581,6 +580,7 @@ <h2 class="heading settled" data-level="3" id="white-space-property"><span class
581580
However, some of the behavior is made UA dependent
582581
(See <a href="#white-space-rules">The White Space Processing Rules</a> for details).
583582
This flexibility allows UAs to match platform conventions,
583+
and to provide a better editing user experience,
584584
in particular with respect to multi-line editable text fields,
585585
and when preserved <a data-link-type="dfn" href="#white-space">white space</a> at the end a line
586586
would cause the line to overflow.
@@ -714,21 +714,11 @@ <h4 class="heading settled" data-level="4.1.1" id="white-space-phase-1"><span cl
714714
invisible, but retains its <a data-link-type="dfn" href="#soft-wrap-opportunity">soft wrap opportunity</a>, if any.)
715715
</ol>
716716
<li>
717-
<p>If <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a>,
718-
any sequence of spaces is preserved.
717+
<p>If <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a>, or <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap-auto">pre-wrap-auto</a> any sequence of spaces is preserved.
719718
This is achieved by treating it as a sequence of non-breaking spaces,
720719
except that a <a data-link-type="dfn" href="#soft-wrap-opportunity">soft wrap opportunity</a> exists
721-
between each of the spaces of this preserved sequence,
722-
as well as at the beginning
723-
and at the end of the sequence.</p>
724-
<li>
725-
<p>If <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap-auto">pre-wrap-auto</a>,
726-
any sequence of spaces is preserved.
727-
This is achieved by treating it as a sequence of non-breaking spaces.
728-
However, unlike with <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a>,
729-
whether <a data-link-type="dfn" href="#soft-wrap-opportunity">soft wrap opportunities</a> exist in this sequence
730-
is user-agent defined.
731-
These UA-specific rules may be context dependent.</p>
720+
after each of the spaces of this preserved sequence.</p>
721+
<p class="note" role="note">The <a href="#white-space-phase-2">Trimming and Positioning</a> rules are different for <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a> and <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap-auto">pre-wrap-auto</a>.</p>
732722
</ul>
733723
<p>Then, the entire block is rendered. Inlines are laid out, taking bidi
734724
reordering into account, and <a data-link-type="dfn" href="#wrapping">wrapping</a> as specified by the <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> property.</p>
@@ -793,9 +783,11 @@ <h4 class="heading settled" data-level="4.1.3" id="white-space-phase-2"><span cl
793783
from the block’s starting content edge.
794784
The tab size is given by the <a class="property" data-link-type="propdesc" href="#propdef-tab-size">tab-size</a> property.
795785
<li>A sequence of <a data-link-type="dfn" href="#collapsible-white-space">collapsible</a> spaces at the end of a line is removed.
796-
<li>If spaces or tabs at the end of a line are non-collapsible but
797-
have <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap-auto">pre-wrap-auto</a> the UA may visually
798-
collapse their character advance widths.
786+
<li>
787+
If spaces or tabs at the end of a line are non-collapsible but
788+
have <a class="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap-auto">pre-wrap-auto</a> the UA may visually collapse their character advance widths, <em>or</em> treat them as collapsed for the purpose of wrapping text
789+
(such that the white space overflows the line instead of wrapping to the front of the next line).
790+
<p></p>
799791
</ol>
800792
<p>White space that was not removed or collapsed during the white space
801793
processing steps is called <dfn data-dfn-type="dfn" data-noexport="" id="preserved">preserved<a class="self-link" href="#preserved"></a></dfn> white space.</p>

0 commit comments

Comments
 (0)