Bug 9301 - Invite button for Windows Live Mail Beta is unclickable
Summary: Invite button for Windows Live Mail Beta is unclickable
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 417.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks: 5695
  Show dependency treegraph
 
Reported: 2006-06-04 08:49 PDT by David Kilzer (:ddkilzer)
Modified: 2020-12-22 15:11 PST (History)
2 users (show)

See Also:


Attachments
Semi-reduced test case with links to live images (1.14 KB, text/html)
2006-06-04 08:51 PDT, David Kilzer (:ddkilzer)
no flags Details
Same semi-reduced test case with local images (3.64 KB, application/zip)
2006-06-04 08:59 PDT, David Kilzer (:ddkilzer)
no flags Details
Another example of this behavior (congrats page) (4.20 KB, text/html)
2006-06-04 09:43 PDT, David Kilzer (:ddkilzer)
no flags Details
Fixed first example by adding onclick attribute to <tr> element (1.16 KB, text/html)
2006-06-05 20:02 PDT, David Kilzer (:ddkilzer)
no flags Details
Fixed second example by adding onclick attribute to <tr> element (1.23 KB, text/html)
2006-06-05 20:05 PDT, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2006-06-04 08:49:59 PDT
I find it ironic that the "Join Now" button on the email from Microsoft to join Windows Live Mail Beta is unclickable in Safari 2.0.3 (417.9.3) + WebKit r14717 (as well as Firefox 1.5.0.4).

The HTML wraps a <tr> tag with an <a> tag, and expects the <td> elements to respond to click events.

Safari+WebKit (and Firefox 1.5.0.4) both move the <a> tag (and an <img> tag that appears after </a> but before </table>) above the <table> tag.  Use Hixie's Live DOM Viewer for details.

http://software.hixie.ch/utilities/js/live-dom-viewer/

Not surprisingly, this works fine in MSIE 6 on Win XP SP2.
Comment 1 David Kilzer (:ddkilzer) 2006-06-04 08:51:19 PDT
Created attachment 8689 [details]
Semi-reduced test case with links to live images
Comment 2 David Kilzer (:ddkilzer) 2006-06-04 08:53:38 PDT
(In reply to comment #1)
> Created an attachment (id=8689) [edit]
> Semi-reduced test case with links to live images

Seriously, I didn't intend this pun when I wrote the description!
Comment 3 David Kilzer (:ddkilzer) 2006-06-04 08:59:52 PDT
Created attachment 8690 [details]
Same semi-reduced test case with local images
Comment 4 David Kilzer (:ddkilzer) 2006-06-04 09:43:36 PDT
Created attachment 8691 [details]
Another example of this behavior (congrats page)
Comment 5 Geoffrey Garen 2006-06-05 07:56:09 PDT
Can someone try to figure out how the IE DOM treats the elements?
Comment 6 David Kilzer (:ddkilzer) 2006-06-05 20:02:00 PDT
(In reply to comment #5)
> Can someone try to figure out how the IE DOM treats the elements?

Adding an onclick attribute to the <tr> element that's just inside the <a> element makes this work in Safari and Firefox just like MSIE.  The contents of the onclick attribute should be identical to the contents of the href attribute in the <a> element.

I will attach a new example with the onclick attribute added.
Comment 7 David Kilzer (:ddkilzer) 2006-06-05 20:02:51 PDT
Created attachment 8722 [details]
Fixed first example by adding onclick attribute to <tr> element
Comment 8 David Kilzer (:ddkilzer) 2006-06-05 20:05:21 PDT
Created attachment 8723 [details]
Fixed second example by adding onclick attribute to <tr> element

This looks better than Attachment 8722 [details] since it has the original image URLs in it.
Comment 9 Sam Sneddon [:gsnedders] 2020-12-22 15:11:57 PST
We still don't have the old IE behaviour, but we do now have all browsers having identical behaviour through the specification of the HTML parser. -> INVALID.