layout/reftests/bugs/665597-1-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <title>Test that overflowing margins and padding on scrollable element add</title>
     3 <style>
     4 #scroll {
     5   overflow: scroll; background: yellow;
     6   height: 111px; width: 116px;
     7 }
     9 #content {
    10   height: 223px;
    11   margin-right: 5px;
    12   margin-left: 11px;
    13   background: aqua;
    14 }
    15 #gap {
    16   height: 35px;
    17 }
    19 </style>
    20 <div id="scroll"><div id="content"></div><div id="gap"></div></div>
    21 <script>
    22 document.getElementById("scroll").scrollTop = "1000";
    23 </script>

mercurial