Files
servo/tests/wpt/css-tests/css-flexbox-1_dev/html/flexbox_interactive_break-natural.htm

35 lines
647 B
HTML

<!DOCTYPE html>
<html><head><title>flexbox | natural breaks</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#pagination" rel="help">
<meta content="interact paged" name="flags">
<style>
* {
widows: 1;
orphans: 1;
margin: 0;
height: 100%;
}
body {
display: flex;
flex-direction: column;
}
div {
height: 75%;
flex: 0 0 auto;
}
@media print {
div {
break-inside: avoid;
}
div+div {
border-top: 1em solid red;
}
}
</style>
</head><body><div>Enter print preview. You should not see red or the word fail on the
first page.</div>
<div>FAIL</div>
</body></html>