fixing invalid test cases for listitem and option (added parent node with required context roles)
authorJames Craig <jcraig@apple.com>
Tue, 05 Mar 2013 16:24:45 -0800
changeset 129 29bd2b6f5b46
parent 128 9482573f1349
child 130 a2b43610f29a
fixing invalid test cases for listitem and option (added parent node with required context roles)
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-level-1.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-posinset-1.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-setsize-1.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-false.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-mixed.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-true.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-undefined.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-posinset-1.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-false.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-true.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-undefined.html
ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-setsize-1.html
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-level-1.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-level-1.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role listitem; supported state or property "aria-level" value of "1"</title>
    </head>
    <body>
-      <div id="test" role="listitem" aria-level="1">Placeholder content</div>
+      <div role="list"><div id="test" role="listitem" aria-level="1">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-posinset-1.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-posinset-1.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role listitem; supported state or property "aria-posinset" value of "1"</title>
    </head>
    <body>
-      <div id="test" role="listitem" aria-posinset="1">Placeholder content</div>
+      <div role="list"><div id="test" role="listitem" aria-posinset="1">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-setsize-1.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-listitem-aria-setsize-1.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role listitem; supported state or property "aria-setsize" value of "1"</title>
    </head>
    <body>
-      <div id="test" role="listitem" aria-setsize="1">Placeholder content</div>
+      <div role="list"><div id="test" role="listitem" aria-setsize="1">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-false.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-false.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-checked" value of "false"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-checked="false">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-checked="false">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-mixed.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-mixed.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-checked" value of "mixed"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-checked="mixed">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-checked="mixed">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-true.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-true.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-checked" value of "true"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-checked="true">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-checked="true">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-undefined.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-checked-undefined.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-checked" value of "undefined"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-checked="undefined">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-checked="undefined">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-posinset-1.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-posinset-1.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-posinset" value of "1"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-posinset="1">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-posinset="1">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-false.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-false.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-selected" value of "false"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-selected="false">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-selected="false">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-true.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-true.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,9 +6,8 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-selected" value of "true"</title>
    </head>
    <body>
-      <div role="listbox">
-      <div id="test" role="option" aria-selected="true">Placeholder content</div>
-      <div role="option" id="obj1">obj1</div>
-      </div>
+      <div role="listbox"><div id="test" role="option" aria-selected="true">Placeholder content</div></div>
+      <div id="obj1">obj1</div>
+      <div id="obj2">obj1</div>
    </body>
 </html>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-undefined.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-selected-undefined.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-selected" value of "undefined"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-selected="undefined">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-selected="undefined">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>
--- a/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-setsize-1.html	Tue Mar 05 14:55:11 2013 -0600
+++ b/ARIA/1.0/tests/test-files/roles-properties-supported/roles-properties-supported-option-aria-setsize-1.html	Tue Mar 05 16:24:45 2013 -0800
@@ -6,7 +6,7 @@
       <title>&lt;div&gt; with role option; supported state or property "aria-setsize" value of "1"</title>
    </head>
    <body>
-      <div id="test" role="option" aria-setsize="1">Placeholder content</div>
+      <div role="listbox"><div id="test" role="option" aria-setsize="1">Placeholder content</div></div>
       <div id="obj1">obj1</div>
       <div id="obj2">obj2</div>
    </body>