WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22746
Enable antialiasing for border drawing, when transformed
https://bugs.webkit.org/show_bug.cgi?id=22746
Summary
Enable antialiasing for border drawing, when transformed
Simon Fraser (smfr)
Reported
2008-12-08 17:21:06 PST
Rotated tables look awful because the border is drawn without antialiasing (see screenshot). We should turn on antialiasing, but why was it turned off in the first place?
Attachments
Screenshot: current state on the left, with antialiasing on the right.
(10.61 KB, image/png)
2008-12-08 17:22 PST
,
Simon Fraser (smfr)
no flags
Details
Borders with alpha
(6.47 KB, image/png)
2008-12-09 10:13 PST
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2008-12-08 17:22:39 PST
Created
attachment 25864
[details]
Screenshot: current state on the left, with antialiasing on the right.
mitz
Comment 2
2008-12-08 17:31:49 PST
Comment on
attachment 25864
[details]
Screenshot: current state on the left, with antialiasing on the right. Why is there a crack in the bottom-right corner in the non-rotated case? It looks like a serious problem.
Simon Fraser (smfr)
Comment 3
2008-12-08 19:11:36 PST
Yeah, that could be an issue.
Simon Fraser (smfr)
Comment 4
2008-12-09 10:13:32 PST
Created
attachment 25890
[details]
Borders with alpha It would also be nice to fix the issues when using rgba() colors as borders (see screenshot).
mitz
Comment 5
2008-12-09 10:18:20 PST
Comment on
attachment 25890
[details]
Borders with alpha
Bug 21835
.
Simon Fraser (smfr)
Comment 6
2008-12-09 17:14:09 PST
Hyatt says that we can't just turn on AA for borders; web authors rely on the per-pixel rendering. We may be able to turn on AA if the element is transformed, though.
mitz
Comment 7
2008-12-17 20:15:01 PST
See also
bug 19421
.
Simon Fraser (smfr)
Comment 8
2010-07-16 13:02:34 PDT
We think this makes
http://unevengoogle.com/
look bad.
Simon Fraser (smfr)
Comment 9
2010-08-18 10:51:16 PDT
Borders used for "pixel art":
http://www.infimum.dk/HTML/slantinfo.html
Simon Fraser (smfr)
Comment 10
2011-04-17 08:55:28 PDT
Another reason to do this is that we draw solid borders with rects (antialiased), and groove/inset/outset borders with polygons (non antia-aliased), so if you change the border style, you go between OK and crappy rendering.
Simon Fraser (smfr)
Comment 11
2011-04-19 11:46:36 PDT
http://trac.webkit.org/changeset/84273
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