Index: chrome/test/data/extensions/api_test/automation/sites/mixins.html |
diff --git a/chrome/test/data/extensions/api_test/automation/sites/mixins.html b/chrome/test/data/extensions/api_test/automation/sites/mixins.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c27429db131619fb5f6a07ea7260fbd6add2438a |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/automation/sites/mixins.html |
@@ -0,0 +1,72 @@ |
+<!-- |
+ * Copyright 2014 The Chromium Authors. All rights reserved. Use of this |
+ * source code is governed by a BSD-style license that can be found in the |
+ * LICENSE file. |
+--> |
+<html> |
+<head> |
+<title>Automation Tests - Mixin attributes</title> |
+</head> |
+<body> |
+ <!-- activedescendant mixin, owns default mixin--> |
+ <input type="text" aria-activedescendant="opt6" aria-readonly="true" |
+ aria-owns="combobox-list" aria-autocomplete="list" role="combobox" |
+ id="combobox-edit"> |
+ <ul aria-expanded="true" role="listbox" id="combobox-list"> |
+ <li role="option" id="opt1">Alabama</li> |
+ <li role="option" id="opt2">Alaska</li> |
+ <li role="option" id="opt3">American Samoa</li> |
+ <li role="option" id="opt4">Arizona</li> |
+ <li role="option" id="opt5">Arkansas</li> |
+ <li role="option" id="opt6">California</li> |
+ <li role="option" id="opt7">Colorado</li> |
+ </ul> |
+ |
+ <!-- link mixins --> |
+ <a href="about://blank" id="real-link">Real link</a> |
+ <div role="link" id="link-role">ARIA link</div> |
+ |
+ <!-- editable text mixins --> |
+ <input type="text" value="Text input" id="text-input"></input> |
+ <textarea id="textarea">Textarea</textarea> |
+ <div tabindex="0" contenteditable role="textbox" id="textbox-role"> |
+ Textbox |
+ </div> |
+ |
+ <script> |
+ document.querySelector('#text-input').setSelectionRange(2, 8); |
+ </script> |
+ |
+ <!-- range mixins --> |
+ <input type="range" id="range-input" max="5" value="4"></input> |
+ <div tabindex="0" role="slider" aria-valuemin="1" aria-valuemax="10" |
+ aria-valuenow="7" aria-valuetext="seven stars" id="slider-role"></div> |
+ <div tabindex="0" role="spinbutton" aria-valuemin="1" aria-valuemax="31" |
+ aria-valuenow="14" id="spinbutton-role"></div> |
+ <div tabindex="0" role="progressbar" aria-valuemin="0" aria-valuenow="0.9" |
+ aria-valuemax="1.0" id="progressbar-role"></div> |
+ <div tabindex="0" role="scrollbar" aria-valuemin="0" aria-valuenow="0" |
+ aria-valuemax="1.0" aria-orientation="vertical" aria-controls="main" |
+ id="scrollbar-role"></div> |
+ |
+ <div id="main">Content for scrollbar to control</div> |
+ |
+ <!-- table and cell mixins --> |
+ <table id="table" role="grid"> |
+ <tr role="row"> |
+ <td role="cell">Cell spanning one column</td> |
+ <td role="cell">Cell spanning one column</td> |
+ <td role="cell">Cell spanning one column</td> |
+ <tr role="row"> |
+ <td colspan="2" role="cell">Cell spanning two columns</td> |
+ <td rowspan="2" role="cell">Cell spanning two rows</td> |
+ </tr> |
+ <tr role="row"> |
+ <td role="cell">Cell spanning one column</td> |
+ <td role="cell">Cell spanning one column</td> |
+ </tr> |
+ </table> |
+ |
+ |
+</body> |
+</html> |