Version: Viewed from Konqueror (using KDE KDE 3.2.1) Compiler: gcc 3.3.3 w/ CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=387" OS: Linux I have attached a page where not only does the file upload not work, the screen/button does not even show up! I hope the attached HTML helps. I cannot let you test further since it's for my school's network. :(
Created an attachment (id=5572) [details] Obviously bad test case The problem, when compared against the screen output from Mozilla, should be fairly obvious. Thanks!
height=1 is the problem
CVS commit by coolo: ignore height and width on input elements that aren't image submit buttons BUG: 79269 M +5 -0 ChangeLog 1.321 M +6 -6 html/html_formimpl.cpp 1.398 --- kdelibs/khtml/ChangeLog #1.320:1.321 @@ -1,2 +1,7 @@ +2004-10-30 Stephan Kulow <coolo@kde.org> + + * html/html_formimpl.cpp (parseAttribute): ignore height element + for input elements that are not image + 2004-10-28 Stephan Kulow <coolo@kde.org> --- kdelibs/khtml/html/html_formimpl.cpp #1.397:1.398 @@ -1233,9 +1233,9 @@ void HTMLInputElementImpl::parseAttribut break; case ATTR_WIDTH: - // ignore this attribute, do _not_ add - // a CSS_PROP_WIDTH here! - // webdesigner are stupid - and IE/NS behave the same ( Dirk ) + if ( m_type == IMAGE ) + addCSSLength(CSS_PROP_WIDTH, attr->value() ); break; case ATTR_HEIGHT: + if ( m_type == IMAGE ) addCSSLength(CSS_PROP_HEIGHT, attr->value() ); break;
You need to log in before you can comment on or make changes to this bug.