Skip to content

Commit fb75050

Browse files
committed
Add notes to text-trim, explaining design and issues
1 parent 14e5d11 commit fb75050

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

css3-text/Overview.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@
8383

8484
<h1>CSS Text Level 3</h1>
8585

86-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 January
86+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 February
8787
2011</h2>
8888

8989
<dl>
9090
<dt>This version:
9191

9292
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
93-
2011/01/30 22:01:29 $ (CVS $Revision$)</a> <!--<dd><a
93+
2011/01/30 22:03:16 $ (CVS $Revision$)</a> <!--<dd><a
9494
href="http://www.w3.org/TR/2010/WD-css3-text-20101005/">http://www.w3.org/TR/2010/WD-css3-text-20101005/</a></dd> -->
9595

9696

@@ -3295,8 +3295,10 @@ <h3 id=text-trim><span class=secno>9.3. </span><a
32953295
name=punctuation-trim></a> Fullwidth Kerning: the &lsquo;<a
32963296
href="#text-trim0"><code class=property>text-trim</code></a>&rsquo;
32973297
property</h3>
3298-
<!-- Syntax is derived as a shorthand of the following theoretical
3299-
properties (defaults given first):
3298+
3299+
<pre class=note>
3300+
Syntax is derived as a shorthand of the following theoretical
3301+
properties (defaults given first):
33003302

33013303
text-trim-start: keep-start | force-start
33023304
text-trim-end: allow-end | force-end | keep-end | keep-fullstop
@@ -3311,7 +3313,7 @@ <h3 id=text-trim><span class=secno>9.3. </span><a
33113313
[ force-end | keep-end | keep-fullstop] ||
33123314
keep-adjacent ||
33133315
no-justify
3314-
-->
3316+
</pre>
33153317

33163318
<table class=propdef>
33173319
<tbody>
@@ -3390,6 +3392,9 @@ <h3 id=text-trim><span class=secno>9.3. </span><a
33903392
rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a>.</span>
33913393
</dl>
33923394

3395+
<p class=issue>Figure out proper interaction with text-align: end. Does
3396+
allow-end behavior make sense? Do we want allow-start instead?
3397+
33933398
<p>In all cases, the UA must trim (kern) the blank half of fullwidth
33943399
opening punctuation if its previous adjacent character is a fullwidth
33953400
opening punctuation, fullwidth middle dot punctuation, fullwidth closing

css3-text/Overview.src.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2438,8 +2438,9 @@ <h3 id="letter-spacing">
24382438
<h3 id="text-trim"><a name="punctuation-trim"></a>
24392439
Fullwidth Kerning: the 'text-trim' property</h3>
24402440

2441-
<!-- Syntax is derived as a shorthand of the following theoretical
2442-
properties (defaults given first):
2441+
<pre class="note">
2442+
Syntax is derived as a shorthand of the following theoretical
2443+
properties (defaults given first):
24432444

24442445
text-trim-start: keep-start | force-start
24452446
text-trim-end: allow-end | force-end | keep-end | keep-fullstop
@@ -2454,7 +2455,7 @@ <h3 id="text-trim"><a name="punctuation-trim"></a>
24542455
[ force-end | keep-end | keep-fullstop] ||
24552456
keep-adjacent ||
24562457
no-justify
2457-
-->
2458+
</pre>
24582459
<table class="propdef">
24592460
<tbody>
24602461
<tr>
@@ -2523,6 +2524,9 @@ <h3 id="text-trim"><a name="punctuation-trim"></a>
25232524
3.8 Line Adjustment in [[JLREQ]].</span>
25242525
</dd>
25252526
</dl>
2527+
2528+
<p class="issue">Figure out proper interaction with text-align: end.
2529+
Does allow-end behavior make sense? Do we want allow-start instead?</p>
25262530

25272531
<p>In all cases, the UA must trim (kern) the blank half of fullwidth
25282532
opening punctuation if its previous adjacent character is a

0 commit comments

Comments
 (0)