[css-display-3] display: contents computes to display: none on replac… · w3c/csswg-drafts@f13b842 (original) (raw)
`@@ -572,7 +572,7 @@ Box Generation: the ''display/none'' and ''display/contents'' keywords
`
572
572
` and property inheritance,
`
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
`
`
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
`
`
1302
1302
`Appendix C: Box Construction Guidelines for Spec Authors
`
`@@ -1346,6 +1346,14 @@ Acknowledgments
`
1346
1346
`
`
1347
1347
`Changes
`
1348
1348
``
``
1349
`+
Changes since the 20 April 2018 Working Draft include:
`
``
1350
+
``
1351
`+
-
`
``
1353`+
Elements with ''display: contents'' that behave as ''display: none'' now compute to ''display: none''.
`
``
1354`+
`
``
1355`+
`
``
1352
`+
`
``
1356
+
1349
1357
` Changes since the 20 July 2017 Working Draft include:
`
1350
1358
``
1351
1359
` * Tightened up rules for the blockification of ''display/inline-block'' / ''inline flow-root''
`