www.ntv.co.jp - layout is broken by old flexbox CSS syntax
URL: http://www.ntv.co.jp/sphone Browser / Version: Firefox 39.0 Operating System: Android Problem type: Layout is messed up
Steps to Reproduce
- Navigate to: http://www.ntv.co.jp/sphone
Expected Behavior: site displaying as for other browsers on mobile
Actual Behavior: The layout is messy because of the usage of old outdated WebKit CSS for flexbox and gradients. This can be easily fixed with: http://hallvord.com/temp/moz/cssfixme.php
Example in the footer.
/* global_footer
**********************************/
.footer_navigation01,.footer_navigation02,.footer_navigation03{
display: box;
display: -webkit-box;
display: -moz-box;
-webkit-flex-wrap:wrap;
-moz-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-flex-direction:row;
-moz-flex-direction:row;
flex-direction:row
}
.footer_navigation01 li,.footer_navigation02 li,.footer_navigation03 li{
text-align:center;
width:33%;
box-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
border-top:1px solid #828282;
border-bottom:1px solid #828282;
margin-bottom:-1px;
}
.footer_navigation02 li,.footer_navigation03 li{box-align:center;-moz-box-align:center;-webkit-box-align:center;}
OR for example gradients on button.
.top_contents .more_btn{
background: linear-gradient(top, #fdfdfd 0%,#e0e0e0 100%);
background: -webkit-linear-gradient(top, #fdfdfd 0%,#e0e0e0 100%);
background:-webkit-gradient(linear, left top, left bottom, color-stop(1%,#fdfdfd), color-stop(100%,#e0e0e0));
background: -moz-gradient(top, #fdfdfd 0%,#e0e0e0 100%);
border-radius: 30px;
border:1px solid #CCC;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
padding:10px;
text-align:center;
display:block;
margin:20px auto;
width:50%;
font-weight:700;
color:#f18d00!important;
font-size:1.5rem;
}
Note there was an intent to make it right but the values are wrong. To fix it is easy with:
background: linear-gradient(to bottom, #fdfdfd 0%,#e0e0e0 100%);
country: jp
Firefox Aurora

Firefox unprefixed build

Mozilla Japan has contact, will contact them.
@kudodo have they been contacted?
I've sent a message via https://www.ntv.co.jp/staff/goiken/form.html. Waiting for response now.
Thanks! :custard:
fixed by layout.css.prefixes.webkit;true
