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

Unified Diff: LayoutTests/accessibility/is-richly-editable.html

Issue 1348503003: One AXObjectCache per frame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Send focus notifications when focus is cleared Created 5 years, 3 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: LayoutTests/accessibility/is-richly-editable.html
diff --git a/LayoutTests/accessibility/is-richly-editable.html b/LayoutTests/accessibility/is-richly-editable.html
index 5af84fae1014602f44a2847ceeb7339cf91c984a..fc6425e1a25e1f2fe50ad51dbbccdab2c9354868 100644
--- a/LayoutTests/accessibility/is-richly-editable.html
+++ b/LayoutTests/accessibility/is-richly-editable.html
@@ -10,9 +10,6 @@
<div contentEditable="true">
<p id="richly_editable4">Some text.</p>
</div>
-<iframe id="richly_editable5"
- src="data:text/html,<html><body><p>Some text.</p></body></html>">
-</iframe>
<!-- Non-richly editable elements. -->
<input id="non_richly_editable1" type="text" value="Some text.">
@@ -29,13 +26,9 @@ Some text.</textarea>
<script>
description("This tests that only elements that allow the user to edit rich text in them are recognized as being richly editable.");
- var iframeId = "richly_editable5";
- var iframeDocument = document.getElementById(iframeId).contentDocument;
- iframeDocument.designMode = "on";
-
if (window.accessibilityController) {
- for (var i = 1; i <= 5; ++i) {
+ for (var i = 1; i <= 4; ++i) {
var elementId = "richly_editable" + i;
var element = document.getElementById(elementId);
element.focus();
@@ -43,11 +36,6 @@ Some text.</textarea>
shouldBeTrue("axElement.isRichlyEditable");
}
- iframeDocument.body.focus();
- var axElement = accessibilityController.focusedElement;
- shouldBeTrue("axElement.isRichlyEditable");
-
-
for (var i = 1; i <= 7; ++i) {
var elementId = "non_richly_editable" + i;
var element = document.getElementById(elementId);

Powered by Google App Engine
This is Rietveld 408576698