Summary: | The text within alt attribute of any image is not displayed on webpages, when images are prevented from loading. | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Roshan <d_rosh2001> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | alan.christopher.jenkins, david, finex |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Patch for kde 4.0.2 (apply to kdelibs) |
Description
Roshan
2007-05-09 13:05:28 UTC
For comparison: Firefox 2.0 Does The Right Thing. *** Bug 154303 has been marked as a duplicate of this bug. *** There is a minimal test case with screenshots (including Opera's correct behaviour for comparison) in http://bugs.kde.org/show_bug.cgi?id=154303 Bug still exists in 3.5.8, BTW. 3.97 has same bug too. Created attachment 23990 [details]
Patch for kde 4.0.2 (apply to kdelibs)
Here's a possible fix.
It does more or less what it's supposed to. It's not ideal - Firefox has a
better solution, where it almost looks like the ALT text is made into a text
node and completely replaces the image. In particular, the ALT text for inline
images will not have the same baseline as the surrounding text. It's much
better than doing nothing though.
P.S. I think this bug should be marked "confirmed".
The patch has not been used right now. Has it been tested? I did build and run it and it did what I expected. However I'm not running with it anymore. I had problems where images weren't loading when they should have been. So I think I missed something :-(. Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. 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 |