- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Mar 2018 00:24:49 +0000
- To: public-css-archive@w3.org
Would it be better to link to SVG element-category definitions?
- `Root <{svg}>` would be "an `<svg>` element with CSS box layout" (in fact, I'd strongly argue _against_ using the word "root" if you want this behavior to apply to `<svg>` that is a child of an HTML element, and is therefore not the root of its document.)
> ''display: contents'' behaves as ''display: none''.
- `<{tspan}>, <{textPath}>` would be [text content child elements](https://svgwg.org/svg2-draft/text.html#TermTextContentChildElement).
`Nested <{svg}>, <{a}>, <{g}>, and unknown elements` would be [all other SVG container elements](https://svgwg.org/svg2-draft/struct.html#TermContainerElement) that are also [renderable elements](https://svgwg.org/svg2-draft/render.html#TermRenderableElement).
Only ` <{use}> (treated as a Shadow DOM container)` would need to be called out separately
> ''display: contents'' strips the element from the formatting tree,
> and hoists its contents up to display in its place.
- any other SVG elements
> ''display: contents'' behaves as ''display: none''.
--
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2118#issuecomment-374802030 using your GitHub account
Received on Wednesday, 21 March 2018 00:24:53 UTC