Changeset 60933 in webkit
- Timestamp:
- Jun 9, 2010 8:47:50 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r60920 r60933 1 2010-06-09 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.transformation.html 6 https://bugs.webkit.org/show_bug.cgi?id=38598 7 8 Remove canvas/philip/tests/2d.path.arcTo.scale.html, canvas/philip/tests/2d.path.arcTo.transformation.html 9 and canvas/philip/tests/2d.path.transformation.changing.html from Skipped. 10 11 * platform/qt/Skipped: 12 1 13 2010-06-09 Adam Barth <abarth@webkit.org> 2 14 -
trunk/LayoutTests/platform/qt/Skipped
r60911 r60933 5320 5320 canvas/philip/tests/2d.path.arcTo.collinear.2.html 5321 5321 canvas/philip/tests/2d.path.arcTo.collinear.3.html 5322 canvas/philip/tests/2d.path.arcTo.scale.html5323 canvas/philip/tests/2d.path.arcTo.transformation.html5324 5322 canvas/philip/tests/2d.path.bezierCurveTo.ensuresubpath.2.html 5325 5323 canvas/philip/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html … … 5331 5329 canvas/philip/tests/2d.path.stroke.prune.arc.html 5332 5330 canvas/philip/tests/2d.path.stroke.scale2.html 5333 canvas/philip/tests/2d.path.transformation.changing.html5334 5331 canvas/philip/tests/2d.pattern.basic.type.html 5335 5332 canvas/philip/tests/2d.pattern.image.broken.html -
trunk/WebCore/ChangeLog
r60932 r60933 1 2010-06-09 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.transformation.html 6 https://bugs.webkit.org/show_bug.cgi?id=38598 7 8 In path transform function handle path only have moveElement case. 9 10 * platform/graphics/qt/PathQt.cpp: 11 (WebCore::Path::transform): 12 1 13 2010-06-09 Anton Muhin <antonm@chromium.org> 2 14 -
trunk/WebCore/platform/graphics/qt/PathQt.cpp
r60869 r60933 439 439 void Path::transform(const AffineTransform& transform) 440 440 { 441 m_path = QTransform(transform).map(m_path); 441 QTransform qTransform(transform); 442 #if QT_VERSION < QT_VERSION_CHECK(4, 7, 0) 443 // Workaround for http://bugreports.qt.nokia.com/browse/QTBUG-11264 444 // QTransform.map doesn't handle the MoveTo element because of the isEmpty issue 445 if (m_path.isEmpty() && m_path.elementCount()) { 446 QPointF point = qTransform.map(m_path.currentPosition()); 447 m_path.moveTo(point); 448 } else 449 #endif 450 m_path = qTransform.map(m_path); 442 451 } 443 452
Note: See TracChangeset
for help on using the changeset viewer.