Closed GoogleCodeExporter closed 9 years ago
Original comment by gael.laz...@gmail.com
on 19 Jul 2011 at 5:09
A new GwtDomUtils class is now available (0.31-SNAPSHOT). The following tests
are working :
public class GwtDomUtilsTest extends GwtTestTest {
@Test
public void setClientHeight() {
// Arrange
Element e = Document.get().createAnchorElement();
// Act
GwtDomUtils.setClientHeight(e, 4);
// Assert
Assert.assertEquals(4, e.getClientHeight());
}
@Test
public void setClientWidth() {
// Arrange
Element e = Document.get().createAnchorElement();
// Act
GwtDomUtils.setClientWidth(e, 4);
// Assert
Assert.assertEquals(4, e.getClientWidth());
}
}
Original comment by gael.laz...@gmail.com
on 19 Jul 2011 at 5:45
Original issue reported on code.google.com by
gael.laz...@gmail.com
on 18 Jul 2011 at 9:16