Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| BlockBox | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\HtmlToPdf\Box; |
| 6 | |
| 7 | /** |
| 8 | * A box that participates in a block formatting context — `display: block`, |
| 9 | * `list-item`, the principal box of a block-level replaced element, etc. |
| 10 | * |
| 11 | * Block boxes stack vertically and establish a BFC for their children when |
| 12 | * required (e.g. `overflow: hidden`, floats, abs-pos roots). |
| 13 | */ |
| 14 | final class BlockBox extends Box {} |