Summary: | [testcase] width:0% in table/tr/td not show correctly | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Cyril Chaboisseau <cyril.chaboisseau> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | james, kollix |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Testcase as attachment for ease of saving |
Description
Cyril Chaboisseau
2006-03-26 18:47:34 UTC
Created attachment 15318 [details]
Testcase as attachment for ease of saving
unconfirming again. We behave the same as Firefox in this case. well, you're right in this _particular_ case that both are giving the same result ...but still the behaviour is odd now , in my original example they really act differently and the reason why it didn't show up in my example is because I over simplified the html to see how both behave differently, just add : <style> td { padding: 0; } </style> in the head section you can also check it here : http://adren.mine.nu/~cyril/width0.html and here is the source : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>test</title> <style> td { padding: 0; } </style> </head> <body> <table style="width:80%"> <tr><td>l1</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:0%"></td><td>0</td></tr> </table></td></tr> <tr><td>l2</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:1%"></td><td>1</td></tr> </table></td></tr> <tr><td>l3</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:2%"></td><td>2</td></tr> </table></td></tr> <tr><td>l4</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:16%"></td><td>16</td></tr> </table></td></tr> <tr><td>l5</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:50%"></td><td>50</td></tr> </table></td></tr> <tr><td>l6</td><td><table style="width:70%"> <tr><td style="background-color: #f99; width:100%"></td><td>100</td></tr> </table></td></tr> </table> </body> </html> Second test case works correctly in 4.0.3 Using Gentoo Linux ~x86 (testing in gentoo lingo). KDE and the majority of packages compiled using gcc 4.3.0. I checked with konqi 4.6.4, KHTML and Webkit, Firefox and opera. All browsers, except KHTML, do not show a bar in the case of 0%. KHTML shows a 1 pixel wide bar. (bar being the cell with a red background). So who is correct ? 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 |