Bug 40542
| Summary: | Maps on ebparks.org (East Bay regional park district) are scaled incorrectly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | jensimmons |
| Priority: | P2 | Keywords: | NeedsReduction |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.6 | ||
Alexey Proskuryakov
Steps to reproduce:
1. Open http://www.ebparks.org/parks/cull_canyon
2. Click on trail map.
3. It grows a little, and a scale icon appears at bottom right.
4. Click the scale icon.
Expected results: maps scales proportionally to 100% (very large).
Actual results: height is increased, but width isn't.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is bad JavaScript code, site works correctly when spoofing as Firefox:
if (hs.safari) this.content.style.maxWidth = this.content.style.width;
The behavior is identical in Safari 4 and Safari 5.