diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/interactive/flexbox_interactive_break-natural.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/interactive/flexbox_interactive_break-natural.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/interactive/flexbox_interactive_break-natural.html b/testing/web-platform/tests/css/css-flexbox/interactive/flexbox_interactive_break-natural.html new file mode 100644 index 0000000000..4f69d1582a --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/interactive/flexbox_interactive_break-natural.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<title>flexbox | natural breaks</title> +<link rel="author" href="http://opera.com" title="Opera Software"> +<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#pagination"> +<meta name="flags" content="interact paged"> +<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> + +<div>Enter print preview. You should not see red or the word fail on the + first page.</div> + +<div>FAIL</div> |