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

I just ran the test on the latest version of IE10 Preview and it does render the positioned elements on drag (tested: position: relative, absolute, fixed and nested). The latest preview available on Windows 7 didn’t, however. 

Based on the size of the drag’s preview, it seems that positonned elements are not taken in consideration when calculating the bounding box of the selection, as expected. 

However, the behavior of 3D transforms is not fully consistent. They are rendered on all non-positionned elements, but are not rendered by default on positionned elements; however they are if the element has a non-positionned ancestror or sibling which has a 2D or 3D transform applied to it, but this could have been fixed since then.

All in all, this seems pretty consistent with the specced behavior. 


From: Robert O'Callahan 
Sent: Tuesday, July 31, 2012 4:17 AM
To: Tab Atkins Jr. 
Cc: Simon Fraser ; Andrew Fedoniouk ; www-style@w3.org 
Subject: Re: [css4-images] element() and non-static children
On Tue, Jul 31, 2012 at 12:25 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

  On Mon, Jul 30, 2012 at 5:21 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
  > In Gecko we already had all this implemented for some other niche use-cases,
  > such as drawing the thumbnail image for dragged content.


  Do you draw things like positioned children whose positioning root is
  an ancestor of the drawn element?


Yes. So do Chrome and Opera, it seems.
http://people.mozilla.org/~roc/test_drag_with_absolute_positioning.html

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 Tuesday, 31 July 2012 08:31:49 UTC