3 <style type=
"text/css">
14 <script src=
"../../resources/js-test.js"></script>
18 <div id=
"innerBox" style=
"background:green"></div>
21 description('Testcase for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=11355">https://bugs.webkit.org/show_bug.cgi?id=11355</a>. \
22 When a container having overflow:auto has a horizontal scrollbar, \
23 the scrollbar is to be placed between the inner border edge and the outer padding edge. \
24 Thus the content height of a child inside the container must not include the height of the horizontal scollbars.');
26 debug('The height of the inner element box should be 100% of the containers height minus the height of horizontal scrollbar. \
27 There should be no vertical scrollable content in the container<br>');
28 shouldBeTrue('document.getElementById("container").scrollHeight == document.getElementById("container").clientHeight');
29 debug('Container height = Inner Box height + scrollbar height');
30 shouldBeTrue('document.getElementById("container").offsetHeight > document.getElementById("innerBox").offsetHeight');
31 document
.body
.removeChild(document
.getElementById('container'));
33 <div id=
"description"></div>
34 <div id=
"console"></div>