W3C home > Mailing lists > Public > www-style@w3.org > July 2012

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 29 Jul 2012 10:48:17 -0700
Message-ID: <CAAWBYDDOT=Qxi6BobMz7xQeiH5ka9tRd6+LDvepSCoMf2fDXWQ@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT