Index: content/test/data/accessibility/aom/aom-atomic.html |
diff --git a/content/test/data/accessibility/aom/aom-atomic.html b/content/test/data/accessibility/aom/aom-atomic.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..24fda0bbf566c6c635f2608d872ff41014dbb503 |
--- /dev/null |
+++ b/content/test/data/accessibility/aom/aom-atomic.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<!-- |
+@MAC-ALLOW:AXARIAAtomic=* |
+@WIN-ALLOW:atomic:* |
+@WIN-ALLOW:container-atomic:* |
+@BLINK-ALLOW:liveAtomic=true |
+--> |
+<html> |
+<body> |
+ <p id="atomicfalse" role="log" aria-live="polite" tabindex="0"> This test is for atomic="false" </p> |
+ <p id="atomictrue" role="log" aria-live="polite" tabindex="1"> This test is for atomic="true" </p> |
+ |
+ <!-- Roles of "alert" and "status" have implicit aria-atomic of true. --> |
+ <p id="alert" role="alert" tabindex="2">This test is for alert.</p> |
+ <p id="status" role="status" tabindex="3">This test is for status.</p> |
+ |
+ <script> |
+ document.getElementById("atomicfalse").accessibleNode.atomic = false; |
+ document.getElementById("atomictrue").accessibleNode.atomic = true; |
+ </script> |
+ |
+</body> |
+</html> |