Commit 76428a1f authored by ap@apple.com's avatar ap@apple.com

<rdar://problem/10637779> REGRESSION (r102247): Focus ring is not drawn around a button

        Rubber-stamped by Dan Bernstein.

        * platform/mac/ThemeMac.mm: (WebCore::updateStates): Flip an incorrect conditional, this code
        should run on Snow Leopard and Lion.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d8e1f645
2012-01-03 Alexey Proskuryakov <ap@apple.com>
<rdar://problem/10637779> REGRESSION (r102247): Focus ring is not drawn around a button
Rubber-stamped by Dan Bernstein.
* platform/mac/ThemeMac.mm: (WebCore::updateStates): Flip an incorrect conditional, this code
should run on Snow Leopard and Lion.
2012-01-03 Alexis Menard <alexis.menard@openbossa.org>
getComputedStyle should return shorthands property with the minimum number of sides possible.
......@@ -175,7 +175,7 @@ static void updateStates(NSCell* cell, ControlStates states)
if (enabled != oldEnabled)
[cell setEnabled:enabled];
#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
#if BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
// Focused state
bool oldFocused = [cell showsFirstResponder];
bool focused = states & FocusState;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment