layout/reftests/border-radius/clipping-5-refc.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   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