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

Issue 16688004: Large canvas does not honor containing div's border radius (Closed)

Created:
7 years, 6 months ago by rosca
Modified:
7 years, 3 months ago
CC:
blink-reviews, eae+blinkwatch, adamk+blink_chromium.org, mailto:webkitbugtracker_adobe.com, alokp
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Large canvas does not honor containing div's border radius. BUG=137818 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158258

Patch Set 1 #

Patch Set 2 : Test case showing the issue #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : Replaced explicit baselines with NeedsRebaseline #

Patch Set 8 : Replaced explicit baselines with NeedsRebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -4 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas.html View 1 2 3 6 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-all.html View 1 2 3 6 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-all-expected.html View 1 2 3 6 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-border.html View 1 2 3 6 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-padding.html View 1 2 3 6 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-padding-expected.html View 1 2 3 6 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-with-mask.html View 1 2 3 6 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-with-mask-expected.html View 1 2 3 6 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html View 1 2 3 6 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow-expected.html View 1 2 3 6 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-video.html View 1 2 3 6 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-video-ratio.html View 1 2 3 6 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/borders/border-radius-mask-video-shadow.html View 1 2 3 6 1 chunk +39 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContextAnnotation.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 5 chunks +28 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayerClient.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/PaintPhase.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 4 chunks +31 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.h View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 2 3 4 5 10 chunks +44 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderReplaced.cpp View 1 2 3 4 5 3 chunks +10 lines, -3 lines 0 comments Download
M Source/web/painting/ContinuousPainter.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
irosca
The border-radius css property does not have any effect on canvas2d > 256px. This type ...
7 years, 6 months ago (2013-06-09 12:21:02 UTC) #1
jamesr
Interesting. Can you construct some test cases showing the issue? I don't know if we ...
7 years, 6 months ago (2013-06-10 17:26:23 UTC) #2
Stephen White
On 2013/06/10 17:26:23, jamesr wrote: > Interesting. Can you construct some test cases showing the ...
7 years, 6 months ago (2013-06-10 17:44:22 UTC) #3
robertphillips
> I don't know if we support soft clipping for cases like this (and if ...
7 years, 6 months ago (2013-06-11 14:50:55 UTC) #4
Stephen White
On 2013/06/11 14:50:55, robertphillips wrote: > > I don't know if we support soft clipping ...
7 years, 6 months ago (2013-06-11 14:54:08 UTC) #5
robertphillips
I have (now) applied the patch and the clip's still do not seem to be ...
7 years, 6 months ago (2013-06-11 16:45:18 UTC) #6
rosca
On 2013/06/11 16:45:18, robertphillips wrote: > I have (now) applied the patch and the clip's ...
7 years, 6 months ago (2013-06-15 20:54:14 UTC) #7
rosca
I uploaded a set of files implementing rounded corners clipping using a mask. It should ...
7 years, 6 months ago (2013-06-18 21:37:50 UTC) #8
jamesr
Borders can be far more complicated than just a rounded rectangle. Could you add tests ...
7 years, 6 months ago (2013-06-18 21:41:53 UTC) #9
Justin Novosad
On 2013/06/18 21:41:53, jamesr wrote: > Borders can be far more complicated than just a ...
7 years, 6 months ago (2013-06-19 17:47:45 UTC) #10
alokp
On 2013/06/19 17:47:45, junov wrote: > On 2013/06/18 21:41:53, jamesr wrote: > > Borders can ...
7 years, 6 months ago (2013-06-19 21:59:11 UTC) #11
irosca
On 2013/06/19 21:59:11, Alok Priyadarshi wrote: > On 2013/06/19 17:47:45, junov wrote: > > On ...
7 years, 6 months ago (2013-06-19 22:56:08 UTC) #12
rosca
Hi! I uploaded a new set of files fixed the issues with padding and borders ...
7 years, 5 months ago (2013-07-02 17:11:12 UTC) #13
jamesr
Thanks! The compositor interactions seem quite sane. I don't feel quite qualified to check that ...
7 years, 5 months ago (2013-07-03 21:34:00 UTC) #14
Stephen White
+junov, in case he has any comments
7 years, 5 months ago (2013-07-03 21:37:37 UTC) #15
rosca
Thanks, James! https://codereview.chromium.org/16688004/diff/17001/Source/core/rendering/RenderLayerBacking.cpp File Source/core/rendering/RenderLayerBacking.cpp (right): https://codereview.chromium.org/16688004/diff/17001/Source/core/rendering/RenderLayerBacking.cpp#newcode88 Source/core/rendering/RenderLayerBacking.cpp:88: && (isAcceleratedCanvas(renderer) On 2013/07/03 21:34:01, jamesr wrote: ...
7 years, 5 months ago (2013-07-04 07:51:50 UTC) #16
rosca
I rebased the patch and I've made some changes on rendering side (not yet reviewed), ...
7 years, 5 months ago (2013-07-15 22:56:45 UTC) #17
Justin Novosad
On 2013/07/15 22:56:45, Rosca wrote: > I rebased the patch and I've made some changes ...
7 years, 3 months ago (2013-09-11 20:39:38 UTC) #18
jamesr
On 2013/09/11 20:39:38, junov wrote: > On 2013/07/15 22:56:45, Rosca wrote: > > I rebased ...
7 years, 3 months ago (2013-09-11 20:46:24 UTC) #19
Justin Novosad
On 2013/09/11 20:46:24, jamesr wrote: > On 2013/09/11 20:39:38, junov wrote: > > On 2013/07/15 ...
7 years, 3 months ago (2013-09-12 20:30:27 UTC) #20
Stephen White
On 2013/09/12 20:30:27, junov wrote: > On 2013/09/11 20:46:24, jamesr wrote: > > On 2013/09/11 ...
7 years, 3 months ago (2013-09-12 20:36:37 UTC) #21
Justin Novosad
On 2013/09/12 20:36:37, Stephen White wrote: > > LGTM, although it's mostly a rubber-stamp. This ...
7 years, 3 months ago (2013-09-12 20:40:09 UTC) #22
Justin Novosad
On 2013/09/12 20:40:09, junov wrote: > On 2013/09/12 20:36:37, Stephen White wrote: > > > ...
7 years, 3 months ago (2013-09-18 19:08:22 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rosca@adobe.com/16688004/73001
7 years, 3 months ago (2013-09-18 20:54:32 UTC) #24
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=7161
7 years, 3 months ago (2013-09-18 21:21:34 UTC) #25
Justin Novosad
Patch needs approval from an OWNER of Source/web jamesr?
7 years, 3 months ago (2013-09-19 13:43:59 UTC) #26
rosca
On 2013/09/18 19:08:22, junov wrote: > On 2013/09/12 20:40:09, junov wrote: > > On 2013/09/12 ...
7 years, 3 months ago (2013-09-19 13:52:32 UTC) #27
Justin Novosad
On 2013/09/19 13:52:32, Rosca wrote: > On 2013/09/18 19:08:22, junov wrote: > > On 2013/09/12 ...
7 years, 3 months ago (2013-09-19 14:49:19 UTC) #28
jamesr
Source/web/ lgtm
7 years, 3 months ago (2013-09-23 19:27:34 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rosca@adobe.com/16688004/73001
7 years, 3 months ago (2013-09-24 08:05:59 UTC) #30
commit-bot: I haz the power
7 years, 3 months ago (2013-09-24 09:46:06 UTC) #31
Message was sent while issue was closed.
Change committed as 158258

Powered by Google App Engine
This is Rietveld 408576698