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

Re: [css4-images] element() behavior

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 3 Aug 2012 15:02:40 +1200
Message-ID: <CAOp6jLaa=DrFBnorsGg-ZzDtZByF_7tMKircw=rCeRVZ-REtZA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Simon Fraser <smfr@me.com>, Rik Cabanier <cabanier@gmail.com>, www-style list <www-style@w3.org>
On Fri, Aug 3, 2012 at 5:00 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> We were also wondering if we should take this farther, and actually
> require the element to be a stacking context in reality, as it might
> let us reuse existing rendering more often.
>

That would definitely help implementations. However, it might be rather
confusing for authors, and potentially even quite limiting. So I'm not in
favour of it.

Having implementations treat the target element as if it is a stacking
context when rendering it for element() is simple for authors and I think
it can be implemented well enough.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Friday, 3 August 2012 03:03:10 GMT

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