Bug 56314 - [Qt] CSS Border Radius Percent Values are Ignored
Summary: [Qt] CSS Border Radius Percent Values are Ignored
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2011-03-14 09:45 PDT by anonymous.anonymous123
Modified: 2011-05-19 14:21 PDT (History)
3 users (show)

See Also:


Attachments
testcase (392 bytes, text/html)
2011-05-13 03:15 PDT, ultr
no flags Details
Python script using QWebView (377 bytes, text/x-python)
2011-05-13 03:15 PDT, ultr
no flags Details
rendering (1.49 KB, image/png)
2011-05-13 03:15 PDT, ultr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description anonymous.anonymous123 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.
Comment 1 Benjamin Poulain 2011-03-14 09:52:50 PDT
Closing as invalid for now. Please add a test case and I will reopen.
Comment 2 ultr 2011-05-13 03:15:09 PDT
Created attachment 93426 [details]
testcase
Comment 3 ultr 2011-05-13 03:15:40 PDT
Created attachment 93427 [details]
Python script using QWebView
Comment 4 ultr 2011-05-13 03:15:56 PDT
Created attachment 93428 [details]
rendering
Comment 5 ultr 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)
Comment 6 Benjamin Poulain 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.
Comment 7 anonymous.anonymous123 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?
Comment 8 Benjamin Poulain 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.