"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Source/WebCore/accessibility/AXObjectCache.cpp" between
webkitgtk-2.34.1.tar.xz and webkitgtk-2.34.2.tar.xz

About: WebKitGTK+ is a port of the WebKit rendering engine for the GTK library, suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers.

AXObjectCache.cpp  (webkitgtk-2.34.1.tar.xz):AXObjectCache.cpp  (webkitgtk-2.34.2.tar.xz)
skipping to change at line 531 skipping to change at line 531
// Exclude ImageButtons because they are treated as buttons, not as images. // Exclude ImageButtons because they are treated as buttons, not as images.
auto* node = renderer.node(); auto* node = renderer.node();
if (is<HTMLInputElement>(node)) if (is<HTMLInputElement>(node))
return false; return false;
// ImageMaps are not simple images. // ImageMaps are not simple images.
if (downcast<RenderImage>(renderer).imageMap() if (downcast<RenderImage>(renderer).imageMap()
|| (is<HTMLImageElement>(node) && downcast<HTMLImageElement>(node)->hasA ttributeWithoutSynchronization(usemapAttr))) || (is<HTMLImageElement>(node) && downcast<HTMLImageElement>(node)->hasA ttributeWithoutSynchronization(usemapAttr)))
return false; return false;
#if ENABLE(VIDEO)
// Exclude video and audio elements. // Exclude video and audio elements.
if (is<HTMLMediaElement>(node)) if (is<HTMLMediaElement>(node))
return false; return false;
#endif // ENABLE(VIDEO)
return true; return true;
} }
static Ref<AccessibilityObject> createFromRenderer(RenderObject* renderer) static Ref<AccessibilityObject> createFromRenderer(RenderObject* renderer)
{ {
// FIXME: How could renderer->node() ever not be an Element? // FIXME: How could renderer->node() ever not be an Element?
Node* node = renderer->node(); Node* node = renderer->node();
// If the node is aria role="list" or the aria role is empty and its a // If the node is aria role="list" or the aria role is empty and its a
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)