mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
Bug 425564 colorpicker's "disabled" property has no effect r=Enn a=beltzner
This commit is contained in:
parent
c427eda76f
commit
7baf7d2696
@ -14,7 +14,7 @@
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
|
||||
<colorpicker id="colorpicker-popup" type="button" color="#FF0000"/>
|
||||
<colorpicker id="colorpicker-popup" type="button" color="#FF0000" tabindex="1"/>
|
||||
|
||||
<script class="testbody" type="application/javascript">
|
||||
<![CDATA[
|
||||
@ -28,6 +28,8 @@ function runTests()
|
||||
{
|
||||
gCp = document.getElementById("colorpicker-popup");
|
||||
is(gCp.color, "#FF0000", "popup color is initialized");
|
||||
is(gCp.tabIndex, 1, "button tabindex is initialized");
|
||||
is(gCp.disabled, false, "button is not disabled");
|
||||
|
||||
goNext();
|
||||
}
|
||||
|
@ -409,7 +409,8 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="colorpicker-button" extends="xul:menu">
|
||||
<binding id="colorpicker-button" display="xul:menu"
|
||||
extends="chrome://global/content/bindings/general.xml#basecontrol">
|
||||
<resources>
|
||||
<stylesheet src="chrome://global/skin/colorpicker.css"/>
|
||||
</resources>
|
||||
@ -427,7 +428,7 @@
|
||||
</xul:panel>
|
||||
</content>
|
||||
|
||||
<implementation implements="nsIAccessibleProvider, nsIDOMXULControlElement">
|
||||
<implementation implements="nsIAccessibleProvider">
|
||||
<property name="accessibleType" readonly="true">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
|
Loading…
Reference in New Issue
Block a user