- From: vmpstr via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Dec 2022 18:48:50 +0000
- To: public-css-archive@w3.org
Here's my thoughts on this: > * When an element whose size is considered to be 0x0 is first observed: [[resize-observer] The initial size of ResizeObservation #3664](https://github.com/w3c/csswg-drafts/issues/3664) said yes, and I guess this is regardless of whether it's an actual 0x0 box, or it's an inline box, or there is no box, or the element is disconnected from the DOM. Yes, this should observe a 0x0 box or empty, as resolved elsewhere > * When a disconnected element becomes connected but generates no box, or an element that generates no box is disconnected from the DOM. I think a notification may not be necessary here. This seems mandated by this line in the spec, but I agree that it doesn't seem useful > Observation will fire when watched Element is inserted/removed from DOM. > * When a disconnected element becomes connected and generates a 0x0 box, or viceversa. This should probably fire an observation, since we're distinguishing no box from 0x0 box > * When a disconnected element becomes connected and generates an inline box, or viceversa. Not sure about this :\ > * When a connected element that generated no box starts generating a 0x0 box, or viceversa. Yes, this should fire an observation > * When a connected element that generated no box starts generating an inline box, or viceversa. > * When an element that generated a 0x0 box becomes an inline box, or viceversa. Not sure about inline boxes. I think the question really is whether inline boxes should be treated as "no box" or "0x0 box" from the perspective of resize observer -- GitHub Notification of comment by vmpstr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7808#issuecomment-1351968605 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 18:48:52 UTC