Bug 143972 - adding a 'title="..."' to <link rel="stylesheet" ... /> causes images embedded as <object>s to vanish after page loaded
Summary: adding a 'title="..."' to <link rel="stylesheet" ... /> causes images embedde...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-08 22:22 UTC by Nikolaus Waxweiler
Modified: 2011-01-09 23:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaus Waxweiler 2007-04-08 22:22:51 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    FreeBSD Ports
Compiler:          3.4.6 [FreeBSD] 20060305 
OS:                FreeBSD

Go to http://twb.ath.cx/~twb/canon/sicp/book-Z-H-11.xhtml#sec_1.2.1 and you'll see that images load fine, but after the page has finished loading, they vanish. 

1. Get the sample at http://www.multimania.com/madleser/coding/konq-css-stylesheet-title-bug.tar.gz
2. Open book-Z-H-11.xhtml in an editor
3. Delete 'title="default"' to make image in <object> appear OR change the CSS href to  something like 'href="book-Z-C.cssgdfgdf"' (-> not found). Doesn't seem to be related to the content of the CSS file, but I included it anyway, completely commented out.
4. Load the file in Konqueror
Comment 1 mutlu inek 2008-04-20 22:56:54 UTC
The image does not vanish any more with Konqui from 3.5.9, nor with Konqui from KDE4 trunk, r798847.

However, now the image is shown twice with the text "aaa" inserted in between both images.
Comment 2 mutlu inek 2008-07-27 19:53:58 UTC
I just checked again with the final 4.1. The behavior is just like I described in my previous posting. However, looking at the html file again, I have come to realize that this must be the intended behavior. I am not sure why I thought it was still rendering wrong.

In short: I believe this bug has been resolved.

Nikolaus, can you confirm this?
Comment 3 Nikolaus Waxweiler 2008-07-28 13:19:48 UTC
Using Konqueror in KDE 3.5.9 (OpenSUSE 11.0 x86_64), bug not resolved for me.. I guess I have to wait for the 4.1 final release to test this bug. (BTW: yes, the image should appear twice)
Comment 4 Nikolaus Waxweiler 2008-08-03 21:50:33 UTC
Just tested it with Konqui in 4.1 (OpenSUSE 11.0, KDE 4.1 via KDE:/KDE4:/Factory:/Desktop). Bug not resolved. Huh?
Comment 5 mutlu inek 2008-08-13 13:51:37 UTC
Weird. I can see the images. Could someone else test this, please?
Comment 6 mutlu inek 2009-12-21 04:38:34 UTC
I tested again with KDE SC 4.3.4 and KDE SC 4.4 beta 2. The images are shown just fine. Furthermore the "aaa" I was wondering about previously is actually in the xhtml file.

Please close this bug report. I has been fixed long ago.
Comment 7 mutlu inek 2010-06-07 10:43:06 UTC
I re-tested this. It works perfectly in 4.4.82 (KDE SC 4.5 beta2), too. Please
close.
Comment 8 Samuel Brack 2011-01-09 23:16:42 UTC
CLosing this report due to the comments above.