layout/reftests/forms/textarea/padding-scrollbar-placement.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
michael@0 5 <title>Padding and Scrollbar Placement Test</title>
michael@0 6 <style>input, textarea { border-radius:0; background:none; border:none; }</style>
michael@0 7 <style type="text/css">
michael@0 8 #t {
michael@0 9 display: block;
michael@0 10 position: absolute;
michael@0 11 left: 50px;
michael@0 12 top: 50px;
michael@0 13 padding: 50px;
michael@0 14 width: 300px;
michael@0 15 height: 100px;
michael@0 16 border: 5px solid red;
michael@0 17 margin: 10px;
michael@0 18 overflow: scroll;
michael@0 19 font-family: verdana;
michael@0 20 resize: none;
michael@0 21 color: black;
michael@0 22 z-index: 0; /* force a stacking context */
michael@0 23 }
michael@0 24 #cover {
michael@0 25 position: absolute;
michael@0 26 left: 400px;
michael@0 27 top: 50px;
michael@0 28 width: 100px;
michael@0 29 height: 300px;
michael@0 30 background: black;
michael@0 31 }
michael@0 32 </style>
michael@0 33 </head>
michael@0 34 <body>
michael@0 35 <script>
michael@0 36 var ss = [];
michael@0 37 for (var i = 0; i < 1000; ++i) {
michael@0 38 ss.push(i);
michael@0 39 }
michael@0 40 document.write("<textarea id='t'>" + ss.join(" ") + "</textarea>");
michael@0 41 </script>
michael@0 42 <div id="cover"></div>
michael@0 43 </body>
michael@0 44 </html>

mercurial