mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Backed out changeset 388dbc366e53 (bug 1586862) for mochitest failures on test_focus_docnav.xul CLOSED TREE
This commit is contained in:
parent
6de755b3b6
commit
73c11d0ebd
@ -48,6 +48,8 @@ class HTMLInputElement;
|
||||
* <input type=email>
|
||||
* <input type=password>
|
||||
* <textarea>
|
||||
* and also XUL controls such as <textbox> which use one of these elements
|
||||
* behind the scenes.
|
||||
*
|
||||
* This class is held as a member of HTMLInputElement and nsHTMLTextAreaElement.
|
||||
* The public functions in this class include the public APIs which content/
|
||||
|
@ -11,11 +11,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=335976
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=335976">Mozilla Bug 335976</a>
|
||||
<p id="display"></p>
|
||||
|
||||
<iframe srcdoc="<html xmlns='http://www.w3.org/1999/xhtml'><body> <input> </body></html>" style="width: 95%; height: 150px;"></iframe>
|
||||
<iframe srcdoc="<html xmlns='http://www.w3.org/1999/xhtml'><body> <textbox xmlns='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'/> </body></html>" style="width: 95%; height: 150px;"></iframe>
|
||||
|
||||
<div id="rootish" style="background: yellow">
|
||||
<div>
|
||||
<input/>
|
||||
<textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=335976
|
||||
|
||||
function lookAtTextboxesIn(root, numExpected)
|
||||
{
|
||||
var textboxes = root.getElementsByTagName("input");
|
||||
var textboxes = root.getElementsByTagName("textbox");
|
||||
var threw;
|
||||
var i;
|
||||
var n;
|
||||
|
@ -6,15 +6,15 @@
|
||||
|
||||
<script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
|
||||
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="textbox1"/>
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="textbox2"/>
|
||||
<textbox id="textbox1"/>
|
||||
<textbox id="textbox2"/>
|
||||
|
||||
<panel id="panel" onpopupshown="runTests(this, 1);"
|
||||
onpopuphidden="noChildrenTest()">
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="p1textbox" value="Popup1"/>
|
||||
<textbox id="p1textbox" value="Popup1"/>
|
||||
</panel>
|
||||
<panel id="panel2" onpopupshown="runTests(this, 2);" onpopuphidden="document.getElementById('panel').hidePopup()">
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="p2textbox" value="Popup2"/>
|
||||
<textbox id="p2textbox" value="Popup2"/>
|
||||
</panel>
|
||||
|
||||
<browser id="browser" type="content" src="focus_frameset.html" width="500" height="400"/>
|
||||
@ -39,12 +39,12 @@ function noChildrenTest()
|
||||
let textbox2 = document.getElementById("textbox2");
|
||||
|
||||
textbox2.focus();
|
||||
next(window, textbox1, "Focus forward when no child documents");
|
||||
next(window, textbox1, "Focus forward again when no child documents");
|
||||
next(window, textbox1.inputField, "Focus forward when no child documents");
|
||||
next(window, textbox1.inputField, "Focus forward again when no child documents");
|
||||
|
||||
textbox2.focus();
|
||||
previous(window, textbox1, "Focus backward when no child documents");
|
||||
previous(window, textbox1, "Focus backward again when no child documents");
|
||||
previous(window, textbox1.inputField, "Focus backward when no child documents");
|
||||
previous(window, textbox1.inputField, "Focus backward again when no child documents");
|
||||
|
||||
done();
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
<groupbox orient="horizontal">
|
||||
<caption label="test description file" />
|
||||
<label value=""/><!-- needed, otherwise groupbox is broken :-( -->
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="config" persist="value" readonly="true"/>
|
||||
<textbox id="config" persist="value" readonly="true"/>
|
||||
<button label="browse..." oncommand="view.browseForConfig();" />
|
||||
</groupbox>
|
||||
<groupbox orient="horizontal">
|
||||
@ -40,7 +40,7 @@
|
||||
</groupbox>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<input xmlns="http://www.w3.org/1999/xhtml" id="currentStatus" readonly="true" flex="1"/>
|
||||
<textbox id="currentStatus" readonly="true" flex="1"/>
|
||||
<progressmeter id="currentProgress" mode="normal" value="0" flex="2"/>
|
||||
<progressmeter id="totalProgress" mode="normal" value="0" flex="2"/>
|
||||
</hbox>
|
||||
|
@ -34,9 +34,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=418216
|
||||
]]></script>
|
||||
|
||||
<box id="container">
|
||||
<box id="item">
|
||||
<textbox id="item">
|
||||
<observes element="broadcaster" attribute="disabled"/>
|
||||
</box>
|
||||
</textbox>
|
||||
</box>
|
||||
|
||||
<broadcasterset>
|
||||
|
Loading…
x
Reference in New Issue
Block a user