web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

mobile.gnavi.co.jp - alignment of icons incorrect due to old CSS code

Open karlcow opened this issue 11 years ago • 13 comments

URL: http://mobile.gnavi.co.jp/iphone Browser / Version: Firefox 39.0 Operating System: Android Problem type: Layout is messed up

Steps to Reproduce

  1. Navigate to: http://mobile.gnavi.co.jp/iphone
  2. scroll into the page

Expected Behavior: Boxes properly aligned

Actual Behavior: Some boxes are not aligned the same way than in Chrome. The reason is the use of outdated CSS Flexbox.

country: jp

karlcow avatar Apr 20 '15 06:04 karlcow

.top_toggle .list>div 

needs display:flex

.top_toggle .list > div > div:nth-child(1) 

needs order:2

hallvors avatar Apr 21 '15 12:04 hallvors

Firefox Aurora

gnavi-aurora

Firefox Unprefixed

gnavi-unprefixed

karlcow avatar Apr 22 '15 06:04 karlcow

On LinkedIn to find contacts we need to look at Gourmet Navigator Inc or ぐるなび

I see that many devs are integrating their apps with gnavi. So There is a gnavi service for devs. That could be a way to have a better contact.

Btw, the English version of the site exists (as a couple of other languages).

They also seem to be active on twitter but not sure they are interacting with comments. And they have a form for asking questions

@keitaroemotion 英語を話されますか. we are looking for someone at Gurunavi who could help us fixing issues on the Web site. Maybe @kudodo can help with communication.

karlcow avatar May 13 '15 08:05 karlcow

SeeAlso https://bugzilla.mozilla.org/show_bug.cgi?id=1013080

karlcow avatar May 15 '15 09:05 karlcow

Sent an email to @keitaroemotion explaining we were looking for a contact for this issue.

karlcow avatar May 18 '15 11:05 karlcow

We got an answer by email asking for more details. I explained a bit more. These are the details for fixing the issue.

Right now, in top.css stylesheets, there is

.top_toggle .list>div{
    padding:10px;
    min-height:44px;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    display:-webkit-box;
    display:box;
    -webkit-box-align:center;
    box-align:center
}

.top_toggle .list>div>div:nth-child(1){
    -webkit-box-ordinal-group:2;
    box-ordinal-group:2;
    -webkit-box-flex:1;
    box-flex:1
}

.top_toggle .list>div>div:nth-child(2){
    text-align:left;
    padding-right:10px;
    -webkit-box-ordinal-group:1;
    box-ordinal-group:1
}

It can be fixed with the following rules:


.top_toggle .list>div{
    padding: 10px;
    min-height: 44px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: box;
    -webkit-box-align: center;
    box-align: center;
    display: flex;
    align-items: center;
}

.top_toggle .list>div>div:nth-child(1){
    -webkit-box-ordinal-group: 2;
    box-ordinal-group: 2;
    -webkit-box-flex: 1;
    box-flex: 1;
    order: 2;
    flex: 1 auto;
}

.top_toggle .list>div>div:nth-child(2){
    text-align: left;
    padding-right: 10px;
    -webkit-box-ordinal-group: 1;
    box-ordinal-group: 1;
    order: 1;
}

karlcow avatar May 19 '15 08:05 karlcow

Oh! Thanks a lot to @keitaroemotion for helping us reaching out the right persons. With Love From Mozilla.

The list of menus seems to be fixed.

karlcow avatar May 26 '15 06:05 karlcow

Hmm reopening this issue. I thought it was solved but it's not.

karlcow avatar May 28 '15 04:05 karlcow

I was trying to get a sense of all the flexbox properties and their frequency.

→ grep -ih webkit *.css | sort | uniq -c | sort -nr | head -20

  49 display:-webkit-box;
  45 -webkit-box-sizing:border-box;
  42 -webkit-box-align:center;
  40 -webkit-box-flex:1;
  14 -webkit-box-ordinal-group:2;
  14 -webkit-box-ordinal-group:1;
   9 -webkit-box-ordinal-group:3;
   8 -webkit-box-pack:center;
   6 -webkit-appearance:none;
   3 -webkit-transition:all 0.2s ease-out}
   2 background-image:-webkit-linear-gradient(top, #ffffff 20%,#e7e5e0 100%);
   2 background-image:-webkit-linear-gradient(top, #fefefe 0%,#f1f1f1 100%);
   2 background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(100%, #e7e5e0));
   2 background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fefefe), color-stop(100%, #f1f1f1));
   2 -webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2) inset;
   2 -webkit-box-shadow:0 0 3px 1px rgba(0,0,0,0.1);
   2 -webkit-border-top-right-radius:5px;
   2 -webkit-border-top-left-radius:5px;
   2 -webkit-border-bottom-right-radius:5px;
   2 -webkit-border-bottom-left-radius:5px;

karlcow avatar May 28 '15 05:05 karlcow

@karlcow, Is your contact working? If not, Mozilla Japan staff knows someone in the company, she will try to find a person.

kudodo avatar Jun 05 '15 09:06 kudodo

@kudodo so far it is not fixed. And I didn't receive any mails from the people in charge of the mobile site of gurunavi. I had communications only with @keitaroemotion

If we have other contacts, let's try again.

karlcow avatar Jun 07 '15 21:06 karlcow

@kudodo any progress on contacts?

karlcow avatar Jun 18 '15 01:06 karlcow

fixed by layout.css.prefixes.webkit;true

karlcow avatar Feb 02 '16 23:02 karlcow