Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / overflow / resize-inherit.html
blobc2e1a343691302ca1190dd869c55e58a2b86ad15
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 .overflow {
5 overflow: scroll;
6 width: 200px;
7 height: 200px;
9 .resize {
10 resize: both;
12 .resize-inherit {
13 resize: inherit;
15 </style>
16 <div class="overflow resize">
17 <div class="overflow no-resize"></div>
18 <div class="overflow resize-inherit"></div>
19 </div>
20 <script>
21 description("CSS resize property is inherited:no");
23 shouldBe("getComputedStyle(document.querySelector('.overflow.resize')).resize", "'both'");
24 shouldBe("getComputedStyle(document.querySelector('.overflow.no-resize')).resize", "'none'");
25 shouldBe("getComputedStyle(document.querySelector('.overflow.resize-inherit')).resize", "'both'");
26 </script>