Skip to content

Commit dee8b3f

Browse files
committed
[css-ruby] Regen for linkfication
1 parent 6d91569 commit dee8b3f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

css-ruby/Overview.html

+12-12
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Ruby Layout Module Level 1</h1>
5656
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20140723>23 July 2014</span></span></span></h2>
57+
<span class=dt-updated><span class=value-title title=20140724>24 July 2014</span></span></span></h2>
5858
<div data-fill-with=spec-metadata><dl>
5959
<dt>This version:
6060
<dd><a class=u-url href=http://dev.w3.org/csswg/css-ruby-1/>http://dev.w3.org/csswg/css-ruby-1/</a>
@@ -454,7 +454,7 @@ <h3 class="heading settled heading" data-level=2.2 id=box-fixup><span class=secn
454454
<a data-link-type=dfn href=#ruby-base-box title="ruby bases">ruby bases</a>,
455455
and/or
456456
<a data-link-type=dfn href=#ruby-annotation-box title="ruby annotations">ruby annotations</a>
457-
(and any intervening <i data-link-type=dfn title="white space">white space</i>)
457+
(and any intervening <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#white-space title="white space">white space</a>)
458458
is wrapped in an anonymous <a data-link-type=dfn href=#ruby-container title="ruby container">ruby container</a>.
459459
For the purpose of this step:
460460
<ul>
@@ -493,7 +493,7 @@ <h3 class="heading settled heading" data-level=2.2 id=box-fixup><span class=secn
493493
directly parented by a <a data-link-type=dfn href=#ruby-annotation-container-box title="ruby annotation container">ruby annotation container</a>
494494
is wrapped in an anonymous <a data-link-type=dfn href=#ruby-annotation-box title="ruby annotation">ruby annotation</a>.
495495

496-
<p>However, if an anonymous box so constructed contains only <i data-link-type=dfn title="white space">white space</i>,
496+
<p>However, if an anonymous box so constructed contains only <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#white-space title="white space">white space</a>,
497497
it is considered <dfn data-dfn-type=dfn data-noexport="" id=intra-ruby-white-space>intra-ruby white space<a class=self-link href=#intra-ruby-white-space></a></dfn>
498498
and is either discarded as <a data-link-type=dfn href=#inter-level-white-space title="inter-level white space">inter-level white space</a>
499499
or preserved as <a data-link-type=dfn href=#intra-level-white-space title="intra-level white space">intra-level white space</a>
@@ -551,7 +551,7 @@ <h3 class="heading settled heading" data-level=2.2 id=box-fixup><span class=secn
551551

552552
<li id=anon-gen-unbreak><a class=self-link href=#anon-gen-unbreak></a><strong>Suppress line breaks:</strong>
553553
Convert all forced line breaks inside <a data-link-type=dfn href=#ruby-annotation-box title="ruby annotations">ruby annotations</a> (regardless of <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-3/#propdef-white-space title=white-space>white-space</a> value)
554-
as defined for <i data-link-type=dfn title=collapsible>collapsible</i> segment breaks in <a href=http://www.w3.org/TR/css-text-3/#line-break-transform>CSS Text Level 3 § 4.1.2</a>.
554+
as defined for <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#collapsible-white-space title=collapsible>collapsible</a> segment breaks in <a href=http://www.w3.org/TR/css-text-3/#line-break-transform>CSS Text Level 3 § 4.1.2</a>.
555555
<p class=issue id=issue-8af70305><a class=self-link href=#issue-8af70305></a>The goal of this is to simplify the layout model by suppressing any line breaks within ruby annotations.
556556
Alternatively we could try to define some kind of acceptable behavior for them.
557557

@@ -755,15 +755,15 @@ <h3 class="heading settled heading" data-level=2.5 id=white-space><span class=se
755755
&lt;/ruby&gt;</pre>
756756
</div>
757757

758-
<p>Where undiscarded white space is <i data-link-type=dfn title=collapsible>collapsible</i>, it will collapse
758+
<p>Where undiscarded white space is <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#collapsible-white-space title=collapsible>collapsible</a>, it will collapse
759759
following the standard <a href=http://www.w3.org/TR/css3-text/#white-space-rules>white space processing rules</a>. <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3text title=biblio-css3text>[CSS3TEXT]</a>
760-
For <i data-link-type=dfn title="collapsible white space">collapsible white space</i> between <a data-link-type=dfn href=#ruby-segments title="ruby segments">ruby segments</a> (<a data-link-type=dfn href=#inter-segment-white-space title="inter-segment white space">inter-segment white space</a>), however,
760+
For <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#collapsible-white-space title="collapsible white space">collapsible white space</a> between <a data-link-type=dfn href=#ruby-segments title="ruby segments">ruby segments</a> (<a data-link-type=dfn href=#inter-segment-white-space title="inter-segment white space">inter-segment white space</a>), however,
761761
the contextual text for determining collapsing behavior is given by the <a data-link-type=dfn href=#ruby-base-box title="ruby bases">ruby bases</a> on either side,
762762
not the text on either side of the white space in source document order.
763763

764764
<div class=note>
765765
<p>Note that the white space processing rules
766-
cause a white space sequence containing a <i data-link-type=dfn title="segment break">segment break</i> (such as a line feed)
766+
cause a white space sequence containing a <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#segment-break title="segment break">segment break</a> (such as a line feed)
767767
to <a href=http://www.w3.org/TR/css3-text/#line-break-transform>collapse to nothing</a> between Han and Kana characters.
768768
This means that Chinese and Japanese ruby can safely use white space for indentation of the ruby markup.
769769
For example, the following markup will display without any spaces:
@@ -772,7 +772,7 @@ <h3 class="heading settled heading" data-level=2.5 id=white-space><span class=se
772772
&lt;rt&gt;とう&lt;/rt&gt;&lt;rt&gt;きょう&lt;/rt&gt;
773773
&lt;/ruby&gt;</pre>
774774
<p class=issue id=issue-6f614186><a class=self-link href=#issue-6f614186></a>This example actually doesn’t trigger the rule in question. Come up with one that does.
775-
<p>However, white space that does not contain a <i data-link-type=dfn title="segment break">segment break</i> does not collapse completely away,
775+
<p>However, white space that does not contain a <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#segment-break title="segment break">segment break</a> does not collapse completely away,
776776
so this markup will display with a space between the first and second ruby pairs:
777777
<pre>&lt;ruby&gt;
778778
&lt;rb&gt;東&lt;/rb&gt; &lt;rb&gt;京&lt;/rb&gt;
@@ -913,7 +913,7 @@ <h4 class="heading settled heading" data-level=3.3.2 id=break-within><span class
913913

914914
<p>Line-breaking within a <a data-link-type=dfn href=#ruby-base-box title="ruby base">ruby base</a> is only allowed if the <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-3/#propdef-white-space title=white-space>white-space</a> property
915915
of the <a data-link-type=dfn href=#ruby-base-box title="ruby base">ruby base</a> and all its parallel <a data-link-type=dfn href=#ruby-annotation-box title=annotations>annotations</a> allow it,
916-
and there exists a <i data-link-type=dfn title="soft wrap opportunity">soft wrap opportunity</i> <em>within</em> (i.e. not at the start or end)
916+
and there exists a <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#soft-wrap-opportunity title="soft wrap opportunity">soft wrap opportunity</a> <em>within</em> (i.e. not at the start or end)
917917
the content of each base/annotation box.
918918
Since there is no structural correspondence between fragments of content
919919
within <a data-link-type=dfn href=#ruby-base-box title="ruby bases">ruby bases</a> and <a data-link-type=dfn href=#ruby-annotation-box title=annotations>annotations</a>,
@@ -1301,7 +1301,7 @@ <h3 class="heading settled heading" data-level=4.3 id=ruby-align-property><span
13011301
<dd>
13021302
<p>The ruby content expands as defined for normal text justification
13031303
(as defined by <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-3/#propdef-text-justify title=text-justify>text-justify</a>),
1304-
except that if there are no <i data-link-type=dfn title="justification opportunities">justification opportunities</i>
1304+
except that if there are no <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#justification-opportunity title="justification opportunities">justification opportunities</a>
13051305
the content is centered.
13061306
<div class=figure>
13071307
<p><img alt="Diagram of glyph layout in distribute-letter aligned ruby when ruby text is shorter than base" height=91 src=images/ra-dl.gif width=145><img alt="Diagram of glyph layout in distribute-letter aligned ruby when ruby text is longer than base" height=91 src=images/ra-dl-rb.gif width=145>
@@ -1312,10 +1312,10 @@ <h3 class="heading settled heading" data-level=4.3 id=ruby-align-property><span
13121312
<dt><dfn class=css-code data-dfn-for=ruby-align data-dfn-type=value data-export="" id=valdef-ruby-align.ruby-alignspace-around title=ruby-align:space-around><span class=css data-link-type=maybe title=space-around>space-around</span><a class=self-link href=#valdef-ruby-align.ruby-alignspace-around></a></dfn></dt>
13131313
<dd>
13141314
<p>As for <span class=css data-link-type=maybe title=space-between>space-between</span>
1315-
except that there exists an extra <i data-link-type=dfn title="justification opportunities">justification opportunities</i>
1315+
except that there exists an extra <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#justification-opportunity title="justification opportunities">justification opportunities</a>
13161316
whose space is distributed half before and half after the ruby content.
13171317
<div class=example>
1318-
<p>Since a typical implementation will by default define <i data-link-type=dfn title="justification opportunities">justification opportunities</i>
1318+
<p>Since a typical implementation will by default define <a data-link-type=dfn href=http://dev.w3.org/csswg/css-text-3/#justification-opportunity title="justification opportunities">justification opportunities</a>
13191319
between every adjacent pair of CJK <i data-link-type=dfn title=characters>characters</i>
13201320
and not between adjacent pairs of Latin <i data-link-type=dfn title=characters>characters</i>,
13211321
this should result in the behavior recommended by <a data-biblio-type=informative data-link-type=biblio href=#biblio-jlreq title=biblio-jlreq>[JLREQ]</a>:

css-ruby/Overview.src.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>CSS Ruby Layout Module Level 1</h1>
1313
Abstract: Interlinear annotations, also known as “ruby”, are short runs of text alongside the base text,
1414
Abstract: typically used in East Asian documents to indicate pronunciation or to provide a short annotation.
1515
Abstract: This module describes the rendering model and formatting controls related to displaying ruby annotations in CSS.
16-
Ignored terms: collapsible, collapsible white space, white space, segment break, soft wrap opportunity, justification opportunity, justification opportunities, characters, internal table elements
16+
Ignored terms: internal table elements, characters
1717
</pre>
1818

1919
<!--

0 commit comments

Comments
 (0)