www.carsensor.net - layout is messed up
URL: http://www.carsensor.net/ Browser / Version: Firefox 39.0 Operating System: Android Problem type: Layout is messed up
Steps to Reproduce
- Navigate to: http://www.carsensor.net/
- 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
CarSensor belongs to Recruit. If I'm correct, Jalan is also produced by Recruit. Maybe Mozilla Japan can get in contact with them. @kudodo
@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.
@karlcow @kudodo I will contact them.
@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 sure. Let's dig a bit in the CSS.
- 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 theselect_car.cssCSS.

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.

Let me go through a couple of examples in the next comment.
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.

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

- 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.

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:
After:

@chikoski will it be enough for carsensor to start fixing? If there are precise questions I can help further. What I would recommend.
- For all their stylesheets, they should put them through css fixme.
- If they are remaining mistakes they have difficulties to fix, ask here for help. We will help with pleasure.
@chikoski did you communicate the details?
fixed by layout.css.prefixes.webkit;true