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 |
(...skipping 27 matching lines...) Expand all Loading... |
38 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.noResi
ze = true }); | 38 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.noResi
ze = true }); |
39 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.noResize
= false }); | 39 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.noResize
= false }); |
40 | 40 |
41 log("\nTest disallow then allow frame resize via noresize content attribute
(i.e. increase frame width by " + deltaWidth() + " pixels):"); | 41 log("\nTest disallow then allow frame resize via noresize content attribute
(i.e. increase frame width by " + deltaWidth() + " pixels):"); |
42 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.setAtt
ribute("noresize", "true") }); | 42 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.setAtt
ribute("noresize", "true") }); |
43 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt
ribute("noresize") }); | 43 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt
ribute("noresize") }); |
44 } | 44 } |
45 </script> | 45 </script> |
46 </head> | 46 </head> |
47 <frameset cols="200,*" border="10"> | 47 <frameset cols="200,*" border="10"> |
48 <frame id="testFrame" src="about:blank"> | 48 <frame id="testFrame" name="testFrame" src="about:blank"> |
49 <frame id="results" src="data:text/html,<p id='description'>This test can on
ly be run using DRT.</p><pre id='console'></pre>"> | 49 <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>"> |
50 </frameset> | 50 </frameset> |
51 </html> | 51 </html> |
OLD | NEW |