Changeset 112911 in webkit
- Timestamp:
- Apr 2, 2012 11:15:33 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r112904 r112911 1 2012-04-02 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r112851. 4 http://trac.webkit.org/changeset/112851 5 https://bugs.webkit.org/show_bug.cgi?id=82915 6 7 Broke 3 Mac accessibility tests (Requested by enrica on 8 #webkit). 9 10 * accessibility/anchor-link-selection-and-focus-expected.txt: Removed. 11 * accessibility/anchor-link-selection-and-focus.html: Removed. 12 * platform/chromium/test_expectations.txt: 13 * platform/gtk/accessibility/anchor-link-selection-and-focus-expected.txt: Removed. 14 1 15 2012-04-02 Stephen Chenney <schenney@chromium.org> 2 16 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r112904 r112911 1280 1280 BUGCR10322 SKIP : platform/mac/accessibility = PASS FAIL 1281 1281 BUGCR10322 SKIP : platform/win/accessibility = PASS FAIL 1282 BUGCR10322 SKIP : accessibility/anchor-link-selection-and-focus.html = TEXT1283 1282 BUGCR10322 SKIP : accessibility/aria-activedescendant-crash.html = TEXT 1284 1283 BUGCR10322 SKIP : accessibility/aria-combobox.html = TEXT -
trunk/Source/WebCore/ChangeLog
r112910 r112911 1 2012-04-02 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r112851. 4 http://trac.webkit.org/changeset/112851 5 https://bugs.webkit.org/show_bug.cgi?id=82915 6 7 Broke 3 Mac accessibility tests (Requested by enrica on 8 #webkit). 9 10 * accessibility/AXObjectCache.cpp: 11 * accessibility/gtk/AXObjectCacheAtk.cpp: 12 (WebCore::AXObjectCache::handleScrolledToAnchor): 13 (WebCore): 14 * accessibility/mac/AXObjectCacheMac.mm: 15 (WebCore::AXObjectCache::handleScrolledToAnchor): 16 (WebCore): 17 1 18 2012-04-02 Michael Saboff <msaboff@apple.com> 2 19 -
trunk/Source/WebCore/accessibility/AXObjectCache.cpp
r112851 r112911 55 55 #include "FocusController.h" 56 56 #include "Frame.h" 57 #include "FrameSelection.h"58 57 #include "HTMLAreaElement.h" 59 58 #include "HTMLImageElement.h" … … 73 72 #include "RenderView.h" 74 73 #include "ScrollView.h" 75 #include "TextAffinity.h" 76 #include "htmlediting.h" 74 77 75 #include <wtf/PassRefPtr.h> 78 76 … … 158 156 return obj; 159 157 } 160 161 #if HAVE(ACCESSIBILITY) && (PLATFORM(MAC) || PLATFORM(GTK))162 void AXObjectCache::handleScrolledToAnchor(const Node* node)163 {164 ASSERT(node);165 166 Document* document = node->document();167 if (!document)168 return;169 170 RefPtr<Node> refNode = const_cast<Node*>(node);171 document->setFocusedNode(refNode);172 173 Frame* frame = document->frame();174 if (!frame)175 return;176 177 FrameSelection* selection = frame->selection();178 if (!selection)179 return;180 181 Position targetPosition = firstPositionInOrBeforeNode(refNode.get());182 selection->moveTo(targetPosition, DOWNSTREAM);183 }184 #endif185 158 186 159 AccessibilityObject* AXObjectCache::get(Widget* widget) -
trunk/Source/WebCore/accessibility/gtk/AXObjectCacheAtk.cpp
r112851 r112911 232 232 } 233 233 234 void AXObjectCache::handleScrolledToAnchor(const Node*) 235 { 236 } 237 234 238 } // namespace WebCore -
trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
r112851 r112911 145 145 } 146 146 147 void AXObjectCache::handleScrolledToAnchor(const Node*) 148 { 149 } 150 147 151 } 148 152
Note: See TracChangeset
for help on using the changeset viewer.