Forum Bugs

`overflow-wrap` not working for table cells

randal
Hi Prince Team,

Our application emits user-generated content including tables. These tables have a fixed layout, and we use `overflow-wrap: break-word` to ensure the text fits within the table cell.

It seems like this property is not obeyed in Prince output. It seems to behave as if `overflow-wrap: normal`.

Please see attached repro. I would expect the top table's content to wrap, as it does in the HTML (when viewed in Chrome 146 and Firefox). Instead, the contents bleed out over the rest of the table.

Any idea what's going on here?

Thanks,
Randal
  1. table_wrap_repro.html6.0 kB
    HTML input
  2. table_wrap_repro.pdf13.4 kB
    PDF output

Edited by randal