Since Taffy is not capable of handling tables (it wasn't designed for that), we need our own table layouter that can sit alongside Taffy for explicitly deal with the layouting of tables.
I would suggest having a separate component (Lattice), that will be added through the ModuleConfiguration (just like Taffy), where the render pipeline will decide if the content needs Taffy layouting or Lattice layouting. Note that within a table cell, we still can have taffy layouts.
Main initial goal would be to be able to deal with news.ycombinator.com's table layout to render properly..
Note that according to CSS, ANYHING can be a table (display: table), so not sure if we need to support this for now..
Since Taffy is not capable of handling tables (it wasn't designed for that), we need our own table layouter that can sit alongside Taffy for explicitly deal with the layouting of tables.
I would suggest having a separate component (Lattice), that will be added through the ModuleConfiguration (just like Taffy), where the render pipeline will decide if the content needs Taffy layouting or Lattice layouting. Note that within a table cell, we still can have taffy layouts.
Main initial goal would be to be able to deal with news.ycombinator.com's table layout to render properly..
Note that according to CSS, ANYHING can be a table (display: table), so not sure if we need to support this for now..