Home | History | Annotate | Download | only in css
      1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Create the drop down arrow for the drop down buttons.
      6 (function() {
      7   var ctx = document.getCSSCanvasContext('2d', 'drop-down-arrow', 9, 4);
      8   ctx.fillStyle = '#000';
      9   ctx.translate(1.5, .5);
     10   ctx.beginPath();
     11   ctx.moveTo(0, 0);
     12   ctx.lineTo(6, 0);
     13   ctx.lineTo(3, 3);
     14   ctx.closePath();
     15   ctx.fill();
     16   ctx.stroke();
     17 })();
     18