Needs work
Project:
Drupal core
Version:
main
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Aug 2010 at 21:26 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunThe fact that we were able to break it means that we don't have any test for image buttons.
Comment #2
yched commentedThis is seriously bugging end users, because until this is fixed, image_buttons, without an actual image, are rendered (at least in FF) with a default 'Submit' text (in the browser's locale, french, russian, which looks really scary in the middle of an english page...)
Comment #3
dries commentedCommitted to CVS HEAD. Thanks.
Comment #4
sunWe still need tests here.
Comment #5
artusamakI'm writing a test right now, i'll post it when it'll be ready.
Comment #6
artusamakHere is a first version of the test, i've got one problem with it if somebody can help about that, i'm testing a raw assertion and the result is always false whereas the output of the verbose message and the output of the debug check plain content are equals for the tests testImageButtonMulticlassOutput and testImageButtonDisabledOutput.
If someone has an explanation about what i'm doing wrong, i'll be thankful.
Comment #7
andypostLet's test the patch. There's no new line at the end of the file
Comment #9
artusamakI'm not sure to understand what i have to do with your comment "There's no new line at the end of the file".
The test failed, it's normal because i have my assertion issue.
Comment #10
andypostI mean that at the bottom of the patch
Comment #11
sun.core commentedOnly touches tests, so demoting to normal.
Comment #12
Tor Arne Thune commented