Title: [95210] branches/safari-534.51-branch

Diff

Modified: branches/safari-534.51-branch/LayoutTests/ChangeLog (95209 => 95210)


--- branches/safari-534.51-branch/LayoutTests/ChangeLog	2011-09-15 19:12:59 UTC (rev 95209)
+++ branches/safari-534.51-branch/LayoutTests/ChangeLog	2011-09-15 19:18:13 UTC (rev 95210)
@@ -1,3 +1,18 @@
+2011-09-15  Mark Rowe  <mr...@apple.com>
+
+        Merge r95056.
+
+    2011-09-12  Jon Honeycutt  <jhoneyc...@apple.com>
+
+        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-29  Lucas Forschler  <lforsch...@apple.com>
 
     Merged 92982

Added: branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt (0 => 95210)


--- branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt	                        (rev 0)
+++ branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt	2011-09-15 19:18:13 UTC (rev 95210)
@@ -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: branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state.html (0 => 95210)


--- branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state.html	                        (rev 0)
+++ branches/safari-534.51-branch/LayoutTests/platform/win/accessibility/document-enabled-state.html	2011-09-15 19:18:13 UTC (rev 95210)
@@ -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: branches/safari-534.51-branch/Source/WebCore/ChangeLog (95209 => 95210)


--- branches/safari-534.51-branch/Source/WebCore/ChangeLog	2011-09-15 19:12:59 UTC (rev 95209)
+++ branches/safari-534.51-branch/Source/WebCore/ChangeLog	2011-09-15 19:18:13 UTC (rev 95210)
@@ -1,3 +1,22 @@
+2011-09-15  Mark Rowe  <mr...@apple.com>
+
+        Merge r95056.
+
+    2011-09-12  Jon Honeycutt  <jhoneyc...@apple.com>
+
+        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-09-06  Mark Rowe  <mr...@apple.com>
 
         Merge r94251.

Modified: branches/safari-534.51-branch/Source/WebCore/accessibility/AccessibilityScrollView.h (95209 => 95210)


--- branches/safari-534.51-branch/Source/WebCore/accessibility/AccessibilityScrollView.h	2011-09-15 19:12:59 UTC (rev 95209)
+++ branches/safari-534.51-branch/Source/WebCore/accessibility/AccessibilityScrollView.h	2011-09-15 19:18:13 UTC (rev 95210)
@@ -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
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to