Skip to content

Commit b2242e7

Browse files
committed
[css-inline] Define root inline box, 'coz we need to reference it sometimes.
1 parent b50bac9 commit b2242e7

2 files changed

Lines changed: 24 additions & 5 deletions

File tree

css-inline/Overview.bs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@ At Risk: the 'initial-letter-wrap' property
2929

3030
This module defines the CSS Inline Layout model,
3131
replacing and extending the model as defined in CSS2.1.
32-
33-
Issue: Define root inline box.
32+
It is very much a work-in-progress, and implementers should reference CSS2.1 for now.
33+
34+
The <dfn>root inline box</dfn> is an anonymous inline box
35+
which is automatically generated to hold
36+
all of the <a>inline-level</a> contents of a <a>block container</a>
37+
(if it has any).
38+
It inherits from its parent <a>block container</a>,
39+
but is otherwise unstyleable.
3440

3541
<h2 id="line-height">Line Heights and Baseline Alignment</h2>
3642

css-inline/Overview.html

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,13 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
210210
<main>
211211
<h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </span><span class="content">Introduction</span><a class="self-link" href="#intro"></a></h2>
212212
<p>This module defines the CSS Inline Layout model,
213-
replacing and extending the model as defined in CSS2.1.</p>
214-
<p class="issue" id="issue-6ec86605"><a class="self-link" href="#issue-6ec86605"></a> Define root inline box.</p>
213+
replacing and extending the model as defined in CSS2.1.
214+
It is very much a work-in-progress, and implementers should reference CSS2.1 for now.</p>
215+
<p>The <dfn data-dfn-type="dfn" data-noexport="" id="root-inline-box">root inline box<a class="self-link" href="#root-inline-box"></a></dfn> is an anonymous inline box
216+
which is automatically generated to hold
217+
all of the <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-level">inline-level</a> contents of a <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#block-container">block container</a> (if it has any).
218+
It inherits from its parent <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#block-container">block container</a>,
219+
but is otherwise unstyleable.</p>
215220
<h2 class="heading settled" data-level="2" id="line-height"><span class="secno">2. </span><span class="content">Line Heights and Baseline Alignment</span><a class="self-link" href="#line-height"></a></h2>
216221
<p class="issue" id="issue-6ab9884f"><a class="self-link" href="#issue-6ab9884f"></a>This section is being rewritten. Refer to <a href="http://www.w3.org/TR/CSS2/visudet.html#line-height">section 10.8</a> of <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a> for the normative CSS definition or the <a href="http://www.w3.org/TR/2002/WD-css3-linebox-20020515/">2002 Working Draft</a> if you want pretty pictures. (But ignore the old text, half of it’s wrong. We’re not specifying which half, that’s to be determined.) <strong>The CSS2 specification should be used as the guideline for implementation.</strong></p>
217222
<p class="issue" id="issue-95a9f423"><a class="self-link" href="#issue-95a9f423"></a> The CSSWG would like to know which baseline values are necessary: if any can be dropped, or any need to be added.</p>
@@ -1131,6 +1136,7 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
11311136
<li><a href="#valdef-initial-letter-wrap-percentage">value for initial-letter-wrap</a><span>, in §3.8</span>
11321137
</ul>
11331138
<li><a href="#raised-initial">raised initial</a><span>, in §3.1.3</span>
1139+
<li><a href="#root-inline-box">root inline box</a><span>, in §1</span>
11341140
<li><a href="#valdef-baseline-shift-sub">sub</a><span>, in §2.2.2</span>
11351141
<li><a href="#sunken-initial">sunken initial</a><span>, in §3.1.2</span>
11361142
<li><a href="#valdef-baseline-shift-super">super</a><span>, in §2.2.2</span>
@@ -1168,6 +1174,12 @@ <h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="con
11681174
<ul>
11691175
<li><a href="https://drafts.csswg.org/css-color-4/#propdef-opacity">opacity</a>
11701176
</ul>
1177+
<li>
1178+
<a data-link-type="biblio" href="#biblio-css-display-3">[css-display-3]</a> defines the following terms:
1179+
<ul>
1180+
<li><a href="https://drafts.csswg.org/css-display-3/#block-container">block container</a>
1181+
<li><a href="https://drafts.csswg.org/css-display-3/#inline-level">inline-level</a>
1182+
</ul>
11711183
<li>
11721184
<a data-link-type="biblio" href="#biblio-css-fonts-3">[css-fonts-3]</a> defines the following terms:
11731185
<ul>
@@ -1241,6 +1253,8 @@ <h3 class="no-num heading settled" id="normative"><span class="content">Normativ
12411253
<dd>CSS Color Module Level 3 URL: <a href="http://www.w3.org/TR/css3-color/">http://www.w3.org/TR/css3-color/</a>
12421254
<dt id="biblio-css-color-4"><a class="self-link" href="#biblio-css-color-4"></a>[CSS-COLOR-4]
12431255
<dd>CSS Color Module Level 4 URL: <a href="https://drafts.csswg.org/css-color-4/">https://drafts.csswg.org/css-color-4/</a>
1256+
<dt id="biblio-css-display-3"><a class="self-link" href="#biblio-css-display-3"></a>[CSS-DISPLAY-3]
1257+
<dd>Tab Atkins Jr.; Elika Etemad. <a href="http://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>. 21 July 2015. WD. URL: <a href="http://www.w3.org/TR/css-display-3/">http://www.w3.org/TR/css-display-3/</a>
12441258
<dt id="biblio-css-fonts-3"><a class="self-link" href="#biblio-css-fonts-3"></a>[CSS-FONTS-3]
12451259
<dd>John Daggett. <a href="http://www.w3.org/TR/css-fonts-3/">CSS Fonts Module Level 3</a>. 3 October 2013. CR. URL: <a href="http://www.w3.org/TR/css-fonts-3/">http://www.w3.org/TR/css-fonts-3/</a>
12461260
<dt id="biblio-css-ruby-1"><a class="self-link" href="#biblio-css-ruby-1"></a>[CSS-RUBY-1]
@@ -1364,7 +1378,6 @@ <h2 class="no-num heading settled" id="property-index"><span class="content">Pro
13641378
</table>
13651379
<h2 class="no-num heading settled" id="issues-index"><span class="content">Issues Index</span><a class="self-link" href="#issues-index"></a></h2>
13661380
<div style="counter-reset:issue">
1367-
<div class="issue"> Define root inline box.<a href="#issue-6ec86605"></a></div>
13681381
<div class="issue">This section is being rewritten. Refer to <a href="http://www.w3.org/TR/CSS2/visudet.html#line-height">section 10.8</a> of <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a> for the normative CSS definition or the <a href="http://www.w3.org/TR/2002/WD-css3-linebox-20020515/">2002 Working Draft</a> if you want pretty pictures. (But ignore the old text, half of it’s wrong. We’re not specifying which half, that’s to be determined.) <strong>The CSS2 specification should be used as the guideline for implementation.</strong><a href="#issue-6ab9884f"></a></div>
13691382
<div class="issue"> The CSSWG would like to know which baseline values are necessary: if any can be dropped, or any need to be added.<a href="#issue-95a9f423"></a></div>
13701383
<div class="issue"> Should be text-over and text-under instead of text-top and text-bottom,

0 commit comments

Comments
 (0)