Someone has to close this, somehow. Guess it'll be me, complete with parting shots AND concessions.
I'll skip over the personal stuff, but the stuff where you quote selectively is something you need to work on (I'll address my weaknesses later in this reply). If I said "I will shoot the President in a video game called Escape from New York tonight." you'd quote me as "I will shoot the President tonight." and report me to the SS for interrogation. Forums might be troublesome for inflection and tone, but they do document the words. Leaving out words, i.e. context, MATTERS. Okay, moving on to substance...
Now I know you think I'm clueless at CSS, but when I originally said the image was block level after examing the OP's CSS, I thought I was sure but didn't quite recall why. Just now, after dinner, it hit me. I saw some CSS years ago that set the margin-bottom to 0 pixels which fixed formatting issues similar to the OP's situation when it was a mostly a NS and MSIE world.
The original CSS used by the OP (who mentioned the margin setting in his comments, getting my brain working):
Code:
div.title img {
margin: 0;
padding: 0;
border: solid red 1px;
}
This *should* have made the image BEHAVE as block level (even if not reported as such). This is why I said what I said at the time, not out of complete ignorance.
The solution is to remove the extra <br>, and declare the image a CSS block-level element with margin-bottom: 0px. This way, excessive space beneath the image baseline is removed in all instances, and all browser engines are happy campers.
Source
Above is just a quote shared on alot of sites about methods of making images block level that factually supports what I recalled originally. The solution quoted is actually a hack for non MSIE browsers circa 2002, but I think this reveals how some Gecko engines certainly react (even now), and the OP listed Gecko based browsers if you recall. Lightbulb finally on in my head, but of course I forgot then that images are indeed inline by default in CSS. I should have questioned myself then, ugh.
So, yep, I still screwed up, heh.
(wondering out loud if margin setting to 0, Gecko browser, etc., has made you re-think your answer to the OP's question)
Now about my solution - I know your scalable solution includes dynamic situations, and I concur, but that's not even remotely related to the test case (mine is), so it should be dismissed (respectfully) from this topic. Mine seems to be holding up after much scrutiny in the context in which I presented it (for test case and similar real world). And, dammit, sometimes it
is as simple as adding a static height, just the same way developers simply add static width to resolve rendering issues cross platform (and I included examples, all documented and well known, you "learnt something" there). Other solutions might implicate other changes intended by the developer, and the one single change mine makes, which you noted via "the developer equally might not want the height of the div fixed", is not in question because the entire exercise was to bottom justify the image in the div! Setting div height does PRECISELY that so it meets the demand of the test case. I even suggested 51px originally so the two red borders even align perfectly (one inside the other, pixel perfect).
You've not challenged these very specific and technical aspects convincingly in my opinion - you only challenged ME.
Probably too drained to do so -- like me, eh?

I understand.
Ya know, there really is nothing wrong with suggesting to users that even though the test case is very limited, the basic principles can be applied and using such and such code in those situations might make life easier. I am sorry you thought I was being disrespectful at the time, but it really wasn't intended that way.
I apologize, with bowed head, for how it might have come out.
Okaaay. I'm going to let us both off our virtual hooks, we'll agree to disagree, let others read, decide, barf, whatever.
You and I should both just shut the !#$$!! up now. I'll start!!!!!

<--- kidding with ya!!!! (been a long day)
-jim