On 04/29/2015 03:06 AM, Amit Zur wrote:
> http://jsfiddle.net/2ccvwjmr/1/
> Seems like DOM order has influence on the absolutely positioned element. I 
> don't think it's a desired behaviour.
> Did I do anything wrong? Can you verify if this is a bug? 

It's correct according to an older version of the spec; it's incorrect
according to the current spec.  (The spec language on abspos children of
flex containers was one of the last sections to stabilize.)

So, yup, it's a bug, specifically this one:
  https://bugzilla.mozilla.org/show_bug.cgi?id=874718
and I'm hoping to fix it in Q2 or Q3 of this year.

For now, I'd suggest avoiding depending on any exact behavior for abspos
flex items, because each rendering engine does something a bit different
(based on implementing different spec snapshots). (I've been told
IE.next, "Spartan", implements the currently specced behavior, and
Chrome will be updating to the current spec soonish; they currently
implement some intermediate spec-language on this.)

~Daniel
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to