<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Test that page-break-inside property is not inherited");

var parent = document.createElement("div");
parent.setAttribute("style", "page-break-inside: avoid");

var child = document.createElement("div");
parent.appendChild(child);
document.body.appendChild(parent);

shouldBe("window.getComputedStyle(parent).getPropertyCSSValue('page-break-inside').getStringValue()", '"avoid"');
shouldBe("window.getComputedStyle(child).getPropertyCSSValue('page-break-inside').getStringValue()", '"auto"');

document.body.removeChild(parent);
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
