Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76b1897

Browse files
committed
[css-ruby] Improve cross linking and clarify terminology
This reduces apparent ambiguities that were actually well defined, but through non obvious terminology. See #5047
1 parent 0ef5188 commit 76b1897

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

css-ruby-1/Overview.bs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -211,26 +211,28 @@ Ruby-specific 'display' Values</h3>
211211
<h4 id="formatting-context">
212212
The Ruby Formatting Context</h4>
213213

214-
[=Ruby containers=] are non-atomic inline-level boxes.
215-
Like inline boxes, they break across lines,
216-
and their containing block is the nearest block container ancestor.
217-
And just as the contents of an inline box
218-
participate in the same inline formatting context that contains the inline box itself,
214+
[=Ruby containers=] are non-atomic [=inline-level=] boxes.
215+
Like [=inline boxes=] (see [[css-inline-3#model]]),
216+
they break across lines,
217+
and their [=containing block=] is the nearest [=block container=] ancestor.
218+
And just as the contents of an [=inline box=]
219+
participate in the same [=inline formatting context=] that contains the [=inline box=] itself,
219220
a [=ruby container=] and its base-level contents
220-
participate in the same inline formatting context that contains the [=ruby container=] itself.
221+
participate in the same [=inline formatting context=] that contains the [=ruby container=] itself.
221222

222223
However [=ruby containers=] also establish a <dfn export>ruby formatting context</dfn>
223-
that builds further structure around their segment of the inline formatting context.
224+
that builds further structure around their segment of the [=inline formatting context=].
225+
<span class=note>Note: this [=formatting context=] is <em>not</em> an [=independent formatting context=].</span>
224226
[=Ruby bases=], [=ruby annotations=], [=ruby base containers=], and [=ruby annotation containers=]
225227
are <dfn export lt="internal ruby boxes|internal ruby display types">internal ruby boxes</dfn>:
226228
like [=internal table elements=],
227229
they have specific roles in ruby layout,
228230
and participate in their [=ruby container=]’s [=ruby formatting context=].
229231

230-
As with the contents of inline boxes,
231-
the containing block for the contents of a [=ruby container=] (and all its [=internal ruby boxes=])
232-
is the containing block of the [=ruby container=].
233-
So floats, for example, are trapped by the [=ruby container=]’s containing block,
232+
As with the contents of [=inline boxes=],
233+
the [=containing block=] for the contents of a [=ruby container=] (and all its [=internal ruby boxes=])
234+
is the [=containing block=] of the [=ruby container=].
235+
So floats, for example, are trapped by the [=ruby container=]’s [=containing block=],
234236
not any of the ruby box types.
235237

236238
Issue: Are internal ruby boxes inline-level?

0 commit comments

Comments
 (0)