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

Unified Diff: LayoutTests/accessibility/img-fallsback-to-title.html

Issue 1086753004: Switch LayoutTests to use renamed methods for deprecated text alternatives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add linux expectation Created 5 years, 6 months 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
Index: LayoutTests/accessibility/img-fallsback-to-title.html
diff --git a/LayoutTests/accessibility/img-fallsback-to-title.html b/LayoutTests/accessibility/img-fallsback-to-title.html
index d445c0d44804aa7d071a599ad4ab585efdf42b3d..1de678f773592875ec58a565458164a84fe9fdfd 100644
--- a/LayoutTests/accessibility/img-fallsback-to-title.html
+++ b/LayoutTests/accessibility/img-fallsback-to-title.html
@@ -28,24 +28,24 @@
// First image should have a description of "test1" because there is no alt tag (it should use the title).
// The title should NOT be in the help text.
var image1 = imagesGroup.childAtIndex(0).childAtIndex(0);
- debug("Image1 description: " + image1.description);
- debug("Image1 help: " + image1.helpText + "<br>");
+ debug("Image1 description: " + image1.deprecatedDescription);
+ debug("Image1 help: " + image1.deprecatedHelpText + "<br>");
// Second image should use the description from the alt tag instead of the title.
// The help text should reflect what's in the title.
var image2 = imagesGroup.childAtIndex(0).childAtIndex(1);
- debug("Image2 description: " + image2.description);
- debug("Image2 help: " + image2.helpText + "<br>");
+ debug("Image2 description: " + image2.deprecatedDescription);
+ debug("Image2 help: " + image2.deprecatedHelpText + "<br>");
// Now do the same checks for ARIA type images.
var image3 = imagesGroup.childAtIndex(1);
- debug("Image3 description: " + image3.description);
- debug("Image3 help: " + image3.helpText + "<br>");
+ debug("Image3 description: " + image3.deprecatedDescription);
+ debug("Image3 help: " + image3.deprecatedHelpText + "<br>");
// Now do the same checks for ARIA type images.
var image4 = imagesGroup.childAtIndex(2);
- debug("Image4 description: " + image4.description);
- debug("Image4 help: " + image4.helpText + "<br>");
+ debug("Image4 description: " + image4.deprecatedDescription);
+ debug("Image4 help: " + image4.deprecatedHelpText + "<br>");
// Verify that the first image (with an empty alt tag) is ignored
// by checking the children count of the group containing the native images == 2.
« no previous file with comments | « LayoutTests/accessibility/img-aria-button-alt-tag-expected.txt ('k') | LayoutTests/accessibility/input-file-causes-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698