3

iPhone on iOS 7 with it's lovely translucency everywhere is wonderful.

Except in chrome when you have a select element near the bottom of the page. The options spinner has no content to be transparent over and so is transparent over black.

I've made a simplified case http://jsfiddle.net/bXMkb/6/

   <div class="push"></div>
   <select ...

   html, body { height: 100%; background:orange; }  
   .push { height:90%; }

enter image description here

Safari uses white rather than black and that works nicely, so clearly it's changeable at the native level, does anyone know of a way to set the background colour of the outside of the document? possibly with a meta tag.

4

1 回答 1

0

不幸的是,这很可能是 Chrome for iOS 的实现。在这种情况下,微调器控件是本机 UI 的一部分。这意味着它遵循 UIView 的 tint 属性。

据我所知,Chrome 不存在会改变色调行为的元标记。

于 2014-01-16T23:46:06.227 回答