Skip to content

Commit 6bc18b7

Browse files
committed
[css-display-3] Tighten up wording around 'display: contents' and SVG attributes. w3c#2502
1 parent 1d3a832 commit 6bc18b7

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

css-display-3/Overview.bs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,16 +1235,14 @@ SVG Elements {#unbox-svg}
12351235

12361236
When an element is stripped from the formatting tree,
12371237
then any SVG attributes on that element
1238-
that control the layout and formatting of its child content
1239-
(or shadow DOM content)
1238+
that control layout and visual formatting
12401239
are ignored when rendering the contents.
1241-
However, SVG [=presentation attributes=]
1242-
continue to affect CSS property inheritance,
1243-
the same as CSS styles set in any other way.
1244-
1245-
Issue(w3c/csswg-drafts#2502):
1246-
Is this description clear enough to identify
1247-
the SVG attributes affected by ''display: 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.
12481246

12491247
<div class="note">
12501248
The intention here is that

0 commit comments

Comments
 (0)