Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Issue 18286007: Fix edge case bugs of canvas arc. (Closed)

Created:
7 years, 5 months ago by dshwang
Modified:
7 years, 4 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, danakj, dglazkov+blink, Rik, adamk+blink_chromium.org, Stephen Chennney, aandrey+blink_chromium.org, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@ellipse
Visibility:
Public.

Description

Fix edge case bugs of canvas arc. The canvas spec [1] defines how to draw the circumference of arc with various conditions of startAngle, engAngle and anticlockwise. Current implementation does not satisfy the spec. [1] http://www.w3.org/TR/2dcontext2/ TEST=fast/canvas/canvas-arc-circumference.html BUG=130260 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156647

Patch Set 1 #

Patch Set 2 : Update layout tests #

Total comments: 4

Patch Set 3 : Add comment for alph's edge case. Make canvas-arc-circumference.html cover 160 cases as alph sugges… #

Total comments: 4

Patch Set 4 : Rebase to upstream. Change CL as Stephen reviewed. #

Patch Set 5 : Exclude png files for new layout test. The test is marked as NeedsRebaseline. #

Patch Set 6 : Mark NeedsRebaseLine to virtual/gpu also. #

Patch Set 7 : Test uses alpha color to check darkening of paths on the double-rasterized region. #

Messages

