module uim.html.elements.table; import uim.html; class DH5Table : DH5Obj { mixin(H5This!"table"); mixin(MyContent!("header", "H5Thead")); unittest { assert(Assert(H5Table.header, "<table><thead></thead></table>")); } mixin(MyContent!("body_", "H5Tbody")); unittest { assert(Assert(H5Table.body_, "<table><tbody></tbody></table>")); } mixin(MyContent!("footer", "H5Tfoot")); unittest { assert(Assert(H5Table.footer, "<table><tfoot></tfoot></table>")); } mixin(MyContent!("tr", "H5Tr")); unittest { assert(Assert(H5Table.tr, "<table><tr></tr></table>")); } mixin(MyContent!("row", "H5Tr")); unittest { assert(Assert(H5Table.row, "<table><tr></tr></table>")); } mixin(MyContent!("colgroup", "H5Colgroup")); unittest { assert(Assert(H5Table.colgroup, "<table><colgroup></colgroup></table>")); } mixin(MyContent!("caption", "H5Caption")); unittest { assert(Assert(H5Table.caption, "<table><caption></caption></table>")); } } mixin(H5Short!"Table"); unittest { assert(Assert(H5Table, "<table></table>")); }