Re: [css4-images] element() and non-static children

On Sun, Jul 29, 2012 at 10:21 AM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> What if the element used as a source for the element() function
> contain position:absolute|relative children?
>
> Will such children be rendered at all?
>
> If "yes" then will its "decorated bounding box" be extended to
> include all positioned or floated children?

The spec already defines this.  Yes, they're rendered (they're
children, and nothing says they don't).  No, they don't have any
effect on the decorated bounding box (it's defined as the smallest
axis-aligned rectangle containing all the border-image areas of the
fragments of the principal box).  However, if a box is split into
fragments, and an abspos child is outside the fragment but inside the
bounding box, it'll be rendered.

~TJ

Received on Sunday, 29 July 2012 17:49:04 UTC