- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Sep 2018 16:39:35 +0000
- To: public-css-archive@w3.org
Sorry I missed the discussion. I agree that the "outer" SVG should support the containment properties. The wording should be something like "an `<svg>` element that has an associated CSS layout box" to be consistent with other specs. As selectors, that looks like: ``` css @namespace svgns url(http://www.w3.org/2000/svg); svg:root, /* root svg, starts an SVG canvas */ :not(svgns|*) > svg, /* svg that is a child of a non-svg element, also starts a canvas */ foreignObject > svg /* a new SVG canvas inside a foreignObject */ { /* containment works */} ``` I still think it would be perfectly sensible for `<foreignObject>` and other elements that support `overflow: hidden` to also support containment, but I also think that's something that could be left undefined/unsupported for now. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2987#issuecomment-420716107 using your GitHub account
Received on Wednesday, 12 September 2018 16:39:42 UTC