Skip to content

Commit 760c727

Browse files
committed
[css-display-3] Move note closer to what it's describing.
1 parent 6bc18b7 commit 760c727

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

css-display-3/Overview.bs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,17 +1233,6 @@ SVG Elements {#unbox-svg}
12331233
::
12341234
''display: contents'' behaves as ''display: none''.
12351235

1236-
When an element is stripped from the formatting tree,
1237-
then any SVG attributes on that element
1238-
that control layout and visual formatting
1239-
are ignored when rendering the contents.
1240-
However, SVG [=presentation attributes=]--
1241-
which map to CSS properties--
1242-
continue to affect value processing and inheritance [[css-cascade-3]];
1243-
thus such attributes can affect
1244-
the layout and visual formatting of the element’s descendants
1245-
by influencing the values of such properties on those descendants.
1246-
12471236
<div class="note">
12481237
The intention here is that
12491238
the ''display: none'' behavior applies
@@ -1275,6 +1264,16 @@ SVG Elements {#unbox-svg}
12751264
it is forced to ''none'' by an ''!important'' user agent style rule.)
12761265
</div>
12771266

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

12791278
MathML Elements {#unbox-mathml}
12801279
-------------------------------

0 commit comments

Comments
 (0)