Skip to content
  • Jim Blandy's avatar
    Bug 1681610: Use thicker borders when faking rounded rectangles. r=gw, a=jcristau · c801a944
    Jim Blandy authored
    `DisplayListBuilder::PushRoundedRect`, used for unordered list bullets and the
    like, draws rounded rectangles as ordinary rectangles with rounded borders that
    have a radius of half the rectangle. Unfortunately, this leads to tiny white
    dots at the center of the bullet under some magnifications. I haven't diagnosed
    why - perhaps there's something somewhere that snaps borders outward.
    
    Increasing the thickness of the borders to (an impossible) 60% of the width of
    the rectangle makes the problem go away. If this kludge doesn't work, we could
    add a rectangle covering the center.
    
    Differential Revision: https://phabricator.services.mozilla.com/D100753
    c801a944