Changeset 60726 in webkit


Ignore:
Timestamp:
Jun 4, 2010 5:43:31 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-06-04 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

[Qt] Canvas arc() with zero radius should draw a line to the start point
https://bugs.webkit.org/show_bug.cgi?id=40164

Unskip canvas/philip/tests/2d.path.arc.zeroradius.html

Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-arc

  • platform/qt/Skipped:

2010-06-04 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

[Qt] Canvas arc() with zero radius should draw a line to the start point
https://bugs.webkit.org/show_bug.cgi?id=40164

Spec link:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-arc

  • platform/graphics/qt/PathQt.cpp: (WebCore::Path::addArc):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r60715 r60726  
     12010-06-04  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Canvas arc() with zero radius should draw a line to the start point
     6        https://bugs.webkit.org/show_bug.cgi?id=40164
     7
     8        Unskip canvas/philip/tests/2d.path.arc.zeroradius.html
     9
     10        Spec link:
     11        http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-arc
     12
     13        * platform/qt/Skipped:
     14
    1152010-06-04  Martin Robinson  <mrobinson@igalia.com>
    216
  • trunk/LayoutTests/platform/qt/Skipped

    r60664 r60726  
    51375137canvas/philip/tests/2d.missingargs.html
    51385138canvas/philip/tests/2d.path.arc.twopie.3.html
    5139 canvas/philip/tests/2d.path.arc.zeroradius.html
    51405139canvas/philip/tests/2d.path.arcTo.collinear.2.html
    51415140canvas/philip/tests/2d.path.arcTo.collinear.3.html
  • trunk/WebCore/ChangeLog

    r60724 r60726  
     12010-06-04  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Canvas arc() with zero radius should draw a line to the start point
     6        https://bugs.webkit.org/show_bug.cgi?id=40164
     7
     8        Spec link:
     9        http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-arc
     10
     11        * platform/graphics/qt/PathQt.cpp:
     12        (WebCore::Path::addArc):
     13
    1142010-06-04  Martin Robinson  <mrobinson@igalia.com>
    215
  • trunk/WebCore/platform/graphics/qt/PathQt.cpp

    r60664 r60726  
    320320    if (!m_path.elementCount())
    321321        m_path.arcMoveTo(xs, ys, width, height, sa);
     322    else if (!radius) {
     323        m_path.lineTo(xc, yc);
     324        return;
     325    }
    322326
    323327    m_path.arcTo(xs, ys, width, height, sa, span);
Note: See TracChangeset for help on using the changeset viewer.