WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
56353
[Qt] Rendering SVG inside a div with a border seems to fail
https://bugs.webkit.org/show_bug.cgi?id=56353
Summary
[Qt] Rendering SVG inside a div with a border seems to fail
Srinath Avadhanula
Reported
2011-03-14 18:44:45 PDT
When I open the attached try1.html file inside a QWebView widget, I do not see anything at all. Strangely enough if I remove the "<style>...</style>" tags from the HTML page, I do get the correct rendering. In fact, the rendering is OK as long as there is no "border-*" attributes in the style section. Reproduction steps: 1. Save the snippets below as try1.html and try1.svg in some directory 2. Open designer and drag/drop a new QWebView to it. 3. Make the Url point to file://where/ever/you/downloaded/try1.html 4. Preview Now notice that there is nothing displayed in the window. Now comment out all the border-* attributes. You will now see a set of radial gray lines. This is expected. I of-course do not see this problem in a recent version of chrome. I used the latest PyQt (which uses Qt 4.7.1) to see this problem. (I am not sure if the version 420+ is correct. I took a guess)
Attachments
HTML page which shows the bug
(619 bytes, text/html)
2011-03-14 18:45 PDT
,
Srinath Avadhanula
no flags
Details
SVG file to go with try1.html
(1.04 KB, image/svg+xml)
2011-03-14 18:45 PDT
,
Srinath Avadhanula
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Srinath Avadhanula
Comment 1
2011-03-14 18:45:25 PDT
Created
attachment 85755
[details]
HTML page which shows the bug
Srinath Avadhanula
Comment 2
2011-03-14 18:45:58 PDT
Created
attachment 85756
[details]
SVG file to go with try1.html
Benjamin Poulain
Comment 3
2011-03-15 04:24:54 PDT
The test case works for me on trunk. This is probably an old bug that had already been fixed upstream.
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