Open Bug 183113 Opened 22 years ago Updated 2 years ago

Title tag not working on image in <button> element

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect

Tracking

()

People

(Reporter: Sid.Bos, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016


If you use the button element to surround an image, everything seems to work
fine except the title tag. 



Reproducible: Always

Steps to Reproduce:
I'm attaching an HTML doc that shows this, but here's the core, the first
example shows the title text, the second example doesn't...

Plain Image:
<img SRC="http://mozilla.org/images/mozilla-banner.gif" Title="Test Title1"
CLASS="mozillaorgbanner" WIDTH="600" HEIGHT="58">
<br>
Image in button:
<button><img SRC="http://mozilla.org/images/mozilla-banner.gif" Title="Test
Title1" CLASS="mozillaorgbanner" WIDTH="600" HEIGHT="58"></button>

In IE, both display the title text...
Actual Results:  
"Tooltip" shows up on first image, but not second

Expected Results:  
tooltip should have shown up on second image
Attached file Shows problem
Problem confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows 2000 → All
still seen in Firefox:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20060123 Firefox/1.6a1

WFM in Seamonkey:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20060203 SeaMonkey/1.5a
Depends on: 326827
Bug also seen in branch:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4
Assignee: layout.form-controls → nobody
QA Contact: tpreston → layout.form-controls
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: