Changeset 141500 in webkit
- Timestamp:
- Jan 31, 2013, 3:51:58 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r141492 r141500 1 2013-01-31 Youenn Fablet <youennf@gmail.com> 2 3 Quadratic and bezier curves with coincident endpoints rendered incorrectly 4 https://bugs.webkit.org/show_bug.cgi?id=105650 5 Modified TestExpectations for Mac, efl and Qt platforms as quadratic curves 6 may not be rendered correctly 7 (see https://bugs.webkit.org/show_bug.cgi?id=107118) 8 9 Reviewed by Kenneth Russell. 10 11 * fast/canvas/canvas-bezier-same-endpoint-expected.txt: Added. 12 * fast/canvas/canvas-bezier-same-endpoint.html: Added. 13 * fast/canvas/canvas-quadratic-same-endpoint-expected.txt: Added. 14 * fast/canvas/canvas-quadratic-same-endpoint.html: Added. 15 * platform/efl/TestExpectations: Skipped quad test 16 * platform/mac/TestExpectations: Skipped quad test 17 * platform/qt/TestExpectations: Skipped quad test 18 1 19 2013-01-31 Uday Kiran <udaykiran@motorola.com> 2 20 -
trunk/LayoutTests/platform/efl/TestExpectations
r141456 r141500 212 212 # Flaky tests (text diff mismatch) 213 213 http/tests/navigation/document-location-mouseover.html 214 215 # https://bugs.webkit.org/show_bug.cgi?id=107118 216 fast/canvas/canvas-quadratic-same-endpoint.html 214 217 215 218 # ------------------------------------ -
trunk/LayoutTests/platform/mac/TestExpectations
r141469 r141500 936 936 canvas/philip/tests/2d.strokeRect.zero.4.html 937 937 938 # https://bugs.webkit.org/show_bug.cgi?id=107118 939 fast/canvas/canvas-quadratic-same-endpoint.html 940 938 941 # --- Compositing ---- 939 942 css3/filters/composited-during-transition-layertree.html -
trunk/LayoutTests/platform/qt/TestExpectations
r141456 r141500 1212 1212 fast/canvas/canvas-blend-image.html 1213 1213 fast/canvas/canvas-blend-solid.html 1214 1215 # https://bugs.webkit.org/show_bug.cgi?id=107118 1216 fast/canvas/canvas-quadratic-same-endpoint.html 1214 1217 1215 1218 # ReferenceError: Can't find variable: MediaKeyError -
trunk/Source/WebCore/ChangeLog
r141499 r141500 1 2013-01-31 Youenn Fablet <youennf@gmail.com> 2 3 Quadratic and bezier curves with coincident endpoints rendered incorrectly 4 https://bugs.webkit.org/show_bug.cgi?id=105650 5 6 Reviewed by Kenneth Russell. 7 8 Tests: fast/canvas/canvas-bezier-same-endpoint.html 9 fast/canvas/canvas-quadratic-same-endpoint.html 10 11 * html/canvas/CanvasPathMethods.cpp: 12 (WebCore::CanvasPathMethods::quadraticCurveTo): 13 (WebCore::CanvasPathMethods::bezierCurveTo): 14 1 15 2013-01-31 Mark Lam <mark.lam@apple.com> 2 16 -
trunk/Source/WebCore/html/canvas/CanvasPathMethods.cpp
r141456 r141500 85 85 86 86 FloatPoint p1 = FloatPoint(x, y); 87 if (p1 != m_path.currentPoint()) 88 m_path.addQuadCurveTo(FloatPoint(cpx, cpy), p1); 87 FloatPoint cp = FloatPoint(cpx, cpy); 88 if (p1 != m_path.currentPoint() || p1 != cp) 89 m_path.addQuadCurveTo(cp, p1); 89 90 } 90 91 … … 99 100 100 101 FloatPoint p1 = FloatPoint(x, y); 101 if (p1 != m_path.currentPoint()) 102 m_path.addBezierCurveTo(FloatPoint(cp1x, cp1y), FloatPoint(cp2x, cp2y), p1); 102 FloatPoint cp1 = FloatPoint(cp1x, cp1y); 103 FloatPoint cp2 = FloatPoint(cp2x, cp2y); 104 if (p1 != m_path.currentPoint() || p1 != cp1 || p1 != cp2) 105 m_path.addBezierCurveTo(cp1, cp2, p1); 103 106 } 104 107
Note:
See TracChangeset
for help on using the changeset viewer.