forked from mirrors/gecko-dev
Bug 1830122 - Fix HTML format issues in widget. r=spohl
Depends on D176557 Differential Revision: https://phabricator.services.mozilla.com/D176558
This commit is contained in:
parent
25f19a49cc
commit
5dc1a6a7ce
4 changed files with 5 additions and 4 deletions
|
|
@ -36,7 +36,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class=testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
add_task(async function setup() {
|
add_task(async function setup() {
|
||||||
await new Promise(r => SimpleTest.waitForFocus(r));
|
await new Promise(r => SimpleTest.waitForFocus(r));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class=testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
SimpleTest.waitForFocus(async () => {
|
SimpleTest.waitForFocus(async () => {
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
<script src="file_ime_state_test_helper.js"></script>
|
<script src="file_ime_state_test_helper.js"></script>
|
||||||
<script src="file_test_ime_state_in_text_control_on_reframe.js"></script>
|
<script src="file_test_ime_state_in_text_control_on_reframe.js"></script>
|
||||||
<link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css">
|
<link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css">
|
||||||
|
</head>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
</panel>
|
</panel>
|
||||||
|
|
||||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<p id="display">
|
<div id="display">
|
||||||
<div id="div" style="margin: 0; padding: 0; font-size: 36px;">Here is a text frame.</div>
|
<div id="div" style="margin: 0; padding: 0; font-size: 36px;">Here is a text frame.</div>
|
||||||
<textarea style="margin: 0; font-family: -moz-fixed;" id="textarea" cols="20" rows="4"></textarea><br/>
|
<textarea style="margin: 0; font-family: -moz-fixed;" id="textarea" cols="20" rows="4"></textarea><br/>
|
||||||
<iframe id="iframe" width="300" height="150"
|
<iframe id="iframe" width="300" height="150"
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
src="data:text/html,<span contenteditable id='contenteditable'></span>"></iframe><br/>
|
src="data:text/html,<span contenteditable id='contenteditable'></span>"></iframe><br/>
|
||||||
<input id="input" type="text"/><br/>
|
<input id="input" type="text"/><br/>
|
||||||
<input id="password" type="password"/><br/>
|
<input id="password" type="password"/><br/>
|
||||||
</p>
|
</div>
|
||||||
<div id="content" style="display: none">
|
<div id="content" style="display: none">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue