web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
5.01k stars 3.11k forks source link

SVG pserver "invalid context" tentative tests don't match spec. #26168

Open faceless2 opened 4 years ago

faceless2 commented 4 years ago

I don't agree with the the following tentative tests:

They seem to be based on the premise that pservers are not valid inside a <text>. But both <linearGradient> and <pattern> are listed explicitly as a valid child of <text> in the draft at https://svgwg.org/svg2-draft/single-page.html#text-TextElement.

I'm not saying this behaviour is desirable, and I'm aware the behaviour asserted in this test matches Webkit, Blink and Gecko. But if this is what we want, then it should be raised as an issue on the SVG spec.

@fregu

gsnedders commented 3 years ago

@fsoder is the right fs.