Skip to content

Commit 162af12

Browse files
committed
[css-display] Actually add some explanatory text to display-inside/outside.
1 parent db43489 commit 162af12

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

css-display/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ Telling Contents How to Lay Out: the 'display-inside' property</h3>
8181
Media: all
8282
</pre>
8383

84+
The 'display-inside' property specifies the <dfn export>inner display type</dfn>
85+
of the box generated by the element,
86+
dictating how its contents lay out
87+
inside the box.
88+
8489
<dl dfn-type="value" dfn-for="display-inside">
8590
<dt><dfn>auto</dfn>
8691
<dd>
@@ -127,6 +132,10 @@ Interacting with Ancestors and Siblings: the 'display-outside' property</h3>
127132
Media: all
128133
</pre>
129134

135+
The 'display-outside' property specifies the <dfn export>outer display type</dfn>
136+
of the box generated by the element,
137+
dictating how the element participates in its parent formatting context.
138+
130139
<dl dfn-type="value" dfn-for="display-outside">
131140
<dt><dfn>block-level</dfn>
132141
<dd>

css-display/Overview.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ <h3 class="heading settled" data-level=2.1 id=the-display-inside><span class=sec
204204

205205
<table class="definition propdef"><tr><th>Name:<td><dfn class=css data-dfn-type=property data-export="" id=propdef-display-inside>display-inside<a class=self-link href=#propdef-display-inside></a></dfn><tr><th>Value:<td class=prod>auto <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> block <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> flex <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> grid <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> ruby<tr><th>Initial:<td>auto<tr><th>Applies to:<td>all elements<tr><th>Inherited:<td>no<tr><th>Media:<td>all<tr><th>Computed value:<td>a keyword<tr><th>Percentages:<td>n/a</table>
206206

207+
<p>The <a class=property data-link-type=propdesc href=#propdef-display-inside title=display-inside>display-inside</a> property specifies the <dfn data-dfn-type=dfn data-export="" id=inner-display-type>inner display type<a class=self-link href=#inner-display-type></a></dfn>
208+
of the box generated by the element,
209+
dictating how its contents lay out
210+
inside the box.</p>
211+
207212
<dl data-dfn-for=display-inside data-dfn-type=value>
208213
<dt><dfn class=css data-dfn-for=display-inside data-dfn-type=value data-export="" id=valdef-display-inside-auto>auto<a class=self-link href=#valdef-display-inside-auto></a></dfn>
209214
<dd>
@@ -241,6 +246,10 @@ <h3 class="heading settled" data-level=2.2 id=the-display-outside><span class=se
241246

242247
<table class="definition propdef"><tr><th>Name:<td><dfn class=css data-dfn-type=property data-export="" id=propdef-display-outside>display-outside<a class=self-link href=#propdef-display-outside></a></dfn><tr><th>Value:<td class=prod>block-level <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> inline-level <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> run-in <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> contents <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> none <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-row-group <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-header-group <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-footer-group <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-row <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-cell <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-column-group <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-column <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> table-caption <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> ruby-base <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> ruby-text <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> ruby-base-container <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> ruby-text-container<tr><th>Initial:<td>inline-level<tr><th>Applies to:<td>all elements<tr><th>Inherited:<td>no<tr><th>Media:<td>all<tr><th>Computed value:<td>as specified<tr><th>Percentages:<td>n/a</table>
243248

249+
<p>The <a class=property data-link-type=propdesc href=#propdef-display-outside title=display-outside>display-outside</a> property specifies the <dfn data-dfn-type=dfn data-export="" id=outer-display-type>outer display type<a class=self-link href=#outer-display-type></a></dfn>
250+
of the box generated by the element,
251+
dictating how the element participates in its parent formatting context.</p>
252+
244253
<dl data-dfn-for=display-outside data-dfn-type=value>
245254
<dt><dfn class=css data-dfn-for=display-outside data-dfn-type=value data-export="" id=valdef-display-outside-block-level>block-level<a class=self-link href=#valdef-display-outside-block-level></a></dfn>
246255
<dd>
@@ -747,6 +756,7 @@ <h2 class="no-num no-ref heading settled" id=index><span class=content>
747756
<li>inline-table, <a href=#valdef-display-inline-table title="section 2.4">2.4</a>
748757
<li>inlinification, <a href=#inlinify title="section 2.5">2.5</a>
749758
<li>inlinify, <a href=#inlinify title="section 2.5">2.5</a>
759+
<li>inner display type, <a href=#inner-display-type title="section 2.1">2.1</a>
750760
<li>internal ruby element, <a href=#internal-ruby-element title="section 2.2">2.2</a>
751761
<li>internal table element, <a href=#internal-table-element title="section 2.2">2.2</a>
752762
<li>layout-specific internal types, <a href=#layout-specific-internal-types title="section 2.2">2.2</a>
@@ -755,7 +765,8 @@ <h2 class="no-num no-ref heading settled" id=index><span class=content>
755765
<li>value for display, <a href=#valdef-display-list-item title="section 2.4">2.4</a>
756766
</ul><li>none<ul><li>value for display-outside, <a href=#valdef-display-outside-none title="section 2.2">2.2</a>
757767
<li>value for display, <a href=#valdef-display-none title="section 2.4">2.4</a>
758-
</ul><li>ruby<ul><li>value for display-inside, <a href=#valdef-display-inside-ruby title="section 2.1">2.1</a>
768+
</ul><li>outer display type, <a href=#outer-display-type title="section 2.2">2.2</a>
769+
<li>ruby<ul><li>value for display-inside, <a href=#valdef-display-inside-ruby title="section 2.1">2.1</a>
759770
<li>value for display, <a href=#valdef-display-ruby title="section 2.4">2.4</a>
760771
</ul><li>ruby-base, <a href=#valdef-display-outside-ruby-base title="section 2.2">2.2</a>
761772
<li>ruby-base-container, <a href=#valdef-display-outside-ruby-base-container title="section 2.2">2.2</a>

0 commit comments

Comments
 (0)