Forum How do I...?

Is the clearfix hack not supported in Prince?

abaker87
<div style="overflow: auto; border: 1px solid red;">
  <div style="display: inline-block; float: left; border: 1px solid blue;">One</div>
  <div style="display: inline-block; float: left; border: 1px solid blue;">Two</div>
</div>


In prince, the red border doesn't wrap the blue inline-block.
  1. Screen Shot 2015-09-28 at 3.43.52 PM.png316.0 kB
    correct css behaviour
  2. out.pdf12.0 kB
    incorrect clearfix
mikeday
I guess not!