Re: [csswg-drafts] [css-display] should display:contents on SVG textPath compute to none?

For your first example, this is identical to `<rect style="display:contents"><rect /></rect>`; we don't consider it reasonable to render the inner `rect` there, so we shouldn't render the inner `textPath` here.

For your second, I wasn't aware that `tspan` caused `textPath` to not render. That's an odd and unfortunate detail. The fact that you can put `tspan` *inside of* `textPath` validly, but not outside, seems weird. 

Also, `textPath` is categorized as a "text content child element", which says that it's allowed as a descendant of another "text content element", of which `tspan` is one. I see you've opened 580 to ask about that.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3302#issuecomment-437498636 using your GitHub account

Received on Friday, 9 November 2018 21:20:22 UTC