-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117496 Reviewed by Chris Fleizach. Source/WebCore: We can't make such an assumption. Scripts can insert any element between area and map elements. Merge https://chromium.googlesource.com/chromium/blink/+/b6f486284f08c52904701c93e1ec0b7d6e76af9f. Test: accessibility/image-map-with-indirect-area-crash.html * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest): LayoutTests: Add a regression test from https://chromium.googlesource.com/chromium/blink/+/b6f486284f08c52904701c93e1ec0b7d6e76af9f. * accessibility/image-map-with-indirect-area-crash-expected.txt: Added. * accessibility/image-map-with-indirect-area-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f902007d