Changeset 60664 in webkit
- Timestamp:
- Jun 4, 2010 1:32:03 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r60663 r60664 1 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 [Qt] Failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arcTo.ensuresubpath.1.html 6 https://bugs.webkit.org/show_bug.cgi?id=38645 7 8 Remove 2d.path.arcTo.ensuresubpath.1.html from Skipped. 9 10 * platform/qt/Skipped: 11 1 12 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> 2 13 -
trunk/LayoutTests/platform/qt/Skipped
r60663 r60664 5140 5140 canvas/philip/tests/2d.path.arcTo.collinear.2.html 5141 5141 canvas/philip/tests/2d.path.arcTo.collinear.3.html 5142 canvas/philip/tests/2d.path.arcTo.ensuresubpath.1.html5143 5142 canvas/philip/tests/2d.path.arcTo.scale.html 5144 5143 canvas/philip/tests/2d.path.arcTo.transformation.html -
trunk/WebCore/ChangeLog
r60663 r60664 1 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 [Qt] Failed at http://philip.html5.org/tests/canvas/suite/tests/2d.path.arcTo.ensuresubpath.1.html 6 https://bugs.webkit.org/show_bug.cgi?id=38645 7 8 Path arcto function need to ensure there is subpath before it. 9 10 * platform/graphics/qt/PathQt.cpp: 11 (WebCore::Path::addArcTo): 12 1 13 2010-06-04 Qi Zhang <qi.2.zhang@nokia.com> 2 14 -
trunk/WebCore/platform/graphics/qt/PathQt.cpp
r60663 r60664 187 187 void Path::addArcTo(const FloatPoint& p1, const FloatPoint& p2, float radius) 188 188 { 189 // Make sure there is a subpath for p1, the behavior depend on the last element of the subpath. 190 // When the user agent is to ensure there is a subpath for a coordinate (x, y), the user agent must 191 // check to see if the context has any subpaths, and if it does not, then the user agent must create 192 // a new subpath with the point (x, y) as its first (and only) point, as if the moveTo() method had been called. 193 if (!m_path.elementCount()) { 194 m_path.moveTo(p1); 195 return; 196 } 197 189 198 FloatPoint p0(m_path.currentPosition()); 190 199
Note: See TracChangeset
for help on using the changeset viewer.