2 <?xml-stylesheet href=
"chrome://global/skin" type=
"text/css"?>
3 <?xml-stylesheet href=
"chrome://mochikit/content/tests/SimpleTest/test.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">
18 <script class=
"testbody" type=
"application/javascript">
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
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);