Version: 4.4.4 (using KDE 4.4.4) OS: Linux Konqueror does not close <object /> in XML mode. Reproducible: Always Steps to Reproduce: 1. Render the following document in Konqueror: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" ><head ><title>Empty object tag swallows all following content</title></head ><body ><div ><object data="about:blank" /></div ><p >This text is invisible in Konqueror!</p ></body></html> Actual Results: 1. Empty page. Expected Results: 1. "This text is invisible in Konqueror!" OS: Linux (x86_64) release 2.6.34.7-0.5-desktop Compiler: gcc Workaround: replace <object /> with <object ></object >. This bug prevents Konqueror from rendering any content at docs.redhat.com!
Any specific URL on the RedHat site it looks fine to me on first inspection? (The reason I ask is that the mimetype matters a lot)
Any specific URL on the RedHat site --- it looks fine to me on first inspection? (The reason I ask is that the mimetype matters a lot)
I get this bug on a local file, index.xml.
<URL:http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4/html/Reference_Guide/index.html>
The sample document: - validates in the w3c validator (with a single warning about encoding) - shows no content (the paragraph with "this content is invisible") in the window with Konqueror from KDE 4.4.4, as reported. The document title is set, as expected. - shows no content with Konqueror from KDE 4.7.2, either - shows no content in Firefox 12, either (which perhaps suggests that the bug isn't just Konqueror, or that empty object-element behavior is special) - if you replace the <object /> with <object></object>, the page displays as expected in both Konqueror 4.7.2 and Firefox 12 - if you replace the "about:blank" in the object element with "about:plugins", then behavior starts to differ: Konqueror 4.7.2 still displays nothing, while Firefox 12 displays the expected tekst (but in a different spot that it does with about:blank).
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann