@PatchMethod static void deleteTHead(TableElement e) { TableSectionElement thead = JavaScriptObjects.getObject(e, THEAD); if (thead != null) { JavaScriptObjects.remove(e, THEAD); e.removeChild(thead); } }
@PatchMethod static void deleteCaption(TableElement e) { TableCaptionElement caption = JavaScriptObjects.getObject(e, TCAPTION); if (caption != null) { JavaScriptObjects.remove(e, TCAPTION); e.removeChild(caption); } }
@PatchMethod static void deleteTFoot(TableElement e) { TableSectionElement tfoot = JavaScriptObjects.getObject(e, TFOOT); if (tfoot != null) { JavaScriptObjects.remove(e, TFOOT); e.removeChild(tfoot); } }