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

Side by Side Diff: LayoutTests/accessibility/canvas-description-and-role.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../resources/js-test.js"></script>
5 5
6 <style>canvas { display: inline; border: 1px solid #000; }</style> 6 <style>canvas { display: inline; border: 1px solid #000; }</style>
7 <!-- No whitespace between canvases on purpose, so there's the same 7 <!-- No whitespace between canvases on purpose, so there's the same
8 number of children of the container element on all platforms. --> 8 number of children of the container element on all platforms. -->
9 <div id="container" tabIndex=0 aria-label="Container"><canvas id="canvas1" w idth="100" height="100" aria-label="Canvas label">Fallback text</canvas><canvas id="canvas2" width="100" height="100"><button>Inner button</button></canvas><can vas id="canvas3-skipped" width="100" height="100"></canvas></div> 9 <div id="container" tabIndex=0 aria-label="Container"><canvas id="canvas1" w idth="100" height="100" aria-label="Canvas label">Fallback text</canvas><canvas id="canvas2" width="100" height="100"><button>Inner button</button></canvas><can vas id="canvas3-skipped" width="100" height="100"></canvas></div>
10 10
11 <div id="console"></div> 11 <div id="console"></div>
12 <script> 12 <script>
13 description("This test makes sure that a canvas with and without fallback conten t each has the right role and description.") 13 description("This test makes sure that a canvas with and without fallback conten t each has the right role and description.")
14 14
(...skipping 11 matching lines...) Expand all
26 26
27 var axCanvas2 = axContainer.childAtIndex(1); 27 var axCanvas2 = axContainer.childAtIndex(1);
28 debug('Canvas 2 description: ' + axCanvas2.description); 28 debug('Canvas 2 description: ' + axCanvas2.description);
29 debug('Canvas 2 role: ' + axCanvas2.role); 29 debug('Canvas 2 role: ' + axCanvas2.role);
30 } 30 }
31 31
32 </script> 32 </script>
33 33
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/canvas-accessibilitynodeobject.html ('k') | LayoutTests/accessibility/canvas-fallback-content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698