Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| LineBreakBox | 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 | * Sentinel inline box marking an HTML `<br>` element — a mandatory line |
| 9 | * break inside the inline formatting context. Carries no width and no |
| 10 | * children; the inline layout reads it as a hard break that survives |
| 11 | * `white-space: normal`'s collapsing rules. |
| 12 | */ |
| 13 | final class LineBreakBox extends Box {} |