Title: [95056] trunk
- Revision
- 95056
- Author
- [email protected]
- Date
- 2011-09-13 16:32:36 -0700 (Tue, 13 Sep 2011)
Log Message
MSAA: WebKit reports the document state as disabled
https://bugs.webkit.org/show_bug.cgi?id=67974
<rdar://problem/10095898>
Reviewed by Brian Weinstein.
Source/WebCore:
Test: platform/win/accessibility/document-enabled-state.html
* accessibility/AccessibilityScrollView.h:
(WebCore::AccessibilityScrollView::isEnabled):
This object backs the AccessibleDocument on Windows - always return
true for its enabled state.
LayoutTests:
* platform/win/accessibility/document-enabled-state-expected.txt: Added.
* platform/win/accessibility/document-enabled-state.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (95055 => 95056)
--- trunk/LayoutTests/ChangeLog 2011-09-13 23:10:21 UTC (rev 95055)
+++ trunk/LayoutTests/ChangeLog 2011-09-13 23:32:36 UTC (rev 95056)
@@ -1,3 +1,14 @@
+2011-09-12 Jon Honeycutt <[email protected]>
+
+ MSAA: WebKit reports the document state as disabled
+ https://bugs.webkit.org/show_bug.cgi?id=67974
+ <rdar://problem/10095898>
+
+ Reviewed by Brian Weinstein.
+
+ * platform/win/accessibility/document-enabled-state-expected.txt: Added.
+ * platform/win/accessibility/document-enabled-state.html: Added.
+
2011-08-11 Cris Neckar <[email protected]>
Test for crash when reparenting table elements with associated counters outside the table.
Added: trunk/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt (0 => 95056)
--- trunk/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt 2011-09-13 23:32:36 UTC (rev 95056)
@@ -0,0 +1,8 @@
+This tests that the enabled state of the document is true.
+
+Bug #67974: MSAA: WebKit reports the document state as disabled
+
+This test must be run inside of DumpRenderTree.
+PASS accessibilityController.focusedElement.parentElement().role is "document"
+PASS accessibilityController.focusedElement.parentElement().isEnabled is true
+
Added: trunk/LayoutTests/platform/win/accessibility/document-enabled-state.html (0 => 95056)
--- trunk/LayoutTests/platform/win/accessibility/document-enabled-state.html (rev 0)
+++ trunk/LayoutTests/platform/win/accessibility/document-enabled-state.html 2011-09-13 23:32:36 UTC (rev 95056)
@@ -0,0 +1,25 @@
+<html>
+ <script src=""
+ <script>
+ function runTest()
+ {
+ if (!window.accessibilityController || !window.layoutTestController)
+ return;
+ shouldBe('accessibilityController.focusedElement.parentElement().role', '"document"');
+ shouldBeTrue('accessibilityController.focusedElement.parentElement().isEnabled');
+ }
+ </script>
+ <body _onload_="runTest()">
+ This tests that the enabled state of the document is true.
+
+ <br><br>
+
+ Bug #67974: <a href="" WebKit reports the document state as disabled</a>
+
+ <br><br>
+
+ This test must be run inside of DumpRenderTree.
+
+ <p id="console"></p>
+ </body>
+</html>
Modified: trunk/Source/WebCore/ChangeLog (95055 => 95056)
--- trunk/Source/WebCore/ChangeLog 2011-09-13 23:10:21 UTC (rev 95055)
+++ trunk/Source/WebCore/ChangeLog 2011-09-13 23:32:36 UTC (rev 95056)
@@ -1,3 +1,18 @@
+2011-09-12 Jon Honeycutt <[email protected]>
+
+ MSAA: WebKit reports the document state as disabled
+ https://bugs.webkit.org/show_bug.cgi?id=67974
+ <rdar://problem/10095898>
+
+ Reviewed by Brian Weinstein.
+
+ Test: platform/win/accessibility/document-enabled-state.html
+
+ * accessibility/AccessibilityScrollView.h:
+ (WebCore::AccessibilityScrollView::isEnabled):
+ This object backs the AccessibleDocument on Windows - always return
+ true for its enabled state.
+
2011-08-11 Cris Neckar <[email protected]>
Fixes several bugs when adding CounterNodes to a tree which can cause asymetrical relationships.
Modified: trunk/Source/WebCore/accessibility/AccessibilityScrollView.h (95055 => 95056)
--- trunk/Source/WebCore/accessibility/AccessibilityScrollView.h 2011-09-13 23:10:21 UTC (rev 95055)
+++ trunk/Source/WebCore/accessibility/AccessibilityScrollView.h 2011-09-13 23:32:36 UTC (rev 95056)
@@ -45,6 +45,7 @@
virtual bool accessibilityIsIgnored() const { return false; }
virtual bool isAccessibilityScrollView() const { return true; }
+ virtual bool isEnabled() const { return true; }
virtual bool isAttachment() const;
virtual Widget* widgetForAttachmentView() const;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes