Define line-break around ruby elements.

Mon, 13 Aug 2012 23:36:29 -0700

author
fantasai <fantasai.cvs@inkedblade.net>
date
Mon, 13 Aug 2012 23:36:29 -0700
changeset 6447
7e47ce450ce1
parent 6446
ba99a81fa32e
child 6448
1bcfdc526852

Define line-break around ruby elements.

css3-text/Overview.html file | annotate | diff | comparison | revisions
css3-text/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-text/Overview.html	Mon Aug 13 23:23:59 2012 -0700
     1.2 +++ b/css3-text/Overview.html	Mon Aug 13 23:36:29 2012 -0700
     1.3 @@ -1217,6 +1217,13 @@
     1.4      box, the break occurs immediately before/after the box (at its margin
     1.5      edge) rather than breaking the box between its content edge and the
     1.6      content.
     1.7 +
     1.8 +   <li>For line breaking in/around <a
     1.9 +    href="http://www.w3.org/TR/css3-ruby/">ruby</a>, the base text is
    1.10 +    considered part of the same inline formatting context as its surrouding
    1.11 +    content, but the ruby text is not: i.e. line breaking opportunities
    1.12 +    between the ruby element and its surrounding content are determined as if
    1.13 +    the ruby base were inline and the ruby text were not there.
    1.14    </ul>
    1.15  
    1.16    <h3 id=line-break><span class=secno>5.2. </span> Breaking Rules for
     2.1 --- a/css3-text/Overview.src.html	Mon Aug 13 23:23:59 2012 -0700
     2.2 +++ b/css3-text/Overview.src.html	Mon Aug 13 23:36:29 2012 -0700
     2.3 @@ -804,6 +804,11 @@
     2.4      <li>For <i>soft wrap opportunities</i> before the first or after the last character of a box,
     2.5        the break occurs immediately before/after the box (at its margin edge)
     2.6        rather than breaking the box between its content edge and the content.
     2.7 +    <li>For line breaking in/around <a href="http://www.w3.org/TR/css3-ruby/">ruby</a>,
     2.8 +      the base text is considered part of the same inline formatting context as its surrouding content,
     2.9 +      but the ruby text is not:
    2.10 +      i.e. line breaking opportunities between the ruby element and its surrounding content
    2.11 +      are determined as if the ruby base were inline and the ruby text were not there.
    2.12    </ul>
    2.13  
    2.14    <h3 id="line-break">

mercurial