@@ -572,7 +572,7 @@ Box Generation: the ''display/none'' and ''display/contents'' keywords</h3>
572
572
and property <a>inheritance</a> ,
573
573
are not affected.
574
574
575
- This value behaves as ''display: none'' on replaced elements
575
+ This value computes to ''display: none'' on replaced elements
576
576
and other elements whose rendering is not entirely controlled by CSS;
577
577
see [[#unbox]] for details.
578
578
@@ -1194,7 +1194,7 @@ HTML Elements {#unbox-html}
1194
1194
: <{textarea}>
1195
1195
: <{select}>
1196
1196
::
1197
- ''display: contents'' behaves as ''display: none'' .
1197
+ ''display: contents'' computes to ''display: none'' .
1198
1198
1199
1199
: <{legend}>
1200
1200
::
@@ -1221,7 +1221,7 @@ SVG Elements {#unbox-svg}
1221
1221
(this includes all <{svg}> whose parent is an HTML element,
1222
1222
as well as document root elements)
1223
1223
::
1224
- ''display: contents'' behaves as ''display: none'' .
1224
+ ''display: contents'' computes to ''display: none'' .
1225
1225
1226
1226
: All other SVG [=container elements=] that are also [=renderable elements=]
1227
1227
: SVG [=text content child elements=]
@@ -1233,7 +1233,7 @@ SVG Elements {#unbox-svg}
1233
1233
1234
1234
: any other SVG elements
1235
1235
::
1236
- ''display: contents'' behaves as ''display: none'' .
1236
+ ''display: contents'' computes to ''display: none'' .
1237
1237
1238
1238
<div class="note">
1239
1239
The intention here is that
@@ -1296,7 +1296,7 @@ MathML Elements {#unbox-mathml}
1296
1296
-------------------------------
1297
1297
1298
1298
For all MathML elements,
1299
- ''display: contents'' behaves as ''display: none'' .
1299
+ ''display: contents'' computes to ''display: none'' .
1300
1300
1301
1301
<h2 class=no-num id="box-guidelines">
1302
1302
Appendix C: Box Construction Guidelines for Spec Authors</h2>
@@ -1346,6 +1346,14 @@ Acknowledgments</h2>
1346
1346
<h2 class=no-num id="changes">
1347
1347
Changes</h2>
1348
1348
1349
+ Changes since the <a href="https://www.w3.org/TR/2018/WD-css-display-3-20180420/">20 April 2018 Working Draft</a> include:
1350
+
1351
+ <ul>
1352
+ <li>
1353
+ Elements with ''display: contents'' that behave as ''display: none'' now <em> compute to</em> ''display: none'' .
1354
+ (<a href="https://github.com/w3c/csswg-drafts/issues/2755">Issue 2755</a> )
1355
+ </ul>
1356
+
1349
1357
Changes since the <a href="https://www.w3.org/TR/2017/WD-css-display-3-20170720/">20 July 2017 Working Draft</a> include:
1350
1358
1351
1359
* Tightened up rules for the <a>blockification</a> of ''display/inline-block'' / ''inline flow-root''
0 commit comments