Re: flexbox issue in firefox

2016-08-07 Thread Amit Zur
wrote: > Firefox's behavior on that testcase matches an older version of the spec > (and then the spec changed). > > This bug... > https://bugzilla.mozilla.org/show_bug.cgi?id=1000957 > ...is filed on bringing us up-to-date on that point. > > ~Daniel > > > On 0

flexbox issue in firefox

2016-08-07 Thread Amit Zur
Hey, Take a look at this fiddle: https://jsfiddle.net/04o1kwfd/1/ The 2 colored panels should be taking the size of their container, and the left one should have a scrollbar. However in firefox they overflow the container. I'm aware of the min-size issue with flex items, but no min-height that I

Re: Flexbox + img aspect ratio

2016-02-01 Thread Amit Zur
x27;, and force the img (now a child of a block) to be > "display:block" itself as well: > https://jsfiddle.net/dfpj6fag/7/ > > ~Daniel > > On 01/28/2016 04:52 AM, Amit Zur wrote: > > I'm seeing an aberration in behaviour of img as a flex-item. > > Not

Flexbox + img aspect ratio

2016-01-28 Thread Amit Zur
I'm seeing an aberration in behaviour of img as a flex-item. Not sure what is the reason, but the img doesn't preserve aspect ratio, as seen in this fiddle: https://jsfiddle.net/dfpj6fag/6/ I saw this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=972595 but I can't understand if it's related

sendKeyEvent doesn't support event.key

2015-10-26 Thread Amit Zur
MDN says keyCode is deprecated and web developers should favor `key` instead. But sendKeyEvent doesn't support key property on the event. I found bug #1214993 but the solution there is a workaround for the home button for TV. Can we expect this to be fixed any time soon?

Re: Array.concat

2015-07-21 Thread Amit Zur
On Tuesday, July 21, 2015 at 4:01:53 PM UTC+3, Till Schneidereit wrote: > On Tue, Jul 21, 2015 at 12:19 PM, Mike de Boer wrote: > > > Hi Amit, > > > > These are called 'Generics' and are available in Firefox as of JavaScript > > 1.6 - see > > https://developer.mozilla.org/en-US/docs/Web/JavaScrip

Array.concat

2015-07-21 Thread Amit Zur
Hi, I've noticed that Array.concat is defined in Firefox (in addition to Array.prototype.concat). I couldn't find any reference for this in MDN. It seems to work as expected, accepting any number of arrays as arguments and concatenating them. But is this a standard method of the Array constructo

Re: Mercurial with bash prompt

2015-06-20 Thread Amit Zur
I like to see the status in my prompt, so I know if my repo is dirty. so I put this into PS1: hg prompt "[{branch}{status}] " 2> /dev/null and the status is killing it. Here's the --profile for {status}: https://pastebin.mozilla.org/8837469 Thanks! On Saturday, June 20, 2015 at 8:09:58 AM UTC+3

Mercurial with bash prompt

2015-06-19 Thread Amit Zur
Does anyone here who works on FF source use some bash prompt variation for mercurial? something like this: http://stevelosh.com/blog/2009/03/mercurial-bash-prompts/ I was wondering what you use since the method in this link is taking a lot of seconds to run on each prompt. Can you share your $P

Flexbox bug with absolutely positioned elements?

2015-04-29 Thread Amit Zur
Hey, See this fiddle: 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? Thanks, Amit ___ dev

Re: Flexbox bug with word-wrap?

2015-02-08 Thread Amit Zur
y don't stop the flex item > from shrinking in step (2) above. Once they do implement it (& catch up > with the spec), you'll see the same behavior from them too. > > Blink bug for that: > https://code.google.com/p/chromium/issues/detail?id=426898 > > (There

Flexbox bug with word-wrap?

2015-02-08 Thread Amit Zur
Hi, See this fiddle: http://jsfiddle.net/eum5bxub/3/ In firefox (version 35) the first box doesn't have wrapped text, but it should. Chrome, Safari & Opera get it right. I'm on Mac OS X 10.10 Did I do anything wrong? Can you verify if this is a bug? Thanks, Amit ___