为什么Chrome会使用role =“textbox”属性来获取?

时间:2014-07-28 08:32:06

标签: html5 google-chrome role

Chrome与role =“textbox”属性崩溃,而同一层次结构中的两个分区显示为:inline-block。

Test
<div id="single-input" style="width: 200px; height: 25px; display: inline-block;" role="textbox">
  <input id="textInput"/>
  <div id="btn">
     <div style="width:18px;height:18px"></div>
  </div>
</div>
<div style="display:inline-block;"></div>

<button id="button">Click</button>

以下是样本。

http://jsfiddle.net/3a3Rh/

当IE和FF工作正常时,Opera也会崩溃。

我猜这是与铬有关的错误。

请让我知道究竟是什么原因导致铬冻结。

感谢。

0 个答案:

没有答案