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

www.carsensor.net - layout is messed up

Open karlcow opened this issue 11 years ago • 9 comments

URL: http://www.carsensor.net/ Browser / Version: Firefox 39.0 Operating System: Android Problem type: Layout is messed up

Steps to Reproduce

  1. Navigate to: http://www.carsensor.net/
  2. navigate a couple of pages

Expected Behavior: Having everything displayed neatly.

Actual Behavior: A lot of pages have flexbox and css gradient issues. This is not difficult to fix but represent a lot of CSS to change. The issues create on some section strong usability problems.

country: jp

karlcow avatar Apr 17 '15 05:04 karlcow

CarSensor belongs to Recruit. If I'm correct, Jalan is also produced by Recruit. Maybe Mozilla Japan can get in contact with them. @kudodo

karlcow avatar Jun 05 '15 05:06 karlcow

@chikoski knows people in Recruit, he is contacting Recruit with other issue (https://webcompat.com/issues/1006) too. He will ask them about this issue too.

kudodo avatar Jun 05 '15 08:06 kudodo

@karlcow @kudodo I will contact them.

chikoski avatar Jun 05 '15 08:06 chikoski

@karlcow You mentioned that we have a lot of flexbox and gradient issues. I am wondering we can display all issues and their solutions to Recruit. If we can not, it would be hard to persuade them to fix all issues.

chikoski avatar Jun 05 '15 08:06 chikoski

@chikoski sure. Let's dig a bit in the CSS.

  1. First of all it is easy to spot in the CSS themselves that they are not ready for Web Compatibility. Everywhere where there are -webkit- properties only, it probably breaks somewhere else. For example we can see that in the select_car.css CSS.

carsensor

For the flexbox, carsensor is using the outdated webkit syntax. Switching to the new syntax will make their Web site more robust for the future and compatible with more browsers, aka more customers.

Once the StyleSheets are fixed, we get a lot better experience.

capture d ecran 2015-06-08 a 07 41 17

Let me go through a couple of examples in the next comment.

karlcow avatar Jun 07 '15 22:06 karlcow

Note that they can use css fixme (this tool will move to webcompat at a point) to at least understand the CSS modifications.

All the issues are easily fixed through css fix me.

Another tool which is practical for CSS gradients is colorzilla. Specifically the feature import from css that will fix the CSS for gradients.

capture d ecran 2015-06-08 a 07 45 57

Below just a sample of issues. ^_^ There are more, but as I said above, easy to find and fix.

Car select

From the home page when you select a brand, you get this drop down. (screenshots above) Once the CSS has been fixed, it is working.

Top menu

in CS_SPcmm.css about gradients.

  • Before: Missing gradients capture d ecran 2015-06-08 a 07 53 15
  • After: fixed Once it has been fixed for 3 rules:
.CS_siteHeader .CS_backBtn,.CS_siteHeader .CS_siteName,.CS_siteHeader .CS_headNav{
    display:table-cell;
    padding:1px 1px 1px 0;
    vertical-align:top;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    background:-webkit-gradient(linear, left top, left bottom, from(#eee), to(#999))
}

.CS_siteName a,.CS_headNav .MENU,.CS_backBtn a{
    background:-webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(70%, #fff), to(#ccc))
}

.CS_headNav .FAV{
    background:-webkit-gradient(linear, left top, left bottom, from(#9fb7fd), color-stop(0.7, #4972f7), color-stop(0.85, #0534d2), to(#1846df))
}

The top menu becomes usable.

capture d ecran 2015-06-08 a 07 58 11

in CS_SPcmm.css, there are other issues related to flexbox, gradients, and rotate. ALL of them are easy to fix with css fixme.

Select Area

issues with gradients and flexbox in select_area.css

car's page

issues with gradient, flexbox, transition and transform in bknAll.css There is also a syntax error in .sm-mileageBtnBox button:before they use 19x

    -webkit-background-size: 24px 19px;
    background-size: 24px 19x;

instead of

    background-size: 24px 19px;

spballoon.css has also issues. Same. flexbox, gradient… etc. :)

Before: capture d ecran 2015-06-08 a 08 15 30 After: capture d ecran 2015-06-08 a 08 14 50

karlcow avatar Jun 07 '15 23:06 karlcow

@chikoski will it be enough for carsensor to start fixing? If there are precise questions I can help further. What I would recommend.

  1. For all their stylesheets, they should put them through css fixme.
  2. If they are remaining mistakes they have difficulties to fix, ask here for help. We will help with pleasure.

karlcow avatar Jun 07 '15 23:06 karlcow

@chikoski did you communicate the details?

karlcow avatar Jun 18 '15 01:06 karlcow

fixed by layout.css.prefixes.webkit;true

karlcow avatar Feb 02 '16 23:02 karlcow