layout/reftests/border-radius/clipping-4-canvas.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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