Skip to content

Commit 7ad9508

Browse files
committed
[css-layout-api] Small cleanups.
1 parent 60ff1c2 commit 7ad9508

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

css-layout-api/Overview.bs

+7-11
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ spec:css-display-3; type:value; for:display; text:none
3838
spec:css-display-3; type:value; for:<display-inside>; text:grid
3939
spec:dom; type:dfn; for:/; text:element
4040
spec:infra; type:dfn; text:list
41+
spec:css-pseudo-4; type:selector; text:::after
42+
spec:css-pseudo-4; type:selector; text:::before
43+
spec:css-pseudo-4; type:selector; text:::first-letter
44+
spec:css-pseudo-4; type:selector; text:::first-line
4145
</pre>
4246

4347
<pre class="anchors">
@@ -114,19 +118,11 @@ containers do</a>. [[!CSS21]]
114118
Note: In a future level of the specification there may be a way to override the containing block
115119
behaviour.
116120

117-
The 'overflow' property applies to <a>layout API containers</a>. This is discussed (TODO: writing
118-
about scrollbars).
121+
The 'overflow' property applies to <a>layout API containers</a>. This is discussed in
122+
[[#interaction-overflow]].
119123

120124
As the layout is entirely up to the author, properties which are used in other layout modes (e.g.
121-
flex, block) may not apply. For example an author may not call respect the 'width' or 'height'
122-
properties.
123-
124-
A <a>layout API container</a> has a <dfn>layout instance</dfn>, initially this is set to null. This
125-
is an instance of the author defined layout class (see [[#registering-layout]]). If the <a>box</a>'s
126-
<a>computed value</a> of 'display' changes, this must be reset to null.
127-
128-
Issue: Having the layout instance on the box is wrong, should really be a map on the layout worklet
129-
global scope.
125+
flex, block) may not apply. For example an author may not repect the 'margin' property on children.
130126

131127
Layout API Container Painting {#painting}
132128
-----------------------------------------

0 commit comments

Comments
 (0)