!h.tableContains(table, getFactory(), "onevent", false) &&
!h.tableContains(t, getFactory(), "onevent", false) &&
!h.tableHasId(table, getFactory(), false);
if (canOptimize) {
PropertyValues outerCellProps = null;
PropertyValues tableProps = null;
StyleValue outerCellWidth = null;
StyleValue outerCellHeight = null;
StyleValue tableWidth = null;
StyleValue tableHeight = null;
if (c.getStyles() != null) {
outerCellProps = c.getStyles().getPropertyValues();
outerCellWidth = outerCellProps.getComputedValue(
StylePropertyDetails.WIDTH);
outerCellHeight = outerCellProps.getComputedValue(
StylePropertyDetails.HEIGHT);
}
if (table.getStyles() != null) {
tableProps = table.getStyles().getPropertyValues();
tableWidth = tableProps.getComputedValue(
StylePropertyDetails.WIDTH);
tableHeight = tableProps.getComputedValue(
StylePropertyDetails.HEIGHT);
}
canOptimize = canOptimize &&
(tableProps == null ||