You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is confusing because the Resize Observer spec seems to allow all elements. CSS Sizing is actually referring to pseudo-elements, but pseudo-elements aren't actually elements, e.g. a property with "Applies to: all elements" doesn't apply to pseudo-elements unless otherwise stated, like ::before and ::after explicitly do.
So I would instead say
Only actual elements capable can have a last remembered size, pseudo-elements can't.
Or if you want to keep handwaving pseudo-elements as elements, at least add a note
Only elements capable of being ResizeObserver targets can have a last remembered size.
Note: Therefore, pseudo-elements can't have a last remembered size.
The text was updated successfully, but these errors were encountered:
From https://drafts.csswg.org/css-sizing-4/#last-remembered
This is confusing because the Resize Observer spec seems to allow all elements. CSS Sizing is actually referring to pseudo-elements, but pseudo-elements aren't actually elements, e.g. a property with "Applies to: all elements" doesn't apply to pseudo-elements unless otherwise stated, like ::before and ::after explicitly do.
So I would instead say
Or if you want to keep handwaving pseudo-elements as elements, at least add a note
The text was updated successfully, but these errors were encountered: