1 description("Test that page-break-inside property is not inherited");
3 var parent = document.createElement("div");
4 parent.setAttribute("style", "page-break-inside: avoid");
6 var child = document.createElement("div");
7 parent.appendChild(child);
8 document.body.appendChild(parent);
10 shouldBe("window.getComputedStyle(parent).pageBreakInside", '"avoid"');
11 shouldBe("window.getComputedStyle(child).pageBreakInside", '"auto"');
13 document.body.removeChild(parent);