h.match(table, t, "cellspacing") &&
h.match(table, t, "cellpadding") &&
((width == null) || "100%".equals(width));
if (canOptimize) {
PropertyValues outerProps = null;
PropertyValues innerProps = null;
StyleValue styleWidth = null;
if (t.getStyles() != null) {
outerProps = t.getStyles().getPropertyValues();
}
if (table.getStyles() != null) {
innerProps = table.getStyles().getPropertyValues();
styleWidth = innerProps.getComputedValue(
StylePropertyDetails.WIDTH);
}
canOptimize = canOptimize &&
(innerProps == null || (styleWidth == null ||