Changeset 1784
- Timestamp:
- 11/08/06 14:03:30 (2 years ago)
- Files:
-
- branches/openlayers/2.2/tests/test_Layer_EventPane.html (modified) (1 diff)
- branches/openlayers/2.2/tests/test_Popup.html (modified) (2 diffs)
- branches/openlayers/2.2/tests/test_Tile_Image.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.2/tests/test_Layer_EventPane.html
r1695 r1784 109 109 </head> 110 110 <body> 111 <div id="map" ></div>111 <div id="map" style="height:500px;width:500px"></div> 112 112 </body> 113 113 </html> branches/openlayers/2.2/tests/test_Popup.html
r1695 r1784 53 53 function test_03_Popup_draw(t) { 54 54 55 t.plan( 1 1);55 t.plan( 17 ); 56 56 57 57 var id = "chicken"; … … 79 79 t.eq(popup.div.style.width, w + "px", "width position of popup.div set correctly"); 80 80 t.eq(popup.div.style.height, h + "px", "heightposition of popup.div set correctly"); 81 t.eq(popup.div.innerHTML, '<div class="olPopupContent" style="overflow: hidden; width: 200px; height: 200px; position: relative;" id="chicken_contentDiv">charlie</div>', "good default popup.contentHTML"); 81 82 var contentDiv = popup.div.childNodes[0]; 83 84 t.eq(contentDiv.className, "olPopupContent", "correct content div className"); 85 t.eq(contentDiv.id, "chicken_contentDiv", "correct content div id"); 86 t.eq(contentDiv.style.width, "200px", "correct content div width"); 87 t.eq(contentDiv.style.height, "200px", "correct content div height"); 88 t.eq(contentDiv.style.position, "relative", "correct content div position"); 89 t.eq(contentDiv.style.overflow, "hidden", "correct content div overflow"); 90 t.eq(contentDiv.innerHTML, content, "correct content div content"); 91 82 92 t.eq(popup.div.style.backgroundColor, color, "good default popup.backgroundColor"); 83 93 branches/openlayers/2.2/tests/test_Tile_Image.html
r1695 r1784 128 128 </head> 129 129 <body> 130 <div id="map" ></div>130 <div id="map" style="height:500px;width:500px"></div> 131 131 </body> 132 132 </html>
