2010-12-02 Andreas Kling <kling@webkit.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Dec 2010 13:39:21 +0000 (13:39 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Dec 2010 13:39:21 +0000 (13:39 +0000)
commit2f72d46da0375895d7adc07eb12237d8db2fdf2b
treed89e2d6cbe70aad1fc25c1e4422c435c5d6d8360
parentfcd5758e74e090e397a2c87d7000854180e5b763
2010-12-02  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext::strokeRect() taints the context's lineWidth
        https://bugs.webkit.org/show_bug.cgi?id=50269

        * fast/canvas/canvas-lineWidth-intact-after-strokeRect-expected.txt: Added.
        * fast/canvas/canvas-lineWidth-intact-after-strokeRect.html: Added.
        * fast/canvas/script-tests/canvas-lineWidth-intact-after-strokeRect.js: Added.
2010-12-02  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsContext::strokeRect() taints the context's lineWidth
        https://bugs.webkit.org/show_bug.cgi?id=50269

        Test: fast/canvas/canvas-lineWidth-intact-after-strokeRect.html

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::strokeRect): Restore the context's
        original stroke thickness after painting.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-lineWidth-intact-after-strokeRect-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/canvas-lineWidth-intact-after-strokeRect.html [new file with mode: 0644]
LayoutTests/fast/canvas/script-tests/canvas-lineWidth-intact-after-strokeRect.js [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/qt/GraphicsContextQt.cpp