File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,18 @@ The 'overflow' property applies to <a>layout API containers</a>. This is discuss
142
142
As the layout is entirely up to the author, properties which are used in other layout modes (e.g.
143
143
flex, block) may not apply. For example an author may not respect the 'margin' property on children.
144
144
145
+ <div class="example">
146
+ The HTML below shows an example of setting the ''display'' to a ''layout()'' function.
147
+
148
+ <pre class="lang-html">
149
+ <!DOCTYPE html>
150
+ <style>
151
+ .centering-layout { display: layout(centering); }
152
+ </style>
153
+ <div class="centering-layout"></div>
154
+ </pre>
155
+ </div>
156
+
145
157
Layout API Container Painting {#painting}
146
158
-----------------------------------------
147
159
You can’t perform that action at this time.
0 commit comments