File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1270,9 +1270,13 @@ <h3 id=margin-at-rules><span class=secno>6.1. </span>At-rules for margin
12701270 < h3 id =populating-margin-boxes > < span class =secno > 6.2. </ span > Populating
12711271 margin boxes</ h3 >
12721272
1273- < p > A margin box is generated if and only if the computed value of its
1274- ‘< code class =property > content</ code > ’ property does not match that of
1275- its initial value. Otherwise it behaves as if it had ‘< code
1273+ < p > As with the ‘< code class =css > :before</ code > ’ and ‘< code
1274+ class =css > :after</ code > ’ pseudo-elements, a specified ‘< code
1275+ class =property > content</ code > ’ of ‘< code class =css > normal</ code > ’
1276+ on a margin box computes to ‘< code class =css > none</ code > ’, and the
1277+ margin box is generated if and only if the computed value of its ‘< code
1278+ class =property > content</ code > ’ property is not ‘< code
1279+ class =property > none</ code > ’. Otherwise it behaves as if it had ‘< code
12761280 class =css > display: none</ code > ’.
12771281
12781282 < div class =example >
Original file line number Diff line number Diff line change @@ -904,8 +904,10 @@ <h3 id="margin-at-rules">At-rules for margin boxes</h3>
904904
905905< h3 id ="populating-margin-boxes "> Populating margin boxes</ h3 >
906906
907- < p > A margin box is generated if and only if the computed value of its
908- 'content' property does not match that of its initial value.
907+ < p > As with the '':before'' and '':after'' pseudo-elements,
908+ a specified 'content' of ''normal'' on a margin box computes to ''none'',
909+ and the margin box is generated if and only if the computed value of its
910+ 'content' property is not 'none'.
909911Otherwise it behaves as if it had ''display: none''.
910912
911913< div class ="example ">
You can’t perform that action at this time.
0 commit comments