layout/reftests/abs-pos/button-2.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 <html>
     3 <head>
     4 <style>
     5 button {
     6 position:relative;
     7 padding:0;
     8 background:green;
     9 width: 200px;
    10 height: 100px;
    11 border:none;
    12 text-align: left;
    13 font: 12px serif;
    14 -moz-appearance: none;
    15 border-radius: 0 !important;
    16 }
    17 button span {
    18 display:block;
    19 position:absolute;
    20 right:0;
    21 top:0;
    22 width:10px;
    23 height:100%;
    24 background:red;
    25 }
    26 </style>
    27 </head>
    28 <body>
    29 <button>
    30 <span></span>
    31 </button>
    32 </body>
    33 </html>

mercurial