https://bugs.webkit.org/show_bug.cgi?id=69727
Reviewed by Anders Carlsson.
* platform/mac/ThemeMac.mm: Made WebCoreFlippedView an NSControl subclass so that the NSButtonCell
used to draw checkboxes and radio buttons can make it its controlView, and consequently check and
obey its flippedness.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@97032
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-10-09 Dan Bernstein <mitz@apple.com>
+
+ <rdar://problem/9484496> REGRESSION (WebKit2): Checkboxes and radio buttons are drawn 1 pixel too high, not repainted properly
+ https://bugs.webkit.org/show_bug.cgi?id=69727
+
+ Reviewed by Anders Carlsson.
+
+ * platform/mac/ThemeMac.mm: Made WebCoreFlippedView an NSControl subclass so that the NSButtonCell
+ used to draw checkboxes and radio buttons can make it its controlView, and consequently check and
+ obey its flippedness.
+
2011-10-09 Benjamin Poulain <benjamin@webkit.org>
Do not compare the first glyph to itself in Font::drawGlyphBuffer()
using namespace std;
// This is a view whose sole purpose is to tell AppKit that it's flipped.
-@interface WebCoreFlippedView : NSView
+@interface WebCoreFlippedView : NSControl
@end
@implementation WebCoreFlippedView