Chromium Code Reviews
DescriptionFix server-side image map click location with "Open link in new tab"
http://web.mit.edu/keithw/www/mapbug.html
Following a link that is part of a server-side image-map should include
the click coordinates in the query string, whether the user
(1) clicks normally, (2) middle-clicks, (3) selects "open link in new tab"
from the context menu.
But (3) choosing "open link in new tab" from the context menu does not
include the click location.
So I expanded ContextMenuClient::showContextMenu() function to include
Event. And then I made URL of context include mouse location information.
Last I made appendServerMapMousePosition function in HTMLAnchorElement to static.
for use this function instead of copying the code into two places
R=tkent@chromium.org,jinho.bang@samsung.com,limasdf@gmail.com, lazyboy@chromium.org
BUG=424721
Patch Set 1 #Patch Set 2 : appendServerMapMousePosition function made static #
Total comments: 10
Patch Set 3 : Change some logics for server-side image click location #Patch Set 4 : Add Test Case for Issue. #Patch Set 5 : Remove body margin for testing. #Patch Set 6 : Add Test for HTMLAnchorElement #
Total comments: 2
Messages
Total messages: 23 (6 generated)
|