[Webkit-unassigned] [Bug 125195] Layout Test platform/mac/accessibility/search-predicate-element-count.html is flaky

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 4 10:33:52 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=125195





--- Comment #3 from Samuel White <samuel_white at apple.com>  2013-12-04 10:32:11 PST ---
Looks like AccessibilityObject::isOnscreen() is causing the failure. This is where we check if the elements rect is onscreen by iterating the scroll ancestors and checking for intersection. Debug output shows the following problem while this test runs:

level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 659), (769, 37))
this one failed
level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 717), (769, 28))
this one failed
level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 764), (769, 22))
this one failed
level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 807), (769, 18))
this one failed
level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 10846), (769, 15))
this one failed
level: 1, outer: ((0, 0), (785, 600)), inner: ((8, 10885), (769, 13))
this one failed

This shows us that "outer", which is the parent rect looks correct. However, inner, which is our element rect has a large y offset when isOnscreen is called. Odd...

These six outputs correspond to the last check in the above test which checks that 4 of 6 headings are visible. We expect the last two to have crazy y offsets because we specify such in our CSS.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list