If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

In Tags into <button> the title is never showed

NEW
Unassigned

Status

()

Core
Layout: Form Controls
a year ago
a year ago

People

(Reporter: c.larghi, Unassigned)

Tracking

({testcase})

45 Branch
x86_64
Windows 10
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160407164938

Steps to reproduce:

<html><head></head><body>
<button>
<div title="my title">aaaaa</div>
</button>
</body></html>


Actual results:

The tooltip for the div tag is never showed.


Expected results:

The tooltip shoud appear (like in chrome).
(Reporter)

Updated

a year ago
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Updated

a year ago
Status: UNCONFIRMED → NEW
Component: Untriaged → Untriaged
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160407164938

I have tested your issue on latest FF release (45.0.2), latest Nightly build (20160424030601) and managed to reproduce it. I have created a .html file and pasted the code you provided. Firefox does not display the title of the page as Chrome does. IE has the same behavior as Firefox.
Component: Untriaged → Layout: Form Controls
(Reporter)

Comment 2

a year ago
I think Chrome is correct, while IE and firefox fails. In w3c:
https://www.w3.org/TR/2012/WD-html5-20121025/global-attributes.html#attr-title

"If this attribute is omitted from an element, then it implies that the title attribute of the nearest ancestor HTML element with a title attribute set is also relevant to this element."
(Reporter)

Comment 3

a year ago
In IE11 the tooltip is showed correctly.
You need to log in before you can comment on or make changes to this bug.