Chrome Version : 51.0.2704.106 (64-bit)
URLs (if applicable) : https://www.expedia.com/
Other browsers tested: Yes
Firefox: OK
What steps will reproduce the problem?
(1) Launch Chrome browser & navigate to https://www.expedia.com/
(2) Open developer console
(3) Run following commands:
l = document.getElementById('package-fhc-label')
l.getBoundingClientRect() // get the x & y co-ordinates
document.elementFromPoint(131.296875, 262.359375)
=> returns incorrect element.
i = document.getElementById('package-fhc')
i.getBoundingClientRect()
document.elementFromPoint(131.296875, 132.296875)
=> returns incorrect element.
What is the expected output?
Should return "<label id="package-fhc-label" class="check col" name="fhc" for="package-fhc">" element
What do you see instead?
Returns incorrect element.
This issue causes Chromedriver test to fail # Issue1406 .
Chromedriver cannot click on <input id="package-fhc" type="radio" .."> as the other element would receive the click: <label id="package-fhc-label"..>...</label>
Comment 1 by durga.behera@chromium.org
, Jul 21 2016Labels: M-54
Status: Untriaged (was: Unconfirmed)