Bug 1884032 [wpt PR 44942] - [css-color] add missing colorscheme-aware tests, a=testonly
[gecko.git] / widget / tests / test_composition_text_querycontent.xhtml
blob48b7af8100c41778f41aee49c5f6dfd868497273
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
4 type="text/css"?>
5 <window title="Testing composition, text and query content events"
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
10 <body xmlns="http://www.w3.org/1999/xhtml">
11 <div id="content" style="display: none">
13 </div>
14 <pre id="test">
15 </pre>
16 </body>
18 <script class="testbody" type="application/javascript">
19 <![CDATA[
21 // 3 assertions are: If setting selection with eSetSelection event whose range
22 // is larger than the actual range, hits "Can only call this on frames that have
23 // been reflowed:
24 // '!(GetStateBits() & NS_FRAME_FIRST_REFLOW) || (GetParent()->GetStateBits() &
25 // NS_FRAME_TOO_DEEP_IN_FRAME_TREE)'" in nsTextFrame.cpp.
26 // Strangely, this doesn't occur with RDP on Windows.
27 SimpleTest.expectAssertions(0, 3);
28 SimpleTest.waitForExplicitFinish();
29 window.openDialog("window_composition_text_querycontent.xhtml", "_blank",
30 "chrome,width=600,height=600,noopener", window);
32 ]]>
33 </script>
34 </window>