Bug 20363 - Odd selection behavior when right clicking a link
Summary: Odd selection behavior when right clicking a link
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.nature.com/news/index.html
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 15:29 PDT by Gavin Sherlock
Modified: 2024-03-11 15:57 PDT (History)
1 user (show)

See Also:


Attachments
screenshot showing problem (782.25 KB, image/png)
2008-08-12 15:31 PDT, Gavin Sherlock
no flags Details
partial reduction (1.06 KB, text/html)
2008-08-13 09:25 PDT, Gavin Sherlock
no flags Details
further reduction (519 bytes, text/html)
2008-08-13 09:31 PDT, Gavin Sherlock
no flags Details
better reduction (488 bytes, text/html)
2008-08-14 07:47 PDT, Gavin Sherlock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Sherlock 2008-08-12 15:29:48 PDT
Steps to reproduce:

1.  Go to http://www.nature.com/news/index.html
2.  Under the "More Stories" section, right click on some of the links lower down the list

Expected results:

A contextual menu should pop up

Actual Results:

The menu pops up, but a large part of the page also gets selected.  In release Safari (3.1.2) more of the page gets selected than in the latest nightly (r35666), but it is still an odd effect.

Note, this page changes on a daily basis, so I'm not sure whether this bug will always reproduce when going to that page.

Tested on 10.5.4 on a MacPro
Comment 1 Gavin Sherlock 2008-08-12 15:31:33 PDT
Created attachment 22757 [details]
screenshot showing problem

This was after right-clicking on the "Ten diseases in a dish" link, using r35666.
Comment 2 Gavin Sherlock 2008-08-13 09:25:58 PDT
Created attachment 22775 [details]
partial reduction

As close as I could get to a reduction.  Top link shows the behavior, bottom one doesn't.

<span class="hidden">

seems to cause the problem
Comment 3 Gavin Sherlock 2008-08-13 09:31:37 PDT
Created attachment 22776 [details]
further reduction
Comment 4 Gavin Sherlock 2008-08-14 07:47:19 PDT
Created attachment 22792 [details]
better reduction

This doesn't rely on any external resources
Comment 5 Alexey Proskuryakov 2009-02-09 08:28:45 PST
Confirmed with r40778.