Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: chrome_frame/test/data/chrome_frame_resize.html

Issue 8777002: Chrome Frame test fixes for Vista/IE7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- saved from url=(0014)about:internet --> 1 <!-- saved from url=(0014)about:internet -->
2 <!-- Please preserve the CR/LF at the end of the previous line. --> 2 <!-- Please preserve the CR/LF at the end of the previous line. -->
3 <html> 3 <html>
4 <!-- This page is meant to load inside the host browser like IE/FF --> 4 <!-- This page is meant to load inside the host browser like IE/FF -->
5 <head> 5 <head>
6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> 6 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 function onLoad() { 8 function onLoad() {
9 var chromeFrame = GetChromeFrame(); 9 var chromeFrame = GetChromeFrame();
10 chromeFrame.onmessage = OnChromeFrameResize; 10 chromeFrame.onmessage = OnChromeFrameResize;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 </head> 110 </head>
111 111
112 <body onload="onLoad();"> 112 <body onload="onLoad();">
113 <div id="description" style="border: 2px solid black; width: 100%"> 113 <div id="description" style="border: 2px solid black; width: 100%">
114 Test for resizing the chrome frame control. 114 Test for resizing the chrome frame control.
115 </div> 115 </div>
116 <div id="statusPanel" style="border: 1px solid red; width: 100%"> 116 <div id="statusPanel" style="border: 1px solid red; width: 100%">
117 Test running.... 117 Test running....
118 </div> 118 </div>
119 119
120 <object id="ChromeFrame" codebase="http://www.google.com" 120 <span id="ChromeFrameSpan"></span>
121 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A" 121 <script type="text/javascript">
122 style="border: 1px solid blue"> 122 insertControl("ChromeFrameSpan",
123 <param name="onload" value="return OnNavigationSucceeded();" /> 123 '<object id="ChromeFrame" codebase="http://www.google.com"' +
124 <embed id="ChromeFramePlugin" name="ChromeFrame" 124 ' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"' +
125 onload="return OnNavigationSucceeded();" 125 ' style="border: 1px solid blue">' +
126 type="application/chromeframe" 126 ' <param name="onload" value="return OnNavigationSucceeded();" />' +
127 style="border: 1px solid green"> 127 ' <embed id="ChromeFramePlugin" name="ChromeFrame"' +
128 </embed> 128 ' onload="return OnNavigationSucceeded();"' +
129 </object> 129 ' type="application/chromeframe"' +
130 ' style="border: 1px solid green">' +
131 ' </embed>' +
132 '</object>');
133 </script>
130 <br /> 134 <br />
131 <br /> 135 <br />
132 136
133 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button> 137 <button onclick="javascript:DebugResizeChromeFrame(20);">Bigger</button>
134 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button> 138 <button onclick="javascript:DebugResizeChromeFrame(-20);">Smaller</button>
135 139
136 </body> 140 </body>
137 </html> 141 </html>
138 142
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698