Skip to content

Commit 9263ecf

Browse files
committed
[css-contain] ''content'' and ''strict'' compute into the other values
Closes w3c#5511
1 parent 020c2b8 commit 9263ecf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

css-contain-1/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Strong Containment: the 'contain' property</h2>
8282
Initial: none
8383
Inherited: no
8484
Applies to: See <a href="#contain-applies">below</a>
85-
Computed value: specified keyword(s)
85+
Computed value: specified keyword(s), except ''strict'' and ''content'' (see prose)
8686
Animation type: not animatable
8787
</pre>
8888

@@ -119,8 +119,8 @@ Strong Containment: the 'contain' property</h2>
119119

120120
<dt><dfn>strict</dfn>
121121
<dd>
122-
This value turns on all forms of <a>containment</a> for the element.
123-
In other words, it behaves the same as ''contain: size layout paint;''.
122+
This value computes to ''size layout paint'',
123+
and thus turns on all forms of <a>containment</a> for the element.
124124

125125
<wpt>
126126
contain-strict-001.html
@@ -130,8 +130,8 @@ Strong Containment: the 'contain' property</h2>
130130

131131
<dt><dfn>content</dfn>
132132
<dd>
133-
This value turns on all forms of <a>containment</a> <em>except</em> <a>size containment</a> for the element.
134-
In other words, it behaves the same as ''contain: layout paint;''.
133+
This value computes to ''layout paint'',
134+
and thus turns on all forms of <a>containment</a> <em>except</em> <a>size containment</a> for the element.
135135

136136
<wpt>
137137
contain-content-001.html

css-contain-2/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Strong Containment: the 'contain' property</h2>
9898
Initial: none
9999
Inherited: no
100100
Applies to: See <a href="#contain-applies">below</a>
101-
Computed value: specified keyword(s)
101+
Computed value: specified keyword(s), except ''strict'' and ''content'' (see prose)
102102
Animation type: not animatable
103103
</pre>
104104

@@ -135,8 +135,8 @@ Strong Containment: the 'contain' property</h2>
135135

136136
<dt><dfn>strict</dfn>
137137
<dd>
138-
This value turns on all forms of <a>containment</a> <em>except</em> <a>style containment</a> for the element.
139-
In other words, it behaves the same as ''contain: size layout paint;''.
138+
This value computes to ''size layout paint'',
139+
and thus turns on all forms of <a>containment</a> <em>except</em> <a>style containment</a> for the element.
140140

141141
<wpt>
142142
contain-strict-001.html
@@ -147,8 +147,8 @@ Strong Containment: the 'contain' property</h2>
147147

148148
<dt><dfn>content</dfn>
149149
<dd>
150-
This value turns on all forms of <a>containment</a> <em>except</em> <a>size containment</a> and <a>style containment</a> for the element.
151-
In other words, it behaves the same as ''contain: layout paint;''.
150+
This value computes to ''layout paint'',
151+
and thus turns on all forms of <a>containment</a> <em>except</em> <a>size containment</a> and <a>style containment</a> for the element.
152152

153153
<wpt>
154154
contain-content-001.html

0 commit comments

Comments
 (0)