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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/svg-bounds.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 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
Index: third_party/WebKit/LayoutTests/accessibility/svg-bounds.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/svg-bounds.html b/third_party/WebKit/LayoutTests/accessibility/svg-bounds.html
index d99acda9a6ad2cc650eb05a1f648b3ee541b3a28..236cbe1c5048383a11b7f545feb967d91373f965 100644
--- a/third_party/WebKit/LayoutTests/accessibility/svg-bounds.html
+++ b/third_party/WebKit/LayoutTests/accessibility/svg-bounds.html
@@ -46,28 +46,28 @@ if (window.testRunner && window.accessibilityController) {
var face = container.childAtIndex(0);
debug('Face role: ' + face.role);
- debug('Face label: ' + face.deprecatedDescription);
+ debug('Face label: ' + face.name);
debug('FaceX: ' + (pageX(face) - x));
debug('FaceY: ' + Math.abs(pageY(face) - y));
debug('<br>');
var eye = container.childAtIndex(1);
debug('Eye role: ' + eye.role);
- debug('Eye label: ' + eye.deprecatedDescription);
+ debug('Eye label: ' + eye.name);
debug('EyeX: ' + (pageX(eye) - x));
debug('EyeY: ' + Math.abs(pageY(eye) - y));
debug('<br>');
var nose = container.childAtIndex(3);
debug('Nose role: ' + nose.role);
- debug('Nose label: ' + nose.deprecatedDescription);
+ debug('Nose label: ' + nose.name);
debug('NoseX: ' + (pageX(nose) - x));
debug('NoseY: ' + Math.abs(pageY(nose) - y));
debug('<br>');
var mouth = container.childAtIndex(4);
debug('Mouth role: ' + mouth.role);
- debug('Mouth label: ' + mouth.deprecatedDescription);
+ debug('Mouth label: ' + mouth.name);
debug('MouthX: ' + (pageX(mouth) - x));
debug('MouthY: ' + Math.floor(Math.abs(pageY(mouth) - y)));
debug('<br>');
@@ -82,7 +82,7 @@ if (window.testRunner && window.accessibilityController) {
var image = container.childAtIndex(6);
debug('Image role: ' + image.role);
- debug('Image label: ' + image.deprecatedDescription);
+ debug('Image label: ' + image.name);
debug('ImageX: ' + (pageX(image) - x));
debug('ImageY: ' + Math.abs(pageY(image) - y));
}

Powered by Google App Engine
This is Rietveld 408576698