FF messing things up?

emanuele

  • Posts: 125

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #1, on November 18th, 2013, 10:52 PM »
You forgot the usual OS/browser version, etc...

No such problem for me in Aurora Win 7.
Also works fine in regular Firefox in Ubuntu.

emanuele

  • Posts: 125
Re: FF messing things up?
« Reply #2, on November 18th, 2013, 11:04 PM »
Ohhh...right... O:-)
Gomen. :youretheboss:

FF 25 OpenSuse... TBH I don't even know what's the current FF version, I may be several behind... :-S

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #3, on November 18th, 2013, 11:05 PM »
Hmm, I thought Firefox had the same problem as Chrome, but it turns out it's worse in Firefox, as it screws up the flexbox even when there's a vertical scrollbar on the code block.
I've modified the script accordingly. Still doesn't make sense to me -- and I can't believe that Chrome and Firefox (but not IE :wow:) would fail at such a 'simple' layout as <flexbox><tag with white-space: pre></flexbox>... It's really, really just as simple as that. They suck at flexbox.

emanuele

  • Posts: 125
Re: FF messing things up?
« Reply #4, on November 18th, 2013, 11:59 PM »
Chrome seems to work fine here (I used it to have the confirmation it was not a "major" problem), 31.something... OMG 31? O_O
That's a quite crazy numbering. LOL

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #5, on November 19th, 2013, 09:10 AM »
It only works in Chrome because as there's a *vertical* scrollbar. If there's an *horizontal* scrollbar bar but NO vertical scrollbar, it starts behaving exactly the same as Firefox here, unless you do that: $('.post code').css('flex', 'none'); (This hack is signed yours truly. Of course, don't execute it if there's a vertical scrollbar or no horizontal scrollbar on that element. As a result, the code in Wedge is more complicated than that.)

I still don't know why both browsers fail at that, really. Flexbox is supposed to be the next big thing.
As a reminder, iOS 7 also supports flexbox, and also fails with it, this time with suggested flex widths.

kimikelku

  • Posts: 61
Re: FF messing things up?
« Reply #6, on November 19th, 2013, 07:25 PM »
It happen to me too yesterday when i was checking the topic about the unused globals, part of the "code box" was on top of your signature, but today its working fine, win 7 ff 25.0.1.

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #8, on November 20th, 2013, 05:09 PM »
Interestingly (it's rare enough to mention it :P), the latest Firefox has a new CSS feature that's been in Chrome for eons, only it's buggy in Chrome, and it's not in Firefox -- for that reason, I'm currently implementing it in Firefox, but not so sure for Chrome.

emanuele

  • Posts: 125

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #10, on December 2nd, 2013, 11:45 PM »
Ah, an unrelated bug... Due to the border-box hack, applied recently as suggested over at... Elk ;)
It's working fine most of the time, but will need readjusting here and there, of course.
For instance, remotely the select boxes have faulty paddings right now, but they're fixed locally.

emanuele

  • Posts: 125

forumsearch0r

  • Posts: 118

emanuele

  • Posts: 125

Nao

  • Dadman with a boy
  • Posts: 16,080
Re: FF messing things up?
« Reply #14, on December 8th, 2013, 09:46 AM »
And I dedicate my latest commit to Xarcell... Who's the one actually responsible (--> here.)

I'd love to keep that in, but this morning I realized I had spent way too much time fixing related bugs, and it just upset me to think about it. I don't have time to waste on experiments these days. Only visible improvements, not 'theoretical' ones.