Html 为什么在Google chrome中重新定义了h:selectManyListbox的属性大小?

Html 为什么在Google chrome中重新定义了h:selectManyListbox的属性大小?,html,jsf,google-chrome,Html,Jsf,Google Chrome,我在使用JSF和Google Chrome时遇到了一些问题 当我的页面加载时,会出现一个错误属性大小重新定义。 我只想在我的列表框中看到5项: <h:selectManyListbox id="usersManyListbox" value="#{pingResultBean.selectedUsers}" size="5" style="width:168px;"> <f:selectItems value="#{pingResultBean.userIte

我在使用JSF和Google Chrome时遇到了一些问题

当我的页面加载时,会出现一个错误属性大小重新定义。 我只想在我的列表框中看到5项:

<h:selectManyListbox id="usersManyListbox" value="#{pingResultBean.selectedUsers}"
 size="5" style="width:168px;">
        <f:selectItems value="#{pingResultBean.userItems}"/>
</h:selectManyListbox>

在其他浏览器中,一切正常

此错误意味着所提到的属性在生成的HTML源中出现了两次。在浏览器中的页面上单击鼠标右键,然后找到由生成的HTML。应该是这样的

<select name="formId:usersManyListbox" multiple="multiple" size="5">
它应该只有一个size属性。如果它确实有两个或更多,那么它很可能是所使用的JSF impl/版本中的一个bug。考虑升级到最新版本或切换到不同的IMPL。

我至少不能在Mojarra 1.2_15和Mojarra 2.1.0上复制这一点