Re: [csswg-drafts] [resize-observer] Fragment-aware behavior for SVG? (#7736)

The CSS Working Group just discussed `[resize-observer] Fragment-aware behavior for SVG?`, and agreed to the following:

* `RESOLVED: if internal parts of an svg are sliced we will return size before slicing`

<details><summary>The full IRC log of that discussion</summary>
&lt;bramus> oriol: thi s about internal svg elems. the do not generate …-boxes, the generate svgboxes<br>
&lt;bramus> oriol: spec handles them specially and says their size should be the bounding box<br>
&lt;bramus> oriol: q is: what happpens if svg is fragmented? then we have different sizes in different places. some of the internal elems are sliced. should we report size before slicing or sth different?<br>
&lt;bramus> oriol: leaning to size before slicing<br>
&lt;bramus> oriol: the svg does not know it is fragmented<br>
&lt;emilio> +1<br>
&lt;bramus> oriol: maybe someone with more expertise has more info/details?<br>
&lt;bramus> astearns: so we say we handle svg and img in the same way when things get sliced?<br>
&lt;bramus> oriol: yes [missed] they don not follow css rules but do svg behaviors<br>
&lt;bramus> oriol: maybe we should just use the concept in svg and report a single fragment/size<br>
&lt;bramus> astearns: opinions?<br>
&lt;bramus> astearns: proposed resolution: if an svg or its internal parts are sliced we will return the size before slicing<br>
&lt;bramus> oriol: just for the internal parts<br>
&lt;astearns> ack dbaron<br>
&lt;fantasai> s/parts/parts; the outer SVG box should be treated same as img/<br>
&lt;bramus> dbaron: wondering if there should be a difference between an svg doc vs an outer svg elem tha tgets sliced<br>
&lt;bramus> dbaron: if its a doc it should behave as if it is not sliced<br>
&lt;bramus> astearns: reason for different behavior?<br>
&lt;fantasai> s/same as img/same as img and return its slices/<br>
&lt;bramus> dbaron: not specifically.<br>
&lt;bramus> dbaron: [missed]<br>
&lt;bramus> astearns: updated proposed resoltuion: if internal parts of an svg are sliced we will return size before slicing<br>
&lt;dbaron> s/[missed]/just that if we were to expose the slicing, I think it wouldn't make sense to do so for something that's its own document but is sliced by a containing document/<br>
&lt;bramus> astearns: objections<br>
&lt;bramus> RESOLVED: if internal parts of an svg are sliced we will return size before slicing<br>
&lt;bramus> s/objections/objections?/<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7736#issuecomment-1351834441 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 14 December 2022 17:39:15 UTC