layout/reftests/border-radius/clipping-4-canvas.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   border-radius: 25px;
     6 }
     7 </style>
     8 <canvas id="canvas" height="100" width="200"></canvas>
     9 <script>
    10 var canvas = document.getElementById("canvas");
    11 var cx = canvas.getContext("2d");
    12 cx.fillStyle="lime";
    13 cx.fillRect(0, 0, 200, 100);
    14 </script>

mercurial