Skip to content

Commit d5a5df0

Browse files
committed
[css-text-4] Add some issue discussion links.
1 parent b8e38b1 commit d5a5df0

1 file changed

Lines changed: 31 additions & 2 deletions

File tree

css-text-4/Overview.bs

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,17 @@ Text Wrap Settings: the 'text-wrap' property</h3>
189189
line. If the text breaks, line-breaking restrictions are honored as for
190190
''text-wrap/normal''.
191191

192+
Issue: Should this maybe be handled by 'break-inside'?
193+
192194
<dt><dfn>balance</dfn>
193195
<dd>
194196
Same as ''text-wrap/normal'' for inline-level elements.
195197
For block-level elements line breaks are chosen to minimize the deviation from the average line length over the entire element
196198
(including lines that end in a forced break).
197199
The exact algorithm is UA-defined.
198200

201+
Issue: See <a href="http://www.w3.org/mid/FF4ADEBA-889C-4268-89C5-1C2C83C5ABCE@rivoal.net">some issues</a>.
202+
199203
UAs may treat this value as ''text-wrap/normal'' if there are more than ten lines to balance.
200204

201205
</dl>
@@ -265,8 +269,33 @@ Example of using 'text-wrap: avoid' in presenting a footer</h4>
265269
</pre>
266270
</div>
267271

272+
<h2 id="last-line-limits">
273+
Last Line Minimum Length</h2>
274+
275+
<div class="issue">
276+
See <a href="http://www.w3.org/mid/0BD85DFF-A147-44EF-B18A-FF03C3D67EF0@verou.me">thread</a>.
277+
Issue is about requiring a minimum length for lines.
278+
Common measures seem to be
279+
280+
<ul>
281+
<li>At least as long as the text-indent.
282+
<li>At least X characters.
283+
<li>Percentage-based.
284+
</ul>
285+
286+
Suggestion for value space is ''match-indent | <<length>> | <<percentage>>''
287+
(with ''Xch'' given as an example to make that use case clear).
288+
Alternately <<integer>> could actually count the characters.
289+
290+
It's unclear how this would interact with text balancing (above);
291+
one earlier proposal had them be the same property
292+
(with ''100%'' meaning full balancing).
293+
294+
People have requested word-based limits, but since this is really
295+
dependent on the length of the word, character-based is better.
296+
268297
<h2 id="white-space-property">
269-
White Space and Wrapping Shorthand: the 'white-space' property</h2>
298+
Shorthand for White Space and Wrapping: the 'white-space' property</h2>
270299

271300
Diff needs to have the shorthand details
272301

@@ -335,7 +364,7 @@ Hyphenation Character Limits: the 'hyphenate-limit-chars' property</h3>
335364

336365
<pre class="propdef">
337366
Name: hyphenate-limit-chars
338-
Value: [auto | &lt;integer&gt;]{1,3}
367+
Value: [ auto | <<integer>> ]{1,3}
339368
Initial: auto
340369
Applies to: all elements
341370
Inherited: yes

0 commit comments

Comments
 (0)