otsukare Thoughts after a day of work

Fixing Gmail on Firefox Android

Do you remember, a couple of weeks ago, I explained on how Gmail was broken on Firefox for Android. I was finishing my post with:

Basically it seems that in Blink world the border-width is taking over the border-image-width. This should be verified. Definitely a difference of implementation. I need to check with David Baron.

I was wrong, it's a lot simpler and indeed David helped me find the culprit.👹

Let's take another UI element of gmail exhibiting the same issue: The new email interface. Currently, we get in Firefox Android (without user agent override), the following rendering:

gmail screenshot basic

The send button is barely readable.

A Solid Border

Let's open the Firefox Developer Tools and inspect the content. David told me:

The underlying problem is, I think:

Or, to put it another way, the site should also specify: border-style: solid.

Let's check this by adding border-style: solid to the "send" markup.

Firefox Developer Tools on Gmail

And let's check.

gmail screenshot border

Much much better, we have a thick round corner around the send text. Ah yes it's not finished, but we already did that last week, by adding fill to the -moz-border-image. Let's replace at the same time -moz-border-image to border-image to be future compatible.

Firefox Developer Tools on Gmail

And we get the following rendering:

gmail screenshot border+fill

Next Step?

Sending an email right now after publishing this to Google to fix this and hopefully we can remove the UA override.

Update 2 hours later. Bug filed at Google's bug tracker: b/27707860.

Otsukare!