Skip to content

Commit 60077d6

Browse files
committed
Add changes section, add li { text-align: match-parent; }
1 parent 61970bd commit 60077d6

1 file changed

Lines changed: 49 additions & 8 deletions

File tree

css3-text/Overview.src.html

Lines changed: 49 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h2 class="no-num no-toc" id="contents">Table of Contents</h2>
380380
2003 CSS3 Text <abbr title="Candidate Recommendation">CR</abbr></a>
381381

382382
<li><a href="#recent-changes"><span class=secno>12. </span> Changes from
383-
the June 2005 CSS3 Text WD</a>
383+
the June 2007 CSS3 Text WD</a>
384384

385385
<li><a href="#acknowledgements"><span class=secno>13. </span>
386386
Acknowledgements</a>
@@ -3707,6 +3707,43 @@ <h2 id="changes"><span class="secno">11.</span>
37073707
plan to add them back, although a document grid feature may be added
37083708
to future CSS modules.
37093709

3710+
<h2 id="changes"><span class="secno">11.</span>
3711+
Changes from the <a href="http://www.w3.org/TR/2007/WD-css3-text-20070306/">March
3712+
2007 CSS3 Text <abbr title="Working Draft">WD</abbr></a></h2>
3713+
3714+
<p>Major changes include:</p>
3715+
3716+
<ul>
3717+
<li>White space collapsing rules have been sync'ed with updates to CSS2.1,
3718+
and the introductory prose rewritten.
3719+
<li>Resplit 'word-break' into 'line-break' and 'word-break' controls,
3720+
affecting CJK and non-CJK scripts respectively. This is very close
3721+
to IE's implementation (hence the somewhat confusing names), with
3722+
the exception that ''keep-all'' functionality, which affects CJK
3723+
scripts, was moved from 'word-break' to 'line-break'.
3724+
<li>Added 'auto' value to 'line-break', which allows the UA to vary
3725+
breaking strictness based on the effective line length.
3726+
<li>Added 'match-parent' keyword to 'text-align' to address some bidi
3727+
use cases such as aligning lists.
3728+
<li>Allow keyword and &lt;string&gt; to be specified jointly for
3729+
'text-align' to handle degenerate cases.
3730+
<li>Added ''trim'' keyword to 'text-justify' as a replacement to
3731+
'text-justify-trim'.
3732+
<li>Removed ''tibetan'' keyword to 'text-justify'.
3733+
<li>Revised 'text-justify' section.
3734+
<li>Added ''allow-end'' value to 'punctuation-trim'.
3735+
<li>Re-added 'text-autospace' property, and added new ''punctuation'' keyword.
3736+
<li>Added ''each-line'' keyword to 'text-indent'.
3737+
<li>Linked 'text-shadow' definition to 'box-shadow' definition.
3738+
<li>Renamed values for 'hanging-punctuation' to be clearer; added
3739+
''allow-end''/''force-end'' distinction.
3740+
<li>Wrote out 'text-decoration' section.
3741+
<li>Expanded 'text-emphasis' controls.
3742+
<li>Drafted syntax for 'text-overflow'.
3743+
<li>Added back 'text-transform' with new values for ''fullwidth''
3744+
and ''large-kana''.
3745+
</ul>
3746+
37103747
<h2 id="acknowledgements"><span class="secno">13.</span>
37113748
Acknowledgements</h2>
37123749

@@ -3788,14 +3825,18 @@ <h3 id="default-stylesheet"><span class="secno">15.1.</span>
37883825

37893826
<div class="example">
37903827
<pre><code class="css">
3791-
<!-- --> /* disable inheritance of text-emphasis marks to ruby text:
3792-
<!-- --> emphasis marks should only apply to base text */
3793-
<!-- --> rt { text-emphasis: none; }
3828+
<!-- -->/* make list items align together */
3829+
<!-- -->li { text-align: match-parent; }
3830+
<!-- -->/* disable inheritance of text-emphasis marks to ruby text:
3831+
<!-- --> emphasis marks should only apply to base text */
3832+
<!-- -->rt { text-emphasis: none; }
3833+
<!-- -->
3834+
<!-- -->:root:lang(zh-Hans) {
3835+
<!-- -->/* default emphasis mark position is 'under' for Chinese (Simplified) */
3836+
<!-- --> text-emphasis-position: under;
3837+
<!-- -->}
37943838
<!-- -->
3795-
<!-- --> :root:lang(zh-Hans) {
3796-
<!-- --> /* default emphasis mark position is 'under' for Chinese (Simplified) */
3797-
<!-- --> text-emphasis-position: under;
3798-
<!-- --> }</code></pre>
3839+
</code></pre>
37993840
</div>
38003841
<p class="issue">If you find any issues, recommendations to add, or corrections,
38013842
please send the information to <a href="mailto:www-style@w3.org">www-style@w3.org</a>

0 commit comments

Comments
 (0)