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

Side by Side Diff: ManualTests/forms/calendar-picker.html

Issue 552163002: AX: Calendar Picker: Add AX labels to MonthPopupButton and CalendarNavigationButtons. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/web/DateTimeChooserImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset=utf-8> 4 <meta charset=utf-8>
5 <title>Calendar Picker test</title> 5 <title>Calendar Picker test</title>
6 <style> 6 <style>
7 body { 7 body {
8 background-color: #eeffff; 8 background-color: #eeffff;
9 line-height: 1.4em; 9 line-height: 1.4em;
10 font-family: Helvetica, sans-serif; 10 font-family: Helvetica, sans-serif;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 mode: config.type, 262 mode: config.type,
263 locale: config.locale, 263 locale: config.locale,
264 weekStartDay: config.weekStartDay, 264 weekStartDay: config.weekStartDay,
265 isLocaleRTL: config.isLocaleRTL, 265 isLocaleRTL: config.isLocaleRTL,
266 dayLabels: locale_data[config.locale].dayLabels, 266 dayLabels: locale_data[config.locale].dayLabels,
267 shortMonthLabels: locale_data[config.locale].shortMonthLabels, 267 shortMonthLabels: locale_data[config.locale].shortMonthLabels,
268 max: config.max, 268 max: config.max,
269 min: config.min, 269 min: config.min,
270 step: config.step * (config.type === "month" ? 1 : 86400000), 270 step: config.step * (config.type === "month" ? 1 : 86400000),
271 stepBase: "0", 271 stepBase: "0",
272 currentValue: config.value 272 currentValue: config.value,
273 axShowMonthSelector: "Show month selection panel",
274 axShowNextMonth: "Show next month",
275 axShowPreviousMonth: "Show previous month",
276 todayLabel: "Today",
273 } 277 }
274 }; 278 };
275 279
276 function openCalendar() { 280 function openCalendar() {
277 var frame = document.getElementsByTagName('iframe')[0]; 281 var frame = document.getElementsByTagName('iframe')[0];
278 var doc = frame.contentDocument; 282 var doc = frame.contentDocument;
279 doc.documentElement.innerHTML = '<head></head><body><div id=main>Loading...< /div></body>'; 283 doc.documentElement.innerHTML = '<head></head><body><div id=main>Loading...< /div></body>';
280 var commonCssLink = doc.createElement('link'); 284 var commonCssLink = doc.createElement('link');
281 commonCssLink.rel = 'stylesheet'; 285 commonCssLink.rel = 'stylesheet';
282 commonCssLink.href = '../../Source/web/resources/pickerCommon.css?' + (new D ate()).getTime(); 286 commonCssLink.href = '../../Source/web/resources/pickerCommon.css?' + (new D ate()).getTime();
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 document.getElementById('console').appendChild(entry); 350 document.getElementById('console').appendChild(entry);
347 } 351 }
348 352
349 window.onload = function() { 353 window.onload = function() {
350 initializeConfig(); 354 initializeConfig();
351 openCalendar(); 355 openCalendar();
352 }; 356 };
353 </script> 357 </script>
354 </body> 358 </body>
355 </html> 359 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/web/DateTimeChooserImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698