Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/printing/fragmented-inline-block-002-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>test that inline-blocks are fragmented in print output</title>
<link rel="match" href="fragmented-inline-block-002-print-ref.html">
<style>
.tall {
/* The reference case has a block; we have an inline-block.
Given that there's no other content on our line, we can expect our
inline-block to end up rendering and fragmenting like the
reference case's block. */
display: inline-block;
height: 10in;
width: 1in;
border: 0.5in solid black;
}
</style>
</head>
<body>
<div class="tall"></div>
</body>
</html>