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

Unified Diff: content/test/data/accessibility/aom/aom-multiline.html

Issue 2796223003: Boolean attributes for Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: content/test/data/accessibility/aom/aom-multiline.html
diff --git a/content/test/data/accessibility/aom/aom-multiline.html b/content/test/data/accessibility/aom/aom-multiline.html
new file mode 100644
index 0000000000000000000000000000000000000000..c258667de94a1d5330f94b4116dae39a66bb5072
--- /dev/null
+++ b/content/test/data/accessibility/aom/aom-multiline.html
@@ -0,0 +1,19 @@
+<!--
+@MAC-ALLOW:AXRole*
+@WIN-ALLOW:IA2_STATE_SINGLE_LINE
+@WIN-ALLOW:IA2_STATE_MULTI_LINE
+@WIN-ALLOW:xml-roles*
+@BLINK-ALLOW:multiline*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+ <div role="textbox" id="multilinefalse"></div>
+ <div role="textbox" id="multilinetrue"></div>
+
+ <script>
+ document.getElementById("multilinefalse").accessibleNode.multiline = false;
+ document.getElementById("multilinetrue").accessibleNode.multiline = true;
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698