layout/reftests/border-radius/clipping-5-refc.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 canvas {
     5   margin: 18px 19px 21px 25px;
     6   /* border + padding: 1px 2px 4px 8px */
     8   /* Horizontal: TL TR BR BL / Vertical: TL TR BR BL */
     9   /* border-radius: 25px 17px 14px 18px / 12px 15px 18px 17px; */
    10   border-radius: 17px 15px 12px 10px / 11px 14px 14px 13px;
    11 }
    12 </style>
    13 <canvas id="canvas" height="100" width="200"></canvas>
    14 <script>
    15 var canvas = document.getElementById("canvas");
    16 var cx = canvas.getContext("2d");
    17 cx.fillStyle="lime";
    18 cx.fillRect(0, 0, 200, 100);
    19 </script>

mercurial