(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: 3.0 (KDE 2.0 Release Candidate 2) Severity: normal Compiler: gcc version 2.95.2 19991024 (release) OS: Linux 2.4.0-test9 i686 (compiled sources) Both images are shown in file:/usr/share/doc/packages/selfhtml/tdchh.htm of Selfhtml <div style="max-width:200px; border:thin solid #772200;"> Auf diesen Textbereich wird die Style-Angabe <tt>max-width:200px</tt> angewendet. Der Text sollte so umgebrochen werden daà er in den Bereich paÃt. Das folgende Bild jedoch hat eine Breite von 267 Pixeln also mehr als die erzwungenen 200 Pixel. Es sollte daher rechts abgeschnitten werden.<br> <img src="xclipa05.jpg" width=267 height=173 alt="Testbild" border="0"> </div> <p>Zum Vergleich hier noch mal das Bild ohne Begrenzungen:<br> <img src="xclipa05.jpg" width=267 height=173 alt="Testbild" border="0"></p> </body>
I notice that the CSS2 property 'max-width' is still not implemented in Konqueror 2.2.1. Since max-width is a very useful property I beg you to implement it as soon as possible. It is already implemented in Mozilla and Opera. I have set up a test page for detecting whether max-width is implemented in a browser: http://www.autark.se/max_width_centering_test.html . -- Per Ãngström
Still missing in HEAD.
Still missing in KDE-3.1b1
Still missing in KDE 3.1-rc3.
Missing in HEAD, but Safari stuff claims to implement it.Should probably be re-tested after the relevant merge
Tested with khtml 2003-06-03: Does not work yet.
Not working yet CVS 2003-08-20
Not working yet CVS 2003-09-11
Not implemented in Konqueror 3.1.4.
Fixed for 3.2.
In an effort to make Konqueror also render non-standard pages properly, why was this not implemented for table-elements, as it is for IE, Opera and Mozilla, so pretty much every browser in use?
Internet Explorer doesn't implement max-width at all. Mozilla 1.6, Firefox 0.8 and Opera 7.23 do not exhibit the behaviour you describe in standards-mode or quirks mode. The actual usage of max-width is rare due to Internet Explorer not supporting it, so non-standard use of max-width will be even rarer. If you have actual cases where it would be beneficial to implement this non-standard behaviour, please post them.
My mistake; I read "table-elements" as "table-cell". Everything I said still applies, except for Opera, which does exhibit the non-standard behaviour you describe.