12020-08-12 Dean Jackson <dino@apple.com>
2
3 First search on Google Maps shows black bar at top of map and blank strips through the middle
4 https://bugs.webkit.org/show_bug.cgi?id=214945
5 <rdar://problem/63374422>
6
7 Reviewed by NOBODY (OOPS!).
8
9 On iOS with an attached keyboard, Google Maps appears to calculate
10 the viewport it will use for map display at a time when the Unified
11 Control Bar (keyboard accessories) is visible. If it then changes the
12 map location via the user submitting a search form, the resulting map
13 will be using the incorrect viewport as the control bar has disappeared.
14 This causes parts of the map display to get the wrong stencil masks, leaving
15 blank strips. This fixes itself as soon as you force the map to recalculate
16 its viewport (e.g. by rotating the device).
17
18 Rather than have Google Maps update its code to detect these viewport changes,
19 we're adding a Quirk to not use the control bar in these calculations.
20
21 * page/Quirks.cpp:
22 (WebCore::Quirks::shouldAvoidResizingWhenInputViewBoundsChange const):
23 Return true for "*.google.com/maps/".
24