[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

cfleizach at apple.com cfleizach at apple.com
Wed Dec 22 14:13:25 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 20b72a27b078c3045372cb0d806d3e5147059223
Author: cfleizach at apple.com <cfleizach at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Oct 5 17:06:57 2010 +0000

    WAI-ARIA 'marquee' role live region uses aria-live="polite", should use aria-live="off"
    https://bugs.webkit.org/show_bug.cgi?id=47185
    
    Reviewed by Darin Adler.
    
    WebCore:
    
    Test: platform/mac/accessibility/aria-liveregion-marquee-default.html
    
    * accessibility/AccessibilityRenderObject.cpp:
    (WebCore::AccessibilityRenderObject::ariaLiveRegionStatus):
    
    LayoutTests:
    
    * platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt: Added.
    * platform/mac/accessibility/aria-liveregion-marquee-default.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 2b0c08f..6bac543 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
+2010-10-05  Chris Fleizach  <cfleizach at apple.com>
+
+        Reviewed by Darin Adler.
+
+        WAI-ARIA 'marquee' role live region uses aria-live="polite", should use aria-live="off"
+        https://bugs.webkit.org/show_bug.cgi?id=47185
+
+        * platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt: Added.
+        * platform/mac/accessibility/aria-liveregion-marquee-default.html: Added.
+
 2010-10-05  Martin Robinson  <mrobinson at igalia.com>
 
         Reviewed by Gustavo Noronha Silva.
diff --git a/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt b/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt
new file mode 100644
index 0000000..4f5b4a8
--- /dev/null
+++ b/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt
@@ -0,0 +1,13 @@
+marquee1
+marquee2
+This tests that the marquee role has the correct default aria-live status (off).
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS accessibilityController.focusedElement.stringAttributeValue('AXARIALive') is 'off'
+PASS accessibilityController.focusedElement.stringAttributeValue('AXARIALive') is 'assertive'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default.html b/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default.html
new file mode 100644
index 0000000..7bf9ed3
--- /dev/null
+++ b/LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default.html
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
+<script>
+var successfullyParsed = false;
+</script>
+<script src="../../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body id="body">
+
+<div tabindex="0" id="marquee1" role="marquee">marquee1</div>
+<div tabindex="0" id="marquee2" role="marquee" aria-live="assertive">marquee2</div>
+
+<p id="description"></p>
+<div id="console"></div>
+
+<script>
+
+    description("This tests that the marquee role has the correct default aria-live status (off).");
+
+    if (window.accessibilityController) {
+  
+          // Make sure that regular elements are not exposing ARIA live attributes.
+          document.getElementById("marquee1").focus();
+          shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXARIALive')", "'off'");
+
+          document.getElementById("marquee2").focus();
+          shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXARIALive')", "'assertive'");
+    }
+
+    successfullyParsed = true;
+</script>
+
+<script src="../../../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 6d465a1..9edab93 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-10-05  Chris Fleizach  <cfleizach at apple.com>
+
+        Reviewed by Darin Adler.
+
+        WAI-ARIA 'marquee' role live region uses aria-live="polite", should use aria-live="off"
+        https://bugs.webkit.org/show_bug.cgi?id=47185
+
+        Test: platform/mac/accessibility/aria-liveregion-marquee-default.html
+
+        * accessibility/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::ariaLiveRegionStatus):
+
 2010-10-05  Martin Robinson  <mrobinson at igalia.com>
 
         Reviewed by Xan Lopez.
diff --git a/WebCore/accessibility/AccessibilityRenderObject.cpp b/WebCore/accessibility/AccessibilityRenderObject.cpp
index b2cb9c1..42c9889 100644
--- a/WebCore/accessibility/AccessibilityRenderObject.cpp
+++ b/WebCore/accessibility/AccessibilityRenderObject.cpp
@@ -3387,6 +3387,7 @@ const AtomicString& AccessibilityRenderObject::ariaLiveRegionStatus() const
         case ApplicationStatusRole:
             return liveRegionStatusPolite;
         case ApplicationTimerRole:
+        case ApplicationMarqueeRole:
             return liveRegionStatusOff;
         default:
             break;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list