OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/frame-programmatic-resize.js"></script> | 4 <script src="resources/frame-programmatic-resize.js"></script> |
5 <script> | 5 <script> |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
8 testRunner.dumpChildFramesAsText(); | 8 testRunner.dumpChildFramesAsText(); |
9 } | 9 } |
10 | 10 |
11 window.onload = runTests; | 11 window.onload = runTests; |
12 | 12 |
13 function runTests() | 13 function runTests() |
14 { | 14 { |
15 if (!window.eventSender) | 15 if (!window.eventSender) |
16 return; // Cannot run this test without DRT. | 16 return; // Cannot run this test without DRT. |
17 | 17 |
18 description("This tests that a frame inherits the noresize attribute of its
parent frameset by default. Note, this behavior doesn't seem to conform to any W
3C spec or MSDN documentation. See WebKit Bug 57604."); | 18 description("This tests that a frame inherits the noresize attribute of its
parent frameset by default. Note, this behavior doesn't seem to conform to any W
3C spec or MSDN documentation. See WebKit Bug 57604."); |
19 setTestFrameById("testFrame"); | 19 setTestFrameById("testFrame"); |
20 shouldDisallowFrameResize(); | 20 shouldDisallowFrameResize(); |
21 } | 21 } |
22 </script> | 22 </script> |
23 </head> | 23 </head> |
24 <frameset cols="200,*" border="10" noresize> | 24 <frameset cols="200,*" border="10" noresize> |
25 <frame id="testFrame" src="about:blank"> | 25 <frame id="testFrame" name="testFrame" src="about:blank"> |
26 <frame id="results" src="data:text/html,<p id='description'>This test can on
ly be run using DRT.</p><pre id='console'></pre>"> | 26 <frame id="results" name="results" src="data:text/html,<p id='description'>T
his test can only be run using DRT.</p><pre id='console'></pre>"> |
27 </frameset> | 27 </frameset> |
28 </html> | 28 </html> |
OLD | NEW |