Bug 18336
Summary: | Tooltip displays improperly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Blake Sweeney <blakes.85> |
Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | jensimmons, webkit |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.oyez.org/cases/1970-1979/1971/1971_69_5003/ |
Blake Sweeney
When hovering over a picture of the justices the tooltip should display next to the mouse. It does not. Instead, it appears much higher up the page. Picture here: http://i25.tinypic.com/2eupz4p.png
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Marcus
Obviously the tooltip script "tooltip.js" is broken. In particular, these lines
pagex = (isapple == 1 ? 0:(ie5)?iebody.scrollLeft:window.pageXOffset);
pagey = (isapple == 1 ? 0:(ie5)?iebody.scrollTop:window.pageYOffset);
make no sense and should probably be replaced with:
pagex = (window.pageXOffset?window.pageXOffset:iebody.scrollLeft);
pagey = (window.pageYOffset?window.pageYOffset:iebody.scrollTop);
Robert Blaut
Confirmed as an evangelism bug. After changing user agent string to IE7 tooltips are rendered properly. The script tooltips.js should be fixed by oyez.org developers.