File tree 1 file changed +15
-0
lines changed 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1274,6 +1274,21 @@ SVG Elements {#unbox-svg}
1274
1274
thus such attributes can affect
1275
1275
the layout and visual formatting of the element’s descendants
1276
1276
by influencing the values of such properties on those descendants.
1277
+ <!--
1278
+ https://github.com/w3c/csswg-drafts/issues/2502#issuecomment-378809174
1279
+ The rule here should be,
1280
+ if this attribute were mapped to a CSS property,
1281
+ would it inherit or no?
1282
+ If it wouldn't inherit, then it goes away with display: contents.
1283
+ If it would inherit, then it behaves as if it did.
1284
+ (Because there's been an ongoing trend of converting SVG attributes to CSS properties,
1285
+ we wouldn't want to have any difference in behavior as that process continued.)
1286
+
1287
+ Note that some CSS properties that affect descendant content aren't inherited
1288
+ because we needed to know exactly at which point in the tree they were applied
1289
+ and/or because their effects accumulate.
1290
+ The same is likely to be true of some SVG attributes.
1291
+ -->
1277
1292
1278
1293
MathML Elements {#unbox-mathml}
1279
1294
-------------------------------
You can’t perform that action at this time.
0 commit comments