Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: Source/core/accessibility/AXRenderObject.cpp

Issue 696123002: Revert of Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/misc/resources/generatedimage.php ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXRenderObject.cpp
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
index d0550795d5aee99c0c21ed38db3219ce8a479c2e..13e7424de97ae56866d1c531ead7497973014032 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -297,11 +297,6 @@
return ImageRole;
}
- // This is for the case where the fallback content kicks in.
- // The normal case should be handled in the case above
- if (node && node->hasTagName(HTMLNames::imgTag))
- return ImageRole;
-
// Note: if JavaScript is disabled, the renderer won't be a RenderHTMLCanvas.
if (isHTMLCanvasElement(node) && m_renderer->isCanvas())
return CanvasRole;
« no previous file with comments | « LayoutTests/http/tests/misc/resources/generatedimage.php ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698