File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1274,6 +1274,21 @@ SVG Elements {#unbox-svg}
12741274 thus such attributes can affect
12751275 the layout and visual formatting of the element’s descendants
12761276 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+ -->
12771292
12781293MathML Elements {#unbox-mathml}
12791294-------------------------------
You can’t perform that action at this time.
0 commit comments