Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r222536 - Web Automation: overflow:hidden elements with no chil…
…dren are mistakenly reported as not visible https://bugs.webkit.org/show_bug.cgi?id=177514 <rdar://problem/31936291> Reviewed by Joseph Pecoraro. * UIProcess/Automation/atoms/ElementDisplayed.js: (isShown.isElementSubtreeHiddenByOverflow): Array.prototype.every returns true when passed an empty list, so we need to check for the case where the element has no children and return 'false'.
- Loading branch information
1 parent
cdc2b8f
commit 50d3b7e
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters