2011-01-05 Helder Correia <helder@sencha.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jan 2011 02:16:55 +0000 (02:16 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jan 2011 02:16:55 +0000 (02:16 +0000)
commit2405508e1f021bfedc8f75236b163ea12f91479d
treef1b81297e04ef67912e7f197dc5a913edbb5f788
parent6a40ee6c0470ecb9e11d946d1357fab515da6846
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Default focus ring is too wide
        https://bugs.webkit.org/show_bug.cgi?id=51854

        This is an intermediate step to solve this bug. Use QPalette::Highlight
        instead of default half-transparent black as the focus ring color.

        * platform/qt/editing/selection/caret-and-focus-ring-expected.checksum: Added.
        * platform/qt/editing/selection/caret-and-focus-ring-expected.png: Added.
        * platform/qt/editing/selection/caret-and-focus-ring-expected.txt: Added.
        * platform/qt/fast/css/focus-ring-outline-color-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-color-expected.png:
        * platform/qt/fast/css/focus-ring-outline-offset-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-offset-expected.png:
        * platform/qt/fast/css/focus-ring-outline-width-expected.checksum:
        * platform/qt/fast/css/focus-ring-outline-width-expected.png:
2011-01-05  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Default focus ring is too wide
        https://bugs.webkit.org/show_bug.cgi?id=51854

        This is an intermediate step to solve this bug. Use QPalette::Highlight
        instead of default half-transparent black as the focus ring color.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::drawFocusRingForPath):
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::platformFocusRingColor):
        * platform/qt/RenderThemeQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/qt/editing/selection/caret-and-focus-ring-expected.checksum [new file with mode: 0644]
LayoutTests/platform/qt/editing/selection/caret-and-focus-ring-expected.png [new file with mode: 0644]
LayoutTests/platform/qt/editing/selection/caret-and-focus-ring-expected.txt [new file with mode: 0644]
LayoutTests/platform/qt/fast/css/focus-ring-outline-color-expected.checksum
LayoutTests/platform/qt/fast/css/focus-ring-outline-color-expected.png
LayoutTests/platform/qt/fast/css/focus-ring-outline-offset-expected.checksum
LayoutTests/platform/qt/fast/css/focus-ring-outline-offset-expected.png
LayoutTests/platform/qt/fast/css/focus-ring-outline-width-expected.checksum
LayoutTests/platform/qt/fast/css/focus-ring-outline-width-expected.png
WebCore/ChangeLog
WebCore/platform/graphics/qt/GraphicsContextQt.cpp
WebCore/platform/qt/RenderThemeQt.cpp
WebCore/platform/qt/RenderThemeQt.h