W3C home > Mailing lists > Public > www-style@w3.org > April 2016

[css-flexbox] position: absolute and row-reverse

From: Christian Biesinger <cbiesinger@google.com>
Date: Fri, 22 Apr 2016 19:34:09 -0400
Message-ID: <CAPTJ0XFzWCcuTUVj0HzDUvbpeqB4GEUB3TtNY_5eaPw9niKHuQ@mail.gmail.com>
To: www-style list <www-style@w3.org>, Greg Whitworth <gwhit@microsoft.com>
Consider this testcase:
http://jsbin.com/coqelubemo/edit?html,output

Edge positions the green box in the topleft corner. But, shouldn't it
be the topright per the spec due to row-reverse?

https://drafts.csswg.org/css-flexbox/#abspos-items
"The static position of an absolutely-positioned child of a flex
container is determined such that the child is positioned as if it
were the sole flex item in the flex container"

Which would put it in the topright...

(This is coming up because I'm implementing this right now in Blink)

-Christian
Received on Friday, 22 April 2016 23:35:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:38 UTC