- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Dec 2018 21:43:41 +0000
- To: public-svg-issues@w3.org
The SVG Working Group just discussed `how should display:contents affect SVG conditional processing attributes?`. <details><summary>The full IRC log of that discussion</summary> <myles> Topic: how should display:contents affect SVG conditional processing attributes?<br> <myles> GitHub: https://github.com/w3c/svgwg/issues/579<br> <myles> AmeliaBR: I haven't looked at this issue.<br> <myles> AmeliaBR: it shouldn't. The SVG attribute should happen first before any CSS, but...<br> <myles> krit: Let's open a new topic<br> <myles> s/krit: Let's open a new topic//<br> <myles> AmeliaBR: The processing attributes are all defined to happen even if something is display:none. They exist on their own level. I don't think we should try to complicate things by having it interact with display:contents.<br> <myles> krit: What about inline SVG? We have to define how svg contetns define display content<br> <myles> AmeliaBR: That's already defined at the basic level. If something is hidden because of conditional processing, then adding display:contents on it won't change anything. If it's displayed, then okay, it's displayed but now you're doing whatever we arleady defined display:contents to do on that element. The only thing that's not defined is if you put display:contents directly on a <switch><br> <myles> krit: <reads spec><br> <myles> krit: doesn't that mean that no matter which SVG we have in the document, it will always have display:none on the root and therefore not get displayed?<br> <myles> AmeliaBR: Yes, but i don't know how that affects conditional processing<br> <myles> AmeliaBR: SVG already defines, conditional processing says, of these 3 children, this is the one that gets displayed, but that child has display:none, then nothing gets display:none. So the same thing would happen if we're display:contents'ing that child. It's two separate sets of processing, and if the net result is nothing gets displayed, then nothing gets displayed.<br> <myles> krit: Sounds reasonable to me.<br> <myles> krit: Why not just take the next node or whatever?<br> <myles> krit: hrm.<br> <myles> AmeliaBR: Anything else would be adding a lot of complication for something that is hardly ever going to come up.<br> <myles> krit: Do we think there's anything on SVG's side that we need to resolve?<br> <myles> AmeliaBR: probably not. Possibly a clarification to the conditional processing bit where it says "not affected by display:none" we could chagne it to say "not affected by display:none or display:contents"<br> <myles> krit: Does that need to go into SVG or into CSS Display?<br> <myles> krit: We can follow up.<br> <myles> krit: Let's wait for the feedback that we get from heycam and fantasai<br> <myles> AmeliaBR: I found the relevant statement in SVG. "Note that the values of display have no effect on <switch>" that's all-inclusive and we don't need to change anythign.<br> <AmeliaBR> "Note that the values of properties display and visibility have no effect on ‘switch’ element processing."<br> <myles> krit: So we don't need a resolution.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/svgwg/issues/579#issuecomment-445985277 using your GitHub account
Received on Monday, 10 December 2018 21:43:43 UTC