-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=17513 Reviewed by Darin Adler. WebCore: Test: fast/events/tab-imagemap.html * accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::focusedImageMapUIElement): (WebCore::AXObjectCache::focusedUIElementForPage): * accessibility/AXObjectCache.h: * accessibility/AccessibilityImageMapLink.h: (WebCore::AccessibilityImageMapLink::areaElement): (WebCore::AccessibilityImageMapLink::mapElement): (WebCore::AccessibilityImageMapLink::isImageMapLink): * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isImageMapLink): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityParentForImageMap): * html/HTMLAreaElement.cpp: (WebCore::HTMLAreaElement::getPath): (WebCore::HTMLAreaElement::getRect): (WebCore::HTMLAreaElement::imageElement): (WebCore::HTMLAreaElement::isKeyboardFocusable): (WebCore::HTMLAreaElement::isFocusable): (WebCore::HTMLAreaElement::dispatchBlurEvent): (WebCore::HTMLAreaElement::updateFocusAppearance): (WebCore::HTMLAreaElement::supportsFocus): * html/HTMLAreaElement.h: * html/HTMLMapElement.cpp: (WebCore::HTMLMapElement::imageElement): * html/HTMLMapElement.h: * platform/graphics/GraphicsContext.h: * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/haiku/GraphicsContextHaiku.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/mac/GraphicsContextMac.mm: (WebCore::drawFocusRingToContext): (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/win/GraphicsContextCGWin.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/wince/GraphicsContextWince.cpp: (WebCore::GraphicsContext::drawFocusRing): * platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::drawFocusRing): * rendering/RenderImage.cpp: (WebCore::RenderImage::paint): (WebCore::RenderImage::paintFocusRings): (WebCore::RenderImage::imageMap): * rendering/RenderImage.h: * rendering/RenderReplaced.h: LayoutTests: * fast/events/resources/tabindex-focus-blur-all.js: (test): (testProgrammaticFocus): * fast/events/tab-imagemap-expected.txt: Added. * fast/events/tab-imagemap.html: Added. * fast/events/tabindex-focus-blur-all-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bc088903