After the switch to cairo, the inset on form controls' borders are extremely thick. Screenshots coming up.
Created attachment 246283 [details] After Note that all form controls (buttons, textfields, select menus) have almost doubled their border's thickness.
Radio buttons look better, though. http://quotes.burntelectrons.org/1594
What date was the switch to Cairo? I'm having trouble finding out on Bonsai or Bugzilla.
(In reply to comment #4) > What date was the switch to Cairo? I'm having trouble finding out on Bonsai or > Bugzilla. Sorry, never mind. I don't know how I missed bug 323934, checked in 2006-11-21 16:58.
*** Bug 363686 has been marked as a duplicate of this bug. ***
What's going on here seems like a cairo bug. Any border that's not aligned to a pixel boundary is getting drawn a pixel too thick. It's nothing specific to form controls. I'll attach a testcase to show this. (It's probably showing up more reliably for vertical borders presumably because vertical coordinates are much more cumulative, and therefore much less likely to be pixel-aligned.)
Created attachment 255997 [details] testcase (all borders should be 2px wide) All the borders in this testcase should be 2px wide, but only 1 out of every 10 is; the rest (not aligned to pixel boundaries) are 3px wide.
It this bug also responsible for making some link underlines appear too close to the link text? Or is that a separate bug?
Separate. Underlines aren't done using FillPolygon, and I think the cause of this bug is a rounding bug in FillPolygon.
see bug 365336 for the underline problem.
This should be fixed by the patch for bug 368247.
10 years ago