Forum Feature requests

display: contents

esef
Hello,

prince does not support `display: contents`

In the example below the section element will NOT mess up the grid.
Its just as if it would not exist.
(But you still can use it in a CSS selector, so the divs are red here)

We need this to structure our document without messing up grids.
With the support of `grid`, I think `contents` is required.

Is there a workaround?

<style>
  section > div {background: red}
</style>
<div class="grid grid-cols-3 gap-2 m-4">
  <section class="contents">
    <div>11</div>
    <div>12</div>
    <div>13</div>
    <div>21</div>
    <div>22</div>
    <div>23</div>
  </section>
</div>