- From: Paul LeBeau <paul.lebeau@gmail.com>
- Date: Wed, 3 Aug 2016 06:25:55 +1200
- To: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
- Cc: www-svg <www-svg@w3.org>
- Message-ID: <CACfsppCEc8r3Kyyo2HH0=LWrCqMJULkcQkikqzpw-EzXqfa6Sw@mail.gmail.com>
Thanks Amelia. I've only experimented with Chrome. But I will test properly and file a bug to suggest considering adding them to the allowed list. Paul On 3 August 2016 at 06:20, Amelia Bellamy-Royds < amelia.bellamy.royds@gmail.com> wrote: > It was *probably* an XML DTD validation issue, that an element is only > able to constrain its immediate children and not all descendents. If you > allow a `<g>`, then you allow anything that is a valid child of a `<g>`, > which would include things like `<image>` that don't make sense in a > clipPath. > > But the spec is much less tied to DTD validation these days, so that's not > a good justification anymore. Furthermore, the clipPath can contain a > `<use>`, and the `<use>` can create a copy of an image, so the argument > fails on that point. > > I'd personally prefer to handle the question on the rendering side, > anyway, allowing arbitrary containers and just skipping over any embedded > content that can't be converted to a vector outline. > > Have you tested it? What do browsers currently do? Do they ignore the > entire group or use the shapes inside it? > > When you get some data, the correct place to file an issue is the FXTF > repo, https://github.com/w3c/fxtf-drafts/issues/ > Be sure to start the issue subject with [css-masking]. > > ~ABR > > On 2 August 2016 at 10:26, Paul LeBeau <paul.lebeau@gmail.com> wrote: > >> Hi all >> >> Just wondering if anyone can remember why groups are not allowed in >> clipPaths? >> >> Paul >> >> >
Received on Tuesday, 2 August 2016 18:26:57 UTC