WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
21835
Overdraw at box corners when using RGBA colors with alpha
https://bugs.webkit.org/show_bug.cgi?id=21835
Summary
Overdraw at box corners when using RGBA colors with alpha
Dan H
Reported
Thursday, October 23, 2008 8:29:12 PM UTC
View URL for demonstration. When top, right, bottom & left borders of an element have different colors, at each corner, they cut along the 45 degree angle and bevel next to each other. When using RGBa color values, which is going to be available in CSS3, like-colored edges "overlap" on corners instead of bevel.
Attachments
Test case that makes the problem more obvious
(270 bytes, text/html)
2010-01-26 21:54 PST
,
Alex Taylor
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
Tuesday, December 9, 2008 6:19:30 PM UTC
<
rdar://problem/5843531
>
Mark Rowe (bdash)
Comment 2
Friday, January 30, 2009 2:24:45 AM UTC
***
Bug 23632
has been marked as a duplicate of this bug. ***
nemo
Comment 3
Saturday, January 23, 2010 12:33:27 AM UTC
I suppose the odd behaviour I ran into here:
http://m8y.org/tmp/testcase177.xhtml
(most noticeable in the enlarged bottom border) is the same?
Simon Fraser (smfr)
Comment 4
Saturday, January 23, 2010 12:43:24 AM UTC
Yep, that looks like the rgba() issue.
nemo
Comment 5
Tuesday, January 26, 2010 6:16:21 PM UTC
Simplified testcase: data:text/html,<div style="width:0;border:16px solid rgba(0,0,0,0.3);-webkit-border-radius:5px"></div>
nemo
Comment 6
Tuesday, January 26, 2010 7:03:44 PM UTC
Oh, and is this really a minor? I mean, right now the only impact is my borders look a rather ugly in Safari and Chrome, but still, they *do* look ugly. I guess I'm just moderately concerned since it looks like this was filed a year and a half ago. Another year and a half of ugly borders in 10% or so of the browsers out there would be a little unfortunate. And, yes, they look plain in IE, I know. But boss is fine with that, and at least they don't have weird patterns in 'em.
Simon Fraser (smfr)
Comment 7
Tuesday, January 26, 2010 7:08:24 PM UTC
***
Bug 31776
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 8
Tuesday, January 26, 2010 7:09:45 PM UTC
See also
bug 9197
,
bug 19651
. We're aware of this. It's more than minor.
Alex Taylor
Comment 9
Wednesday, January 27, 2010 5:54:38 AM UTC
Created
attachment 47492
[details]
Test case that makes the problem more obvious I'll add some notes in here in case someone takes this bug before I find time to do so (won't be for a few months probably). I imagine this bug will be fixed when #9197 and #19651 are resolved but I'll leave it open for now as it makes the other two occur more often and in a more likely case.
Simon Fraser (smfr)
Comment 10
Friday, February 25, 2011 4:36:58 PM UTC
***
Bug 36103
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 11
Friday, February 25, 2011 4:37:03 PM UTC
***
Bug 39591
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 12
Tuesday, April 19, 2011 7:46:30 PM UTC
http://trac.webkit.org/changeset/84273
Daniel Bates
Comment 13
Monday, May 9, 2011 4:47:11 AM UTC
***
Bug 60363
has been marked as a duplicate of this 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