| 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 | |
|---|