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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html

Issue 2306383005: Made date input field read "mm", "dd", "yyyy", or equivalents in other languages, instead of "blank… (Closed)
Patch Set: Fixed test expectations. Created 4 years, 3 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: third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html
index db8b37cb896e13bc163250e41b91e9ae77fb0c58..db2e85ba3626e88b26170f814c5b74cd3d8c0712 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html
@@ -16,11 +16,11 @@ if (!window.accessibilityController || !window.eventSender)
else {
testInput.focus();
debug('Initial empty state');
- checkFocusedElementAXAttributes('Month, AXValueDescription: blank, intValue:0, range:1-12');
+ checkFocusedElementAXAttributes('Month, AXValueDescription: mm, intValue:0, range:1-12');
eventSender.keyDown('\t');
- checkFocusedElementAXAttributes('Day, AXValueDescription: blank, intValue:0, range:1-31');
+ checkFocusedElementAXAttributes('Day, AXValueDescription: dd, intValue:0, range:1-31');
eventSender.keyDown('\t');
- checkFocusedElementAXAttributes('Year, AXValueDescription: blank, intValue:0, range:1-275760');
+ checkFocusedElementAXAttributes('Year, AXValueDescription: yyyy, intValue:0, range:1-275760');
eventSender.keyDown('\t', ['shiftKey']);
eventSender.keyDown('\t', ['shiftKey']);
@@ -34,13 +34,13 @@ else {
debug('Empty value');
eventSender.keyDown('Backspace');
- checkFocusedElementAXAttributes('Year, AXValueDescription: blank, intValue:0, range:1-275760');
+ checkFocusedElementAXAttributes('Year, AXValueDescription: yyyy, intValue:0, range:1-275760');
eventSender.keyDown('\t', ['shiftKey']);
eventSender.keyDown('Backspace');
- checkFocusedElementAXAttributes('Day, AXValueDescription: blank, intValue:0, range:1-31');
+ checkFocusedElementAXAttributes('Day, AXValueDescription: dd, intValue:0, range:1-31');
eventSender.keyDown('\t', ['shiftKey']);
eventSender.keyDown('Backspace');
- checkFocusedElementAXAttributes('Month, AXValueDescription: blank, intValue:0, range:1-12');
+ checkFocusedElementAXAttributes('Month, AXValueDescription: mm, intValue:0, range:1-12');
debug('');
testInput.parentNode.removeChild(testInput);

Powered by Google App Engine
This is Rietveld 408576698