Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <title>Test that overflowing margins and padding on scrollable element add</title> |
michael@0 | 3 | <style> |
michael@0 | 4 | #scroll { |
michael@0 | 5 | overflow: scroll; background: yellow; |
michael@0 | 6 | height: 111px; width: 116px; |
michael@0 | 7 | } |
michael@0 | 8 | |
michael@0 | 9 | #content { |
michael@0 | 10 | height: 223px; |
michael@0 | 11 | margin-right: 5px; |
michael@0 | 12 | margin-left: 11px; |
michael@0 | 13 | background: aqua; |
michael@0 | 14 | } |
michael@0 | 15 | #gap { |
michael@0 | 16 | height: 35px; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | </style> |
michael@0 | 20 | <div id="scroll"><div id="content"></div><div id="gap"></div></div> |
michael@0 | 21 | <script> |
michael@0 | 22 | document.getElementById("scroll").scrollTop = "1000"; |
michael@0 | 23 | </script> |