Skip to content

Commit 8386e2f

Browse files
committed
[css-ruby] Update references to Display module
--HG-- extra : rebase_source : f9e4d1b5cbdd84755758d0fc600925d4b43bec1b
1 parent 78fe69b commit 8386e2f

2 files changed

Lines changed: 13 additions & 17 deletions

File tree

css-ruby/Overview.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ <h4 class="heading settled heading" data-level=2.1.2 id=display-inside-outside><
414414
<h4 class="heading settled heading" data-level=2.1.3 id=block-ruby><span class=secno>2.1.3 </span><span class=content>
415415
Non-Inline Ruby</span><a class=self-link href=#block-ruby></a></h4>
416416

417-
<p>If an element has a computed <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-display-3/#propdef-display-inside title=display-inside>display-inside</a> of <a class=css data-link-type=maybe href=#ruby title=ruby>ruby</a>
418-
and a computed <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-display-3/#propdef-display-outside title=display-outside>display-outside</a> other than <span class=css data-link-type=maybe title=inline-level>inline-level</span>,
417+
<p>If an element has a computed <a data-link-type=dfn href=http://dev.w3.org/csswg/css-display-3/#inner-display-type title="inner display type">inner display type</a> of <a class=css data-link-type=maybe href=#ruby title=ruby>ruby</a>
418+
and a computed computed <a data-link-type=dfn href=http://dev.w3.org/csswg/css-display-3/#outer-display-type title="outer display type">outer display type</a> other than <span class=css data-link-type=maybe title=inline-level>inline-level</span>,
419419
then it generates two boxes:
420420
a principal block container box of the required <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-display-3/#propdef-display-outside title=display-outside>display-outside</a> type,
421421
and an inline-level <a data-link-type=dfn href=#ruby-container title="ruby container">ruby container</a>.
@@ -424,16 +424,15 @@ <h4 class="heading settled heading" data-level=2.1.3 id=block-ruby><span class=s
424424
This allows styling the element as a block,
425425
while correctly maintaining the internal ruby structure.
426426

427-
<p>
427+
<p class=note>
428428
Note: There is no dedicated block-level <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> shorthand keyword
429429
because ruby is fundamentally an inline layout feature.
430430

431-
<p>Absolute positioning or floating an element causes its <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> value
432-
to compute to a block-level equivalent. (See <a data-biblio-type=normative data-link-type=biblio href=#biblio-css21 title=biblio-CSS21>[CSS21]</a> section 9.7.)
433-
This is equivalent to setting its <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-display-3/#propdef-display-outside title=display-outside>display-outside</a> to <span class=css data-link-type=maybe title=block-level>block-level</span>.
431+
<p class=note>
432+
Note that absolute positioning or floating an element causes its <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> value
433+
to compute to a block-level equivalent. (See <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-display title=biblio-CSS3-DISPLAY>[CSS3-DISPLAY]</a> or <a data-biblio-type=normative data-link-type=biblio href=#biblio-css21 title=biblio-CSS21>[CSS21]</a> section 9.7.)
434434
For the <a data-link-type=dfn href=#internal-ruby-boxes title="internal ruby display types">internal ruby display types</a>,
435435
this causes their <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> value to compute to <span class=css data-link-type=maybe title=block>block</span>.
436-
<span class=issue id=issue-47ce3bc6><a class=self-link href=#issue-47ce3bc6></a>This should go into the Display module. Once that’s done, this can become a note.</span>
437436

438437
<h3 class="heading settled heading" data-level=2.2 id=box-fixup><span class=secno>2.2 </span><span class=content>
439438
Anonymous Ruby Box Generation</span><a class=self-link href=#box-fixup></a></h3>
@@ -1764,9 +1763,7 @@ <h2 class="no-num no-ref heading settled heading" id=property-index><span class=
17641763

17651764
<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>Are internal ruby boxes inline-level?
17661765

1767-
<a href=#issue-ca88244c></a></div><div class=issue>This should go into the Display module. Once that’s done, this can become a note.<a href=#issue-47ce3bc6></a></div>
1768-
1769-
<div class=issue>The goal of this is to simplify the layout model by suppressing any line breaks within ruby annotations.
1766+
<a href=#issue-ca88244c></a></div><div class=issue>The goal of this is to simplify the layout model by suppressing any line breaks within ruby annotations.
17701767
Alternatively we could try to define some kind of acceptable behavior for them.
17711768

17721769
<a href=#issue-8af70305></a></div><div class=issue>Make <a href=http://lists.w3.org/Archives/Public/www-archive/2014Jun/att-0027/PastedGraphic-1.png>this diagram</a> into an example.

css-ruby/Overview.src.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ <h4 id="display-inside-outside">
255255
<h4 id="block-ruby">
256256
Non-Inline Ruby</h4>
257257

258-
<p>If an element has a computed 'display-inside' of ''ruby''
259-
and a computed 'display-outside' other than ''inline-level'',
258+
<p>If an element has a computed <i>inner display type</i> of ''ruby''
259+
and a computed computed <i>outer display type</i> other than ''inline-level'',
260260
then it generates two boxes:
261261
a principal block container box of the required 'display-outside' type,
262262
and an inline-level <i>ruby container</i>.
@@ -265,16 +265,15 @@ <h4 id="block-ruby">
265265
This allows styling the element as a block,
266266
while correctly maintaining the internal ruby structure.
267267

268-
<p>
268+
<p class="note">
269269
Note: There is no dedicated block-level 'display' shorthand keyword
270270
because ruby is fundamentally an inline layout feature.
271271

272-
<p>Absolute positioning or floating an element causes its 'display' value
273-
to compute to a block-level equivalent. (See [[!CSS21]] section 9.7.)
274-
This is equivalent to setting its 'display-outside' to ''block-level''.
272+
<p class="note">
273+
Note that absolute positioning or floating an element causes its 'display' value
274+
to compute to a block-level equivalent. (See [[!CSS3-DISPLAY]] or [[!CSS21]] section 9.7.)
275275
For the <i>internal ruby display types</i>,
276276
this causes their 'display' value to compute to ''block''.
277-
<span class="issue">This should go into the Display module. Once that's done, this can become a note.</span>
278277

279278
<h3 id="box-fixup">
280279
Anonymous Ruby Box Generation</h3>

0 commit comments

Comments
 (0)