| Index: content/test/data/accessibility/aria/aria-posinset.html
|
| diff --git a/content/test/data/accessibility/aria/aria-posinset.html b/content/test/data/accessibility/aria/aria-posinset.html
|
| index e9ffd1c99713d4b61aff54f07728c7dd5062f4e4..5f9aa817387d5dec355253e80d47d38c09db0250 100644
|
| --- a/content/test/data/accessibility/aria/aria-posinset.html
|
| +++ b/content/test/data/accessibility/aria/aria-posinset.html
|
| @@ -3,21 +3,49 @@
|
| @MAC-ALLOW:AXARIA*
|
| @WIN-ALLOW:setsize*
|
| @WIN-ALLOW:posinset*
|
| +@WAIT-FOR:Done
|
| -->
|
| <html>
|
| -<body>
|
| +<body onload="loaded()">
|
| <div role="listbox">
|
| - <div tabIndex="0" aria-setsize="4" aria-posinset="1" role="option">Item 1</div>
|
| - <div tabIndex="0" aria-setsize="4" aria-posinset="2" role="option">Item 2</div>
|
| - <div tabIndex="0" aria-setsize="4" aria-posinset="3" role="option">Item 3</div>
|
| - <div tabIndex="0" aria-setsize="4" aria-posinset="4" role="option">Item 4</div>
|
| + <div tabIndex="0" aria-setsize="2" aria-posinset="1" role="option">Item 1</div>
|
| + <div tabIndex="0" aria-setsize="2" aria-posinset="2" role="option">Item 2</div>
|
| </div>
|
| <div role="listbox">
|
| <div tabIndex="0" role="option">Item 1</div>
|
| <div tabIndex="0" role="option">Item 2</div>
|
| - <div tabIndex="0" role="option">Item 3</div>
|
| - <div tabIndex="0" role="option">Item 4</div>
|
| - <div tabIndex="0" role="option">Item 5</div>
|
| </div>
|
| +<form>
|
| + <input type="radio" name="number" value="1" aria-setsize="4" aria-posinset="3">1<br>
|
| + <input type="radio" name="number" value="2" aria-setsize="4" aria-posinset="4">2
|
| +</form>
|
| +<input type="radio" name="fruits" value="Apple">Apple<br>
|
| +<input type="radio" name="fruits" value="Banana">Banana
|
| +<fieldset>
|
| + <legend>Cake</legend>
|
| + <label><input type="radio" name="cake" value="Chiffon cakes" checked>Chiffon cakes</label><br>
|
| + <label><input type="radio" name="cake" value="Chocolate cakes">Chocolate cakes</label>
|
| +</fieldset>
|
| +</form>
|
| +<form>
|
| + <p id = "pTag">
|
| + <label id="parent"><input type="radio" id="elem" name="color" value="red" checked>red</label><br>
|
| + <label><input type="radio" name="color" value="blue">blue</label>
|
| + </p>
|
| +</form>
|
| </body>
|
| +<script>
|
| +function loaded(){
|
| + var parent = document.getElementById("parent");
|
| + var child = document.getElementById("elem");
|
| + parent.removeChild(child);
|
| +
|
| + var p1 = document.getElementById("pTag");
|
| + child = document.createElement("input");
|
| + child.type = "radio";
|
| + child.name = "color";
|
| + p1.insertBefore(child, parent);
|
| + document.body.appendChild(document.createTextNode('Done'));
|
| +}
|
| +</script>
|
| </html>
|
|
|