layout/reftests/border-radius/clipping-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><head>
     3 <title>Border clipping</title>
     4 <style>
     5 .div1 { width: 50px; height: 50px;
     6       border: 4px dotted black; 
     7       border-radius: 10px;
     8       position: fixed;
     9       background: red;
    10       left: 50px;
    11       top: 50px;
    12       background-clip: padding-box;
    13 }
    15 .div2 { width: 50px; height: 50px;
    16       border: 4px dotted black; 
    17       border-radius: 10px;
    18       position: fixed;
    19       background: red;
    20       left: 50px;
    21       top: 140px;
    22       background-clip: border-box;
    23 }
    25 </style>
    26 </head>
    27 <body>
    28   <div class="div1"/>
    29   <div class="div2"/>
    30 </body></html>

mercurial