layout/reftests/border-radius/clipping-5-overflow-hidden.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <title>Test for clipping of border-radius</title>
     3 <style>
     4 body > div {
     5   /* padding box is 100px by 200px */
     6   display: inline-block; /* so margin doesn't collapse with body's */
     7   height: 99px;
     8   width: 194px;
     9   overflow: hidden;
    10   border-color: transparent;
    11   border-style: solid;
    12   border-width: 1px 2px 4px 8px;
    13   padding: 0px 1px 1px 5px;
    14   margin: 17px;
    15   border-radius: 25px 17px 14px 18px / 12px 15px 18px 17px;
    16 }
    17 body > div > div {
    18   background: lime;
    19   height: 100px;
    20   width: 200px;
    21   margin-left: -5px;
    22 }
    23 </style>
    24 <div><div></div></div>

mercurial