Total messages: 28 (0 generated)
dshwang
It is a prerequisite of CL 14298022. Could you review?
7 years, 5 months ago (2013-07-10 05:26:26 UTC) #1
dshwang
On 2013/07/10 05:26:26, dshwang wrote: > It is a prerequisite of CL 14298022. > Could ...
7 years, 5 months ago (2013-07-10 11:42:27 UTC) #2
dshwang
On 2013/07/10 11:42:27, dshwang wrote: > On 2013/07/10 05:26:26, dshwang wrote: > > It is ...
7 years, 5 months ago (2013-07-10 12:17:29 UTC) #3
alph
lgtm w/ comments. Dongseong, you should add another reviewer to the patch as I'm not ...
7 years, 5 months ago (2013-07-10 13:06:29 UTC) #4
dshwang
Thx for valuable review! https://codereview.chromium.org/18286007/diff/6001/LayoutTests/fast/canvas/canvas-arc-circumference.html File LayoutTests/fast/canvas/canvas-arc-circumference.html (right): https://codereview.chromium.org/18286007/diff/6001/LayoutTests/fast/canvas/canvas-arc-circumference.html#newcode25 LayoutTests/fast/canvas/canvas-arc-circumference.html:25: ctx.arc(60, 50, 30, -Math.PI, Math.PI, ...
7 years, 5 months ago (2013-07-10 13:36:42 UTC) #5
dshwang
On 2013/07/10 13:36:42, dshwang wrote: > Thx for valuable review! > > https://codereview.chromium.org/18286007/diff/6001/LayoutTests/fast/canvas/canvas-arc-circumference.html > File ...
7 years, 5 months ago (2013-07-10 14:07:44 UTC) #6
dshwang
Hi, could you review? https://codereview.chromium.org/18286007/diff/16001/LayoutTests/fast/canvas/canvas-arc-circumference.html File LayoutTests/fast/canvas/canvas-arc-circumference.html (right): https://codereview.chromium.org/18286007/diff/16001/LayoutTests/fast/canvas/canvas-arc-circumference.html#newcode30 LayoutTests/fast/canvas/canvas-arc-circumference.html:30: Make canvas-arc-circumference.html cover 160 cases ...
7 years, 5 months ago (2013-07-10 16:53:01 UTC) #7
dshwang
Stephen, could you have a chance to look at this CL?
7 years, 5 months ago (2013-07-12 13:09:09 UTC) #8
dshwang
7 years, 5 months ago (2013-07-15 19:09:28 UTC) #9
Stephen White
https://codereview.chromium.org/18286007/diff/16001/LayoutTests/fast/canvas/canvas-arc-circumference.html File LayoutTests/fast/canvas/canvas-arc-circumference.html (right): https://codereview.chromium.org/18286007/diff/16001/LayoutTests/fast/canvas/canvas-arc-circumference.html#newcode30 LayoutTests/fast/canvas/canvas-arc-circumference.html:30: Please add a line to LayoutTests/TestExpectations to prevent the ...
7 years, 4 months ago (2013-08-22 15:08:29 UTC) #10
dshwang
Thx for your review On 2013/08/22 15:08:29, Stephen White wrote: > https://codereview.chromium.org/18286007/diff/16001/LayoutTests/fast/canvas/canvas-arc-circumference.html > File LayoutTests/fast/canvas/canvas-arc-circumference.html ...
7 years, 4 months ago (2013-08-22 19:13:20 UTC) #11
dshwang
Hi, could you review again?
7 years, 4 months ago (2013-08-23 14:50:22 UTC) #12
Stephen White
On 2013/08/23 14:50:22, dshwang wrote: > Hi, could you review again? Could you re-upload the ...
7 years, 4 months ago (2013-08-23 15:08:38 UTC) #13
Stephen White
On 2013/08/23 15:08:38, Stephen White wrote: > On 2013/08/23 14:50:22, dshwang wrote: > > Hi, ...
7 years, 4 months ago (2013-08-23 15:09:33 UTC) #14
dshwang
On 2013/08/23 15:08:38, Stephen White wrote: > On 2013/08/23 14:50:22, dshwang wrote: > > Hi, ...
7 years, 4 months ago (2013-08-23 15:10:36 UTC) #15
dshwang
If you think this CL is fine, could you give me lgtm? Thanks!
7 years, 4 months ago (2013-08-23 15:12:07 UTC) #16
Stephen White
LGTM; let's see what the trybots say.
7 years, 4 months ago (2013-08-23 15:12:44 UTC) #17
Stephen White
Note: both Firefox and IE give different results for the last 5 or so images ...
7 years, 4 months ago (2013-08-23 15:19:58 UTC) #18
Stephen White
Looks like you'll need to add a TestExpectations line for the virtual/gpu flavour of your ...
7 years, 4 months ago (2013-08-23 15:34:24 UTC) #19
dshwang
On 2013/08/23 15:19:58, Stephen White wrote: > Note: both Firefox and IE give different results ...
7 years, 4 months ago (2013-08-23 16:03:40 UTC) #20
dshwang
On 2013/08/23 15:34:24, Stephen White wrote: > Looks like you'll need to add a TestExpectations ...
7 years, 4 months ago (2013-08-23 16:04:04 UTC) #21
Stephen White
On 2013/08/23 16:03:40, dshwang wrote: > On 2013/08/23 15:19:58, Stephen White wrote: > > Note: ...
7 years, 4 months ago (2013-08-23 16:37:10 UTC) #22
dshwang
On 2013/08/23 16:37:10, Stephen White wrote: > On 2013/08/23 16:03:40, dshwang wrote: > > On ...
7 years, 4 months ago (2013-08-23 16:57:21 UTC) #23
Stephen White
On 2013/08/23 16:57:21, dshwang wrote: > On 2013/08/23 16:37:10, Stephen White wrote: > > On ...
7 years, 4 months ago (2013-08-23 17:11:44 UTC) #24
dshwang
On 2013/08/23 17:11:44, Stephen White wrote: > Actually, I'm fine with keeping it as-is, if ...
7 years, 4 months ago (2013-08-23 17:24:15 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/18286007/51001
7 years, 4 months ago (2013-08-23 17:29:40 UTC) #26
dshwang
I filed the end point issue in w3c bugzilla. https://www.w3.org/Bugs/Public/show_bug.cgi?id=23050
7 years, 4 months ago (2013-08-23 17:47:51 UTC) #27
commit-bot: I haz the power
7 years, 4 months ago (2013-08-23 18:10:46 UTC) #28
Message was sent while issue was closed.
Change committed as 156647

Powered by Google App Engine
This is Rietveld 408576698