Page 1 of 1

some placeholder & tooltip issues

Posted: Sat Jul 30, 2011 10:17 am
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?

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 4:49 pm
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.

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 7:00 pm
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?

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 8:43 pm
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.

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 9:46 pm
by al_9x
Please answer 3 and 4a, they are just questions.

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 9:58 pm
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.

Re: some placeholder & tooltip issues

Posted: Mon Aug 01, 2011 10:48 pm
by al_9x
Giorgio Maone wrote:and it could probably be reduced to just one A
seems like a good idea

Re: some placeholder & tooltip issues

Posted: Fri Aug 05, 2011 12:33 pm
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