some placeholder & tooltip issues

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

some placeholder & tooltip issues

Post by al_9x »

xp sp3, Fx 5.0.1, NS 2.1.2.5, new profile, block flash on trusted
example: http://www.youtube.com/watch?v=_YUugB4IUl4
  1. the tooltip is only 5 lines and each line is truncated, if it's too big for the screen, would be better if it showed as many lines as possible without horizontal truncation.
  2. when the placeholder has focus its background color changes (gets lighter) - you can give it focus by right clicking on it or tabbing into it. Not a big problem, but would be nice to avoid any color changes.
  3. question: why does the placeholder have two DIVs?
  4. sometimes the height of the A of the placeholder does not match the height of the DIV and if A has a border it can be seen as a line through the placeholder

    Code: Select all

    <html>
    <head>
    <style type="text/css">
    A:link { border-top:solid; }
    </style>
    </head>
    <body>
    <iframe src="http://domain.invalid/" width="400" height="300"></iframe>
    </body>
    </html>
    
    1. Why do A and DIV have different heights?
    2. Shouldn't the placeholder A be given a style so that it's not affected by the page's styles?
Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: some placeholder & tooltip issues

Post by Giorgio Maone »

#1 is platform dependent (I don't think I can do anything about native tooltips), while the others are at most cosmetic bugs about a placeholder implementation (v. 2.x) which already changed in the 3.x development value, so there's little value IMHO in investigating/fixing them.
Thanks anyway.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: some placeholder & tooltip issues

Post by dhouwn »

If the tooltips in Firefox were native on Windows, wouldn't they look like in any most other Windows applications, e.g. the text rendered using GDI even when Firefox is in DirectWrite mode?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a2) Gecko/20110730 Firefox/7.0a2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: some placeholder & tooltip issues

Post by Giorgio Maone »

dhouwn wrote:If the tooltips in Firefox were native on Windows, wouldn't they look like in any most other Windows applications, e.g. the text rendered using GDI even when Firefox is in DirectWrite mode?
What I mean is that the placeholder is just an <A> element, and the tooltip is the default (platform-dependent) rendering of its title attribute.
I'm certainly not going to change the default HTML title implementation to "fix" this issue.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: some placeholder & tooltip issues

Post by al_9x »

Please answer 3 and 4a, they are just questions.
Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: some placeholder & tooltip issues

Post by Giorgio Maone »

al_9x wrote:Please answer 3 and 4a, they are just questions.
3: for historical/legacy reasons (in NSA there's just one A and one DIV, and it could probably be reduced to just one A since Firefox now supports multiple background images)
4a: Because of layout quirks, e.g. the ones which caused duplicate content in a recent issue which has just been worked around and you know about.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: some placeholder & tooltip issues

Post by al_9x »

Giorgio Maone wrote:and it could probably be reduced to just one A
seems like a good idea
Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: some placeholder & tooltip issues

Post by al_9x »

Here's another one: the two iframe placeholder divs have different heights on http://www.dell.com/ The inner one is much taller. Placeholder is for http://i.dell.com/tlFramePage.htm at the bottom of the page.

new profile, bock iframe on trusted, forbidIFramesContext=2, allow dell.com
Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
Post Reply