Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| AtomicInlineBox | 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's inline-level on the outside but opaque to inline layout — |
| 9 | * `display: inline-block`, replaced elements (`<img>`, `<input>`), |
| 10 | * `<svg>`, etc. |
| 11 | * |
| 12 | * Treated as a single atomic glyph in the parent inline formatting |
| 13 | * context: it takes a known width / height computed from its own |
| 14 | * intrinsic dimensions or CSS sizing, but its internal layout is its |
| 15 | * own affair (typically a BFC). |
| 16 | */ |
| 17 | final class AtomicInlineBox extends Box {} |