TestDeviceLayoutContext deviceContext = new TestDeviceLayoutContext();
context.pushDeviceLayoutContext(deviceContext);
DOMOutputBuffer dom = new DOMOutputBuffer();
dom.initialise();
PaneAttributes attributes = new PaneAttributes();
attributes.setStyles(StylesBuilder.getDeprecatedStyles());
Pane pane = new Pane(new CanvasLayout());
attributes.setPane(pane);
// @todo 2005060816 annotate child with style information if it's not inherited from the parent
dom.openStyledElement("body", attributes);
dom.openElement("table");
dom.openElement("tr");