email/transformations/transformemailcolumnwidthstocells
module
Constants
module:email/transformations/transformemailcolumnwidthstocells~transformEmailColumnWidthsToCellsCopies per-column widths from a
<colgroup>'s<col>children onto every matching<td>/<th>cell as awidthHTML attribute. Outlook (Microsoft Word rendering engine) and other email clients ignore<colgroup>/<col>widths, so widths must be duplicated on the cells themselves.Skipped (transformer is a no-op on the entire table) when:
- The table has no
<colgroup>direct child, or no<col>carries a width. - Any
<col>hasspan> 1, or any cell hascolspan/rowspan> 1 (simple tables only). - Any cell already has a
widthattribute orwidth:style — preserves user-configured layout.
- The table has no