Skip to content

Commit 57455ef

Browse files
committed
[css-contain] size layout and paint don't apply to internal ruby elements
Closes w3c#2512
1 parent 9e884b5 commit 57455ef

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

css-contain-1/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ Size Containment</h3>
164164

165165
If the element does not generate a <a>principal box</a> (as is the case with ''display: contents'' or ''display: none''),
166166
or if the element is an <a spec="css-display-3">internal table element</a>,
167+
or if the element is an <a spec="css-display-3">internal ruby element</a>,
167168
size containment has no effect.
168169
Otherwise, giving an element <dfn export>size containment</dfn> has the following effect:
169170

@@ -202,6 +203,7 @@ Layout Containment</h3>
202203

203204
If the element does not generate a <a>principal box</a> (as is the case with ''display: contents'' or ''display: none''),
204205
or if the element is an <a spec="css-display-3">internal table element</a> other than ''display: table-cell'',
206+
or if the element is an <a spec="css-display-3">internal ruby element</a>,
205207
layout containment has no effect.
206208
Otherwise, giving an element <dfn export>layout containment</dfn> has the following effects:
207209

@@ -303,6 +305,7 @@ Paint Containment</h3>
303305

304306
If the element does not generate a <a>principal box</a> (as is the case with ''display: contents'' or ''display: none''),
305307
or if the element is an <a spec="css-display-3">internal table element</a> other than ''display: table-cell'',
308+
or if the element is an <a spec="css-display-3">internal ruby element</a>,
306309
paint containment has no effect.
307310
Otherwise, giving an element <dfn export>paint containment</dfn> has the following effects:
308311

@@ -432,6 +435,7 @@ This appendix is <em>informative</em>.
432435
<li>Remove the effects of style containment on the "break-*" properties.
433436
<li>Move the description of the effects of containement on regions from this specification to [[CSS-REGIONS-1]].
434437
<li>Clarify the effects of style scoping on counter-set and counter-increment
438+
<li>Size layout and paint don't apply to internal ruby elements
435439
</ul>
436440

437441
<h3 id="2017-04-19-changes">Changes from the

css-contain-1/issues-2017-cr.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ <h1>CSS Contain Level 1 Disposition of Comments for 2017-02-21 WD</h1>
117117
From: Florian Rivoal
118118
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2510'>https://github.com/w3c/csswg-drafts/issues/2510</a>
119119
Open</pre>
120-
<pre class=' open' id='issue-10'>
120+
<pre class='a' id='issue-10'>
121121
Issue 10. <a href='#issue-10'>#</a>
122122
Summary: Applicability size containment, layout containment and paint containment to internal ruby elements
123123
From: Florian Rivoal
124124
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2512'>https://github.com/w3c/csswg-drafts/issues/2512</a>
125-
Open</pre>
125+
Response: <a href='https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198'>https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198</a>
126+
Closed: Accepted
127+
Resolved: <a href='https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198'>https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198</a></pre>
126128
<pre class='a' id='issue-11'>
127129
Issue 11. <a href='#issue-11'>#</a>
128130
Summary: Move effects of containment on regions from [css-contain-1] to [css-regions-1]

css-contain-1/issues-2017-cr.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ Issue 10.
9292
Summary: Applicability size containment, layout containment and paint containment to internal ruby elements
9393
From: Florian Rivoal
9494
Comment: https://github.com/w3c/csswg-drafts/issues/2512
95-
Open
95+
Response: https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198
96+
Closed: Accepted
97+
Resolved: https://github.com/w3c/csswg-drafts/issues/2512#issuecomment-380353198
9698
----
9799
Issue 11.
98100
Summary: Move effects of containment on regions from [css-contain-1] to [css-regions-1]

0 commit comments

Comments
 (0)