RESOLVED INVALID 56314
[Qt] CSS Border Radius Percent Values are Ignored
https://bugs.webkit.org/show_bug.cgi?id=56314
Summary [Qt] CSS Border Radius Percent Values are Ignored
anonymous.anonymous123
Reported 2011-03-14 09:45:46 PDT
I am having trouble with my web application being viewed in QtWebkit. When I specify a percent value for the css border-radius propery, eg 'border-radius: 5%', or even '-webkit-border-radius: 5%', it is completely ignored and I get a square without rounded corners. If I specify a px value, it works fine. Everything is fine in Google Chrome / Chromium which also uses Webkit.
Attachments
testcase (392 bytes, text/html)
2011-05-13 03:15 PDT, ultr
no flags
Python script using QWebView (377 bytes, text/x-python)
2011-05-13 03:15 PDT, ultr
no flags
rendering (1.49 KB, image/png)
2011-05-13 03:15 PDT, ultr
no flags
Benjamin Poulain
Comment 1 2011-03-14 09:52:50 PDT
Closing as invalid for now. Please add a test case and I will reopen.
ultr
Comment 2 2011-05-13 03:15:09 PDT
Created attachment 93426 [details] testcase
ultr
Comment 3 2011-05-13 03:15:40 PDT
Created attachment 93427 [details] Python script using QWebView
ultr
Comment 4 2011-05-13 03:15:56 PDT
Created attachment 93428 [details] rendering
ultr
Comment 5 2011-05-13 03:17:04 PDT
I confirm this bug. Testcase added. (the ugly radius border in the picture is related to another bug: https://bugs.webkit.org/show_bug.cgi?id=60755)
Benjamin Poulain
Comment 6 2011-05-13 12:39:48 PDT
(In reply to comment #5) > I confirm this bug. > Testcase added. > > (the ugly radius border in the picture is related to another bug: https://bugs.webkit.org/show_bug.cgi?id=60755) Looks like the bug is already fixed. The test case works fine on WebKit trunk. Try QtWebKit 2.2 TP that has just been released.
anonymous.anonymous123
Comment 7 2011-05-19 11:39:50 PDT
(In reply to comment #6) > (In reply to comment #5) > > I confirm this bug. > > Testcase added. > > > > (the ugly radius border in the picture is related to another bug: https://bugs.webkit.org/show_bug.cgi?id=60755) > > Looks like the bug is already fixed. The test case works fine on WebKit trunk. Try QtWebKit 2.2 TP that has just been released. In that case, how can I upgrade QtWebkit in a Qt project?
Benjamin Poulain
Comment 8 2011-05-19 14:21:03 PDT
(In reply to comment #7) > In that case, how can I upgrade QtWebkit in a Qt project? Look on the wiki: http://trac.webkit.org/wiki/QtWebKit Please ask those questions on the mailing list. A bug report is not the right place for discussion about WebKit usage.
Note You need to log in before you can comment on or make changes to this bug.