Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / getComputedStyle / script-tests / computed-style-page-break-inside.js
bloba8e1b704279ec094a44b216efdc78d00309d40d4
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);