We have found that ListGrids do not appear correctly under Google Chrome and Internet Explorer 8 (in IE8 mode) when specifying a standard doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
This seems to affect other WebKit based browsers as well.
Whilst the ListGrids look fine in Quirks mode we cannot use this as the rest of our site requires standards mode. When using the standard doctype (above) the table headings don’t line-up with the columns in IE8 and Chrome, and the headings row background images are not shown in IE8 (see the attached screenshots of a very simple table under different browsers in standards mode). On these screenshots the issue is small but certainly visible; in our code this is exacerbated as we use larger, more complex, tables (maybe also because we use our own style for the cells, in particular more left padding).
Are there any plans to improve compatibility with the latest browsers and standard doctypes?
Thanks,
Andrew
The source code used is:
VLayout container = new VLayout();
container.setWidth(500);
ListGrid grid = new ListGrid();
ListGridField test1 = new ListGridField("test1", "test1", 40);
ListGridField test2 = new ListGridField("test2", "test2");
ListGridField test3 = new ListGridField("test3", "test3", 40);
grid.setFields(new ListGridField[]{test1, test2, test3});
ListGridRecord record1 = new ListGridRecord();
record1.setAttribute("test1", 11);
record1.setAttribute("test2", 12);
record1.setAttribute("test3", 13);
ListGridRecord record2 = new ListGridRecord();
record2.setAttribute("test1", 21);
record2.setAttribute("test2", 22);
record2.setAttribute("test3", 23);
ListGridRecord record3 = new ListGridRecord();
record3.setAttribute("test1", 31);
record3.setAttribute("test2", 32);
record3.setAttribute("test3", 33);
grid.setData(new ListGridRecord[]{record1, record2, record3});
container.setAlign(Alignment.CENTER);
container.addMember(grid);



