-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core(tap-targets): drop custom node rect creation #12005
Conversation
@@ -4827,12 +4827,12 @@ | |||
"path": "3,HTML,1,BODY,17,BUTTON", | |||
"selector": "body > button.small-button", | |||
"boundingRect": { | |||
"top": 484, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just noticed these (huge) differences :o need to investigate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I had to remind myself that this bounding rect is only used for full page screenshot positioning, and the value will have no effect on tap target results
I reckon numbers are so different because we changed deviceScaleFactor
Running LH against dbw_tester and viewing report shows that the screenshot lines up just fine.
I updated the sample artifact for TapTargets, it was a little old.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I saw the "need to investigate" comment and missed the follow up comment.
LGTM! The new rects look good
Fixes #11948