Re: [svgwg] Should bounding box of svg, image, foreignObject, etc include overflow content?

@nikosandronikos 

That's easy enough to define for `image`, `video`, etc.  I'm already 
borrowing the CSS distinction between the "specified size" 
(x/y/width/height) and the "concrete object size" (the actual 
dimensions used to draw the object). 

It gets messier for HTML (or other) subtrees in a foreignObject.  
There are no generic CSSOM APIs that are equivalent to SVG bounding 
box, counting all children and flattening transformations.

For the `overflow` question: I think it makes sense to treat this as 
an additional form of clipping.  In other words, the `clipped` switch 
should include clipping based on `clip-path`, `clip`, or `overflow`, 
for all elements.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/243#issuecomment-241915436 using 
your GitHub account

Received on Tuesday, 23 August 2016 23:41:19 UTC