History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SEL-367
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: John O'Meara
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

link target is not propagated during click event

Created: 15/Nov/06 08:32 AM   Updated: 15/Nov/06 08:49 AM
Component/s: BrowserBot-Mozilla
Affects Version/s: 0.8.1, 0.8.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive sel-367-test.zip (2 kb)
2. Text File target.1.patch (1 kb)

Environment:
tested on:
Firefox-1.5.0.7 (winxp)
Firefox-1.5.0.8 (linux)
Firefox-2.0 (linux)


 Description  « Hide
When an image is clicked which resides in a link, the href attribute is retrieved correctly, but the target attribute is ignored.

I have tried this in Firefox on Windows and Linux.



 All   Comments   Work Log   Change History      Sort Order:
John O'Meara - 15/Nov/06 08:36 AM
This patch solves the issue on my system. I didn't notice any new failures in the test suite when applied.

This is NOT the best solution, as indicated by the comments.

This does not handle the BASE tag, and only looks for A tags, but the target attribute can apply to A, AREA, BASE, FORM and LINK tags.


John O'Meara - 15/Nov/06 08:49 AM
Testcase

test.html contains the test. The open statement will require modification depending on where this is unzipped.