简体   繁体   English

Firefox不显示标题属性

[英]Firefox doesn't show title attribute

I have created a little tooltip framework, which works fine in all modern browsers. 我创建了一个小工具提示框架,该框架在所有现代浏览器中均可正常运行。 There's one thing that really bugs me: in Firefox this seems to disable displaying a regular title (from the title attribute). 有一件事情确实让我感到困扰:在Firefox中,这似乎无法显示常规标题(来自title属性)。 I can't find a cause for this. 我找不到原因。 It's not the mouseover handler that I assign for certain elements, because on regular (non handled) elements, titles are not displayed either. 我为某些元素分配的不是mouseover处理程序,因为在常规(未处理)元素上,标题也不会显示。 Furthermore I experimented width this (see this jsfiddle and it was not replicable) 此外,我尝试了这个宽度(请参阅此jsfiddle ,它不可复制)

Can this be some known Firefox bug (searched the internet for that, but found nothing relevant) or am I doing something wrong in my scripting/html/css? 这可能是某个已知的Firefox错误(在Internet上进行了搜索,但没有找到任何相关信息)还是我在scripting / html / css中做错了什么?

I've put the whole thing in this jsfiddle . 我把整个事情都放在了jsfiddle中 Any brainwave is welcome ... 欢迎任何脑波...

标题显示在我的Firefox中,并且Firefox没有与此相关的任何错误,请尝试更新Firefox,或者浏览器中的某些插件可能导致工具提示隐藏。

Problem solved. 问题解决了。 The mousemove handler, assigned in de DragResize module returned true if there was nothing to do. 如果无事可做,则在de DragResize模块中分配的mousemove处理程序返回true Returning false here solved it. 在这里返回false解决了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM