Bug 12110
| Summary: | REGRESSION: selection rectangle doesn't appear at maps.yandex.ru | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | genkush, markmalone |
| Priority: | P2 | Keywords: | InRadar, Regression |
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://maps.yandex.ru/moscow | ||
Alexey Proskuryakov
Steps to reproduce:
1. Open http://maps.yandex.ru/moscow
2. Click and drag on the map.
Expected results: a selection rectangle appears while dragging; a zoomed map view is loaded after the mouse button is released.
Actual results: there is no visual indication while dragging, although the zooming does work.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The problem here is that mouseEvent.button numbers were changed to match Firefox and IE. This site performs browser sniffing to support shipping Safari:
if(is_safari){
function ___handleEvent(e){
e.buttonL=e.buttonM=e.buttonR=false;
if(typeof(e.button)!='undefined'){
e.buttonL=(e.button==1);
e.buttonM=(e.button==2);
e.buttonR=(e.button==3);
}
I guess there isn't much we can do here.
David Kilzer (:ddkilzer)
(In reply to comment #1)
> I guess there isn't much we can do here.
The first(?) thing Mark Malone does is to send email to someone at the site to ask them to correct their browser sniffing JavaScript code.
I'm guessing a message in Russian would be more well-received than one in English. :)
Isn't there a tech note or developer web page that describes how to "properly" check for browser features, too?
Alexey Proskuryakov
(In reply to comment #2)
> I'm guessing a message in Russian would be more well-received than one in
> English. :)
Yes, I did send my feedback to <http://feedback.yandex.ru/?from=maps>.
Mark Rowe (bdash)
<rdar://problem/4928690>
Maciej Stachowiak
Downgrading to P2, since this is an evangelism issue and those can't be showstoppers, generally.
Gennady
this bug still applies in current version 2007-07-30
however in Safari 2.0.3 zoom rectangle did show up but was badly following mouse
Alexey Proskuryakov
I can no longer reproduce this.