Skip to content

Commit b73d7dc

Browse files
committed
[css-contain] Clarify scoping properties to subtrees
Closes w3c#2349
1 parent 51a4d9e commit b73d7dc

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

css-contain-1/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,10 @@ Style Containment</h3>
281281
and vice versa.
282282
If scoped to a sub-tree, it's the same,
283283
except the scoping element itself is counted as "outside" the tree,
284-
like the rest of the document.
284+
like the rest of the document,
285+
and the effects of the property on that element are unaffected by scoping.
286+
When considering the effects of the scoped property on elements <em>inside</em> the subtree,
287+
the element at the base of the subtree is treated as if it was the root of the document.
285288

286289
When scoped, the 'counter-set' and 'counter-increment' <a spec=css-lists-3>create a new counter</a>.
287290

@@ -453,6 +456,7 @@ This appendix is <em>informative</em>.
453456
<li>Align paint containment's behavior with overflow:clip
454457
<li>Elements with size containment are monolithic
455458
<li>Forced breaks area allowed in elements with layout containments, but do not propagate
459+
<li>Clarify the effects of scoping to a subtree
456460
</ul>
457461

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,14 @@ <h1>CSS Contain Level 1 Disposition of Comments for 2017-02-21 WD</h1>
105105
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2483#issuecomment-377214307'>https://github.com/w3c/csswg-drafts/issues/2483#issuecomment-377214307</a>
106106
Response: <a href='https://github.com/w3c/csswg-drafts/issues/2483#issuecomment-379124749'>https://github.com/w3c/csswg-drafts/issues/2483#issuecomment-379124749</a>
107107
Open</pre>
108-
<pre class=' open' id='issue-9'>
108+
<pre class='a' id='issue-9'>
109109
Issue 9. <a href='#issue-9'>#</a>
110110
Summary: Clarify style containment property scopment
111111
From: Oriol Brufau
112112
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/2349'>https://github.com/w3c/csswg-drafts/issues/2349</a>
113113
Response: <a href='https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-379127071'>https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-379127071</a>
114-
Open</pre>
114+
Closed: Accepted
115+
Resolved: <a href='https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-380361614'>https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-380361614</a></pre>
115116
<pre class='a' id='issue-9'>
116117
Issue 9. <a href='#issue-9'>#</a>
117118
Summary: Applicability of size contaiment to non atomic inlines

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ Summary: Clarify style containment property scopment
8181
From: Oriol Brufau
8282
Comment: https://github.com/w3c/csswg-drafts/issues/2349
8383
Response: https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-379127071
84-
Open
84+
Closed: Accepted
85+
Resolved: https://github.com/w3c/csswg-drafts/issues/2349#issuecomment-380361614
8586
----
8687
Issue 9.
8788
Summary: Applicability of size contaiment to non atomic inlines

0 commit comments

Comments
 (0)