no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / base / tests / test_accessiblecaret_magnifier.html
blob2ac97cccc504d4cba35d192e32f59ab2df87019e
1 <!DOCTYPE html>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1639087
5 -->
6 <head>
7 <title>Test for magnifier event</title>
8 <script src="/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10 <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1639087">Mozilla Bug 1639087</a>
14 <p id="display">
15 <div id="container" style="width: 600px; height: 500px;"></div>
16 </p>
17 <script>
18 SimpleTest.waitForExplicitFinish();
19 SpecialPowers.pushPrefEnv({
20 "set": [
21 ["layout.accessiblecaret.enabled", true],
22 ["layout.accessiblecaret.magnifier.enabled", true]
24 }, () => {
25 let iframe = document.createElement("iframe");
26 iframe.src = "accessiblecaret_magnifier.html";
27 iframe.style.width = "100%";
28 iframe.style.height = "100%";
29 document.getElementById('container').appendChild(iframe);
30 });
31 </script>
32 </body>
33 </html>