parseTableDefinitionElement function
Implementation
TableStyleElement parseTableDefinitionElement(
dom.Element element,
List<StyledElement> children,
) {
switch (element.localName) {
case "colgroup":
case "col":
return TableStyleElement(
name: element.localName!,
children: children,
node: element,
style: Style(),
);
default:
return TableStyleElement(
name: "[[No Name]]",
children: children,
node: element,
style: Style(),
);
}
}