- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Nov 2021 22:16:17 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Object Bounding Box`. <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: Object Bounding Box<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/5786<br> <fantasai> astearns: conclusion from IRC conversation?<br> <fantasai> chrishtr: Chrome uses just the border box of the element only<br> <fantasai> chrishtr: Firefox includes descendants<br> <fantasai> chrishtr: So Chrome seems to implement what we want, which is to use border box and not bounding box of descendants<br> <fantasai> smfr: This resolution would affect Gecko; WebKit already matches<br> <fantasai> dholbert: Unsure what we're doing exactly, but proposal sounds pretty reasonable<br> <fantasai> astearns: So proposed resolution is to use the border-box for masking in SVG?<br> <TabAtkins> fantasai: Is this changing the interpretation fo the fill-box keyword? Or just the interpretation of what we do by default, and in what properties?<br> <fantasai> chrishtr: I think it's changing interpretation of "object bounding box" for clip-path<br> <chrishtr> clipPathUnits="objectBoundingBox"<br> <fantasai> astearns: Is there a way to change to use something other than object bounding box?<br> <fantasai> astearns: Is that only the default behavior or ...?<br> <fantasai> smfr: fantasai's point is valid, we need to resolve ambiguities between when object bounding box is applied to CSS<br> <fantasai> smfr: problem with fill-box and border-box being different<br> <fantasai> chrishtr: can specify various boxes<br> <fantasai> iank_: Also bug/ambiguity, when fragmented<br> <fantasai> iank_: need to clarify applying to each fragment independently<br> <fantasai> astearns: Proposed resolution as stated is not everything we need to fix?<br> <TabAtkins> fantasai: I think the fill-box keyword is mapped ot the OBB, and also to the content box<br> <TabAtkins> fantasai: So does that change, when fill-box is specified explicitly?<br> <TabAtkins> fantasai: If it does get redefined, do we do so only for clip-path or for all places?<br> <TabAtkins> fantasai: So we need to dig in and see if we were onlya ffecting clip-path:<initial-value>, clip-path:fill-box, or <any-property>:fill-box<br> <fantasai> heycam: for clip-path object bounding box, no way to switch to another box<br> <fantasai> heycam: so if we are changing definition of 'fill-box', would need to consider in other contexts<br> <fantasai> heycam: but at the moment, I don't think there's a way to explicitly select any of the other boxes<br> <fantasai> astearns: There is in CSS, but maybe not in SVG<br> <fantasai> heycam: I don't think those would affect how SVG clip path would be positioned<br> <fantasai> astearns: Do we have a simple resolution and then action to audit?<br> <fantasai> chrishtr: Let's resolve, and then ask editors to audit and come back to group<br> <fantasai> astearns: sgtm<br> <fantasai> astearns: what's the proposed resolution?<br> <fantasai> chrishtr: If you set 'clip-path' to use object bounding box units in an SVG-based clip-path, it refers to bounding box of the element to which clip is applied<br> <fantasai> chrishtr: border box<br> <fantasai> proposed resolution: SVG clip-path bounding box units refer to CSS border-box of element to which applied<br> <fantasai> RESOLVE: SVG clip-path bounding box units refer to CSS border-box of element to which applied<br> <fantasai> s/RESOLVE/RESOLVED/<br> <fantasai> ACTION: Editors to check if any other related amiguities<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5786#issuecomment-960228838 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 November 2021 22:16:19 UTC