Closed
Bug 992851
Opened 10 years ago
Closed 10 years ago
Google flight search: book button does not work
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Assigned: karlcow, Mentored)
References
()
Details
(Whiteboard: [country-all] [jsissue] [sitewait] [google])
1) http://www.google.com/flights 2) Search for some flight 3) Pick outgoing and return flights 4) Tap the "book" button Bug: screen goes darker, nothing more happens
Reporter | ||
Comment 1•10 years ago
|
||
This appears at the top of the page, rather than inside the viewport: <div class="gwt-PopupPanel GLMPNSJCADB" style="visibility: visible; overflow: visible; position: absolute; left: 14px; top: 133px;"> In Android stock browser it appears where it's probably intended to, centered vertically in viewport. CSS is presumably different..
Reporter | ||
Comment 2•10 years ago
|
||
This is probably the code that calculates the style.top value: e = (Y$(), em($doc)) - $k(a.ab, u3c) >> 1; f = dm($doc) - $k(a.ab, t3c) >> 1; C4(a, OWc(Wl($doc.body) + e, 0), OWc((el($doc.body) | 0) + f, 0)); Specifically, the code f = dm($doc) - $k(a.ab, t3c) >> 1; is basically document.documentElement.clientHeight - div.offsetHeight /2 OWc((el($doc.body) | 0) + f is basically Math.max(document.body.scrollTop, 0) and here is the bug: the code that reads clientHeight takes document.compatMode into account: function dm(a){return (bXc(a.compatMode,z2c)?a.documentElement:a.body).clientHeight|0} But the code that reads scrollHeight doesn't: function el(a){return a.scrollTop||0} . . el($doc.body) If compatMode is CSS1Compat, it should read scrollTop of document.documentElement, not document.body. This breaks the "lightbox" effect when scrolled down both in Firefox and Opera.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [country-all] → [country-all] [jsissue] [contactready] [google] [mentor=hsteen]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•10 years ago
|
||
Alex has been contacted today.
Updated•10 years ago
|
Mentor: hsteen
Whiteboard: [country-all] [jsissue] [contactready] [google] [mentor=hsteen] → [country-all] [jsissue] [contactready] [google]
Assignee | ||
Updated•10 years ago
|
Whiteboard: [country-all] [jsissue] [contactready] [google] → [country-all] [jsissue] [sitewait] [google]
Assignee | ||
Comment 4•10 years ago
|
||
Tested today on Firefox OS without issues. This seems to have been fixed. We received the tier1 it seems.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•1 month ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•