File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1275,7 +1275,7 @@ SVG Elements {#unbox-svg}
1275
1275
its child text content and elements are no longer valid.
1276
1276
For that reason, ''display: contents'' on <{text}>
1277
1277
prevents the entire text element from being rendered.
1278
- In contrast, any content inside a <{tspan}> or <{textPath}>
1278
+ In contrast, any valid content inside a <{tspan}> or <{textPath}>
1279
1279
is also valid content inside the parent text formatting context,
1280
1280
so the hoisting behavior applies for these elements.
1281
1281
@@ -1287,8 +1287,6 @@ SVG Elements {#unbox-svg}
1287
1287
that is an invalid change of rendering context.
1288
1288
Never-rendered container elements therefore cannot be "un-boxed"
1289
1289
by ''display: contents'' .
1290
- (Also, authors cannot override the 'display' property on these elements:
1291
- it is forced to ''none'' by an ''!important'' user agent style rule.)
1292
1290
</div>
1293
1291
1294
1292
When an element is stripped from the formatting tree,
You can’t perform that action at this time.
0 commit comments