Skip to content

Commit

Permalink
[css-display-3] Move note closer to what it's describing.
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Jun 21, 2018
1 parent 6bc18b7 commit 760c727
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions css-display-3/Overview.bs
Expand Up @@ -1233,17 +1233,6 @@ SVG Elements {#unbox-svg}
::
''display: contents'' behaves as ''display: none''.

When an element is stripped from the formatting tree,
then any SVG attributes on that element
that control layout and visual formatting
are ignored when rendering the contents.
However, SVG [=presentation attributes=]--
which map to CSS properties--
continue to affect value processing and inheritance [[css-cascade-3]];
thus such attributes can affect
the layout and visual formatting of the element’s descendants
by influencing the values of such properties on those descendants.

<div class="note">
The intention here is that
the ''display: none'' behavior applies
Expand Down Expand Up @@ -1275,6 +1264,16 @@ SVG Elements {#unbox-svg}
it is forced to ''none'' by an ''!important'' user agent style rule.)
</div>

When an element is stripped from the formatting tree,
then any SVG attributes on that element
that control layout and visual formatting
are ignored when rendering the contents.
However, SVG [=presentation attributes=]--
which map to CSS properties--
continue to affect value processing and inheritance [[css-cascade-3]];
thus such attributes can affect
the layout and visual formatting of the element’s descendants
by influencing the values of such properties on those descendants.

MathML Elements {#unbox-mathml}
-------------------------------
Expand Down

0 comments on commit 760c727

Please sign in to comment.