Bug 60755 - [Qt] CSS border-radius rendering is ugly and buggy
Summary: [Qt] CSS border-radius rendering is ugly and buggy
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Unspecified Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2011-05-13 03:02 PDT by ultr
Modified: 2011-05-13 12:32 PDT (History)
2 users (show)

See Also:


Attachments
QWebKit rendering (22.39 KB, image/png)
2011-05-13 03:03 PDT, ultr
no flags Details
Chrome reference rendering (40.80 KB, image/png)
2011-05-13 03:03 PDT, ultr
no flags Details
test page (6.89 KB, text/html)
2011-05-13 03:04 PDT, ultr
no flags Details
Python script using QWebView (375 bytes, text/x-python)
2011-05-13 03:05 PDT, ultr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ultr 2011-05-13 03:02:12 PDT
1) -webkit-border-radius rendering has ugly edges, no matter if antialiasing is active or not
2) it is buggy with thicker borders

See attached screenshot from QWebView and reference rendering from Chrome.

Sample page is also attached together with a Python script using QWebView to display it.
Comment 1 ultr 2011-05-13 03:03:28 PDT
Created attachment 93422 [details]
QWebKit rendering
Comment 2 ultr 2011-05-13 03:03:55 PDT
Created attachment 93423 [details]
Chrome reference rendering
Comment 3 ultr 2011-05-13 03:04:14 PDT
Created attachment 93424 [details]
test page
Comment 4 ultr 2011-05-13 03:05:08 PDT
Created attachment 93425 [details]
Python script using QWebView
Comment 5 ultr 2011-05-13 03:25:29 PDT
Is this a QtWebkit bug, or am I doing something wrong?

Is there any workaround for the ugly edges?
Comment 6 Benjamin Poulain 2011-05-13 12:32:46 PDT
No problem here with WebKit trunk, I get antialiasing for the border.

Try with the graphics system raster. My guess is you render the view with X11 or something like that.