WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
41192
Canvas: bezierCurveTo() and quadraticCurveTo() must ensure subpaths
https://bugs.webkit.org/show_bug.cgi?id=41192
Summary
Canvas: bezierCurveTo() and quadraticCurveTo() must ensure subpaths
Andreas Kling
Reported
2010-06-24 22:09:24 PDT
CanvasRenderingContext2D's bezierCurveTo() and quadraticCurveTo() should implicitly moveTo() the (first) control point if the current path is empty. This test (on IE Test Center) fails:
http://samples.msdn.microsoft.com/ietestcenter/html5/canvas/canvas-complexShapes-bezierCurveTo-001.htm
This is also covered by (skipped) in-tree tests: canvas/philip/tests/2d.path.bezierCurveTo.ensuresubpath.2.html canvas/philip/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html Spec links:
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-beziercurveto
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-quadraticcurveto
Attachments
Proposed patch
(4.23 KB, patch)
2010-06-24 22:12 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Proposed patch
(8.83 KB, patch)
2010-06-24 22:14 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Proposed patch v2 (style fixed)
(8.68 KB, patch)
2010-06-24 22:20 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2010-06-24 22:12:55 PDT
Created
attachment 59733
[details]
Proposed patch
Andreas Kling
Comment 2
2010-06-24 22:14:07 PDT
Created
attachment 59734
[details]
Proposed patch The proposed patch for *this* bug ;-)
WebKit Review Bot
Comment 3
2010-06-24 22:15:58 PDT
Attachment 59734
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/html/canvas/CanvasRenderingContext2D.cpp:579: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andreas Kling
Comment 4
2010-06-24 22:20:53 PDT
Created
attachment 59735
[details]
Proposed patch v2 (style fixed)
Tor Arne Vestbø
Comment 5
2010-07-01 10:42:34 PDT
Comment on
attachment 59735
[details]
Proposed patch v2 (style fixed) LGTM
WebKit Commit Bot
Comment 6
2010-07-01 11:14:08 PDT
Comment on
attachment 59735
[details]
Proposed patch v2 (style fixed) Rejecting patch 59735 from commit-queue. Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--exit-after-n-failures=1', '--ignore-tests', 'compositing', '--quiet']" exit_code: 1 Last 500 characters of output: ng Java tests make: Nothing to be done for `default'. Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests Skipped list contained 'compositing/iframes/composited-iframe.html', but no file of that name could be found Testing 19263 test cases. fast/loader/recursive-before-unload-crash.html -> failed Exiting early after 1 failures. 14177 tests run. 261.24s total testing time 14176 test cases (99%) succeeded 1 test case (<1%) had incorrect layout 4 test cases (<1%) had stderr output Full output:
http://webkit-commit-queue.appspot.com/results/3372119
Andreas Kling
Comment 7
2010-07-01 11:33:06 PDT
Comment on
attachment 59735
[details]
Proposed patch v2 (style fixed) Re-cq?ing, suspecting flaky test.
Tor Arne Vestbø
Comment 8
2010-07-01 11:34:10 PDT
Comment on
attachment 59735
[details]
Proposed patch v2 (style fixed) Let's try again
WebKit Commit Bot
Comment 9
2010-07-01 14:56:57 PDT
Comment on
attachment 59735
[details]
Proposed patch v2 (style fixed) Clearing flags on attachment: 59735 Committed
r62300
: <
http://trac.webkit.org/changeset/62300
>
WebKit Commit Bot
Comment 10
2010-07-01 14:57:02 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug