- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 07 May 2018 19:16:03 +0000
- To: public-svg-issues@w3.org
The Working Group just discussed `Clarify hit testing behavior of <foreignObject>`, and agreed to the following: * `RESOLVED: Add rule for pointer-events of foreignObject, to match browser implementation (exact wording TBD)` <details><summary>The full IRC log of that discussion</summary> <BogdanBrinza> topic: Clarify hit testing behavior of <foreignObject><br> <BogdanBrinza> GitHub: https://github.com/w3c/svgwg/issues/427<br> <AmeliaBR> Dirk: Browsers seem to agree to use the bounding box<br> <AmeliaBR> Amelia: It looks like its currently not defined at all in the spec?<br> <AmeliaBR> https://svgwg.org/svg2-draft/interact.html#PointerEventsProp<br> <AmeliaBR> Dirk: Or should we leave it up to the document that gets embedded to define how hit testing works.<br> <AmeliaBR> Bogdan: I'm not sure that's well defined anywhere, but we seem to have interoperable behavior.<br> <AmeliaBR> Amelia: `pointer-events` in general isn't defined anywhere for CSS box layout, but it is interoperable<br> <AmeliaBR> Bogdan: For this specific issue, should we define it somewhere to match browsers?<br> <AmeliaBR> ... Can you make that edit?<br> <AmeliaBR> Dirk: I think the proposal is that child document types should define hit testing.<br> <AmeliaBR> Amelia: That's find for child elements. But for the `<foreignObject>` itself, should it be transparent (so only gets hits if a child element is hit), or should it be a full rectangle.<br> <AmeliaBR> Dirk: I think it should be the full rectangle. That's what's implemented.<br> <krit> https://wiki.csswg.org/spec/css4-ui#pointer-events<br> <AmeliaBR> Bogdan: I would also recommend using the full rectangle, since the browsers are interoperable. I'd like to capture this in the spec.<br> <AmeliaBR> Dirk: Are we OK adding a "May" section about child elements may have hit-testing rules defined according to their own document language.<br> <AmeliaBR> Bogdan: That seems fine, just a short "may" sentence & that's it.<br> <AmeliaBR> RESOLVED: Add rule for pointer-events of foreignObject, to match browser implementation (exact wording TBD)<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/svgwg/issues/427#issuecomment-387172720 using your GitHub account
Received on Monday, 7 May 2018 19:16:08 UTC