Forum Bugs

Box-decoration-break doesn't effect margin

JohannesHHL
It seams that box-decoration-break doesn't effect margin on block level elements.

This example shows an paragraph inside an text box, where the paragraph spans across two pages. And it's margin gets reapplied to top of the element, even when it has the propertie box-decoration-break: slice;.

But it works fine, when a paragraph has padding to the top. (see second box)

Best regards
Johannes
  1. box-decoration-break-example.pdf35.5 kB
  2. box-decoration-break.zip1.5 kB
    html and css for example
JohannesHHL
Is this getting looked at, and or added to the roadmap?
mikeday
Sorry for the delay! We will take a look.
mikeday
This should be fixed now in the latest build, thanks for letting us know!