[csswg-drafts] [resize-observer] Size when the principal box is not a CSS/SVG layout box (#7735)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [resize-observer] Size when the principal box is not a CSS/SVG layout box ==
I think ResizeObserver should cover the cases of [being rendered](https://html.spec.whatwg.org/multipage/rendering.html#being-rendered):

> An element is being rendered if it has any associated CSS layout boxes, SVG layout boxes, or some equivalent in other styling languages.

https://drafts.csswg.org/resize-observer-1/#calculate-box-size seems to cover SVG layout boxes with

> If target is an [SVGGraphicsElement](https://svgwg.org/svg2-draft/types.html#InterfaceSVGGraphicsElement) that does not have an associated CSS layout box

(it may be better to rewrite the condition. Can non-SVGGraphicsElement elements have a SVG principal layout box? Can SVGGraphicsElement elements have a non-SVG principal layout box? Can an element generate multiple boxes, with some being CSS and others being SVG?)

And CSS layout boxes are covered in the "Otherwise", since that uses CSS concepts like border/content area.

What about "some equivalent in other styling languages" boxes? To which category do MathML boxes belong?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7735 using your GitHub account


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

Received on Tuesday, 13 September 2022 18:01:14 UTC