The vertical separator line between the text and the two triangles in the select widget disappears when another block element with a border is in the same document. The line appears if you select another application instead of Webkit, or if you scroll past it, or interact in some other misc. ways with the page. Reproducible with latest nightly. (Tue May 22 9:40:54 GMT 2007, r21639).
Created attachment 14676 [details] Test Case
Wow, that's subtle! Confirmed with a local debug build of WebKit r21639 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
Not sure if this is a regression or not since the pop-up in the test case looks different with shipping Safari.
(In reply to comment #3) > Not sure if this is a regression or not since the pop-up in the test case looks > different with shipping Safari. > Shipping Safari doesn't allow styling select menus. The test case uses a border on the select widget to specifically get the one you can style because that's where the bug shows up. It doesn't happen with the Aqua widget.
Probably missing explicit setStrokeThickness().
Created attachment 14678 [details] Set stroke parameters
Comment on attachment 14678 [details] Set stroke parameters >+ CGMutablePathRef path = CGPathCreateMutable();// CGContextBeginPath(context); Why the commented-out code?
(In reply to comment #7) > (From update of attachment 14678 [details] [edit]) > >+ CGMutablePathRef path = CGPathCreateMutable();// CGContextBeginPath(context); > > Why the commented-out code? > Oops. Thanks for noticing!
Created attachment 14679 [details] Set stroke parameters
Comment on attachment 14679 [details] Set stroke parameters r=me But shouldn't we call CGContextBeginPath before calling CGContextAddPath?
Comment on attachment 14679 [details] Set stroke parameters I think I should just use CGContextDrawPath.
Created attachment 14689 [details] Another attempt
Comment on attachment 14689 [details] Another attempt r=me
Committed revision 21719.