- "<div style='overflow: scroll; height: 450px; width: 800px;'>" +
- "<a name='TOP'></a><div id='graph'></div>" +
+ "<div id='scroller' style='overflow: scroll; height: 450px; width: 800px;'>" +
+ "<div id='graph'></div>" +
"<div style='height:100px; background-color:green;'>" + LOREM_IPSUM + " </div>" +
"<div style='height:100px; background-color:red;'>" + LOREM_IPSUM + "</div>" +
"<div style='height:100px; background-color:green;'>" + LOREM_IPSUM + " </div>" +
"<div style='height:100px; background-color:red;'>" + LOREM_IPSUM + "</div>" +
* This tests that when the nested div is scrolled, things work normally.
*/
ScrollingDivTestCase.prototype.testScrolledDiv = function() {
* This tests that when the nested div is scrolled, things work normally.
*/
ScrollingDivTestCase.prototype.testScrolledDiv = function() {
assertEquals(40, this.point.xval);
assertEquals(4, this.point.yval);
};
assertEquals(40, this.point.xval);
assertEquals(4, this.point.yval);
};