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

Unified Diff: content/test/data/accessibility/aria/aria-textbox-with-rich-text.html

Issue 1821723002: Exposed the children of elements with role textbox in order to make rich text information available… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled Android test. Created 4 years, 9 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/aria/aria-textbox-with-rich-text.html
diff --git a/content/test/data/accessibility/aria/aria-textbox.html b/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html
similarity index 53%
copy from content/test/data/accessibility/aria/aria-textbox.html
copy to content/test/data/accessibility/aria/aria-textbox-with-rich-text.html
index 93435e65ab9bd674efe98cddeb3c86818c19efc8..09c0a11678cb99833c5535bc44b93520fb2d94a9 100644
--- a/content/test/data/accessibility/aria/aria-textbox.html
+++ b/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html
@@ -14,9 +14,15 @@
<!DOCTYPE html>
<html>
<body>
- <!-- There should be no selection on the document because the textboxes are
- not content editable. -->
- <div role="textbox">TextBox1</div>
- <div role="textbox" aria-multiline="true">TextBox2</div>
+ <div id="textbox1" role="textbox" contentEditable><h1>TextBox1</h1></div>
+ <div role="textbox" aria-multiline="true" contentEditable>
+ <h2>TextBox2</h2>
+ <p>Some text.</p>
+ </div>
+
+ <script>
+ var textbox1 = document.getElementById("textbox1");
+ textbox1.focus();
+ </script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698