Changeset 55611 in webkit
- Timestamp:
- Mar 5, 2010 10:45:32 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r55608 r55611 1 2010-03-05 Chris Fleizach <cfleizach@apple.com> 2 3 Reviewed by Eric Seidel. 4 5 WAI-ARIA live region doesn't appear when <div> only has a <div> child 6 https://bugs.webkit.org/show_bug.cgi?id=35751 7 8 * platform/mac/accessibility/div-containing-div-with-aria-expected.txt: Added. 9 * platform/mac/accessibility/div-containing-div-with-aria.html: Added. 10 1 11 2010-03-05 Dmitry Titov <dimich@chromium.org> 2 12 -
trunk/WebCore/ChangeLog
r55609 r55611 1 2010-03-05 Chris Fleizach <cfleizach@apple.com> 2 3 Reviewed by Eric Seidel. 4 5 WAI-ARIA live region doesn't appear when <div> only has a <div> child 6 https://bugs.webkit.org/show_bug.cgi?id=35751 7 8 Elements should not be ignored if they carry ARIA attributes in them. 9 10 Test: platform/mac/accessibility/div-containing-div-with-aria.html 11 12 * accessibility/AccessibilityObject.cpp: 13 (WebCore::AccessibilityObject::supportsARIAAttributes): 14 * accessibility/AccessibilityObject.h: 15 (WebCore::AccessibilityObject::supportsARIADropping): 16 (WebCore::AccessibilityObject::supportsARIADragging): 17 * accessibility/AccessibilityRenderObject.cpp: 18 (WebCore::AccessibilityRenderObject::supportsARIADropping): 19 (WebCore::AccessibilityRenderObject::supportsARIADragging): 20 (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): 21 * accessibility/AccessibilityRenderObject.h: 22 1 23 2010-03-05 Dmitry Titov <dimich@chromium.org> 2 24 -
trunk/WebCore/accessibility/AccessibilityObject.cpp
r55425 r55611 962 962 } 963 963 964 bool AccessibilityObject::supportsARIAAttributes() const 965 { 966 return supportsARIALiveRegion() || supportsARIADragging() || supportsARIADropping() || supportsARIAFlowTo() || supportsARIAOwns(); 967 } 968 964 969 bool AccessibilityObject::supportsARIALiveRegion() const 965 970 { -
trunk/WebCore/accessibility/AccessibilityObject.h
r55425 r55611 348 348 349 349 // ARIA drag and drop 350 virtual bool supportsARIADropping() { return false; }351 virtual bool supportsARIADragging() { return false; }350 virtual bool supportsARIADropping() const { return false; } 351 virtual bool supportsARIADragging() const { return false; } 352 352 virtual bool isARIAGrabbed() { return false; } 353 353 virtual void setARIAGrabbed(bool) { } … … 520 520 virtual bool ariaLiveRegionBusy() const { return false; } 521 521 522 bool supportsARIAAttributes() const; 523 522 524 #if HAVE(ACCESSIBILITY) 523 525 #if PLATFORM(GTK) -
trunk/WebCore/accessibility/AccessibilityRenderObject.cpp
r55425 r55611 1342 1342 } 1343 1343 1344 bool AccessibilityRenderObject::supportsARIADropping() 1344 bool AccessibilityRenderObject::supportsARIADropping() const 1345 1345 { 1346 1346 const AtomicString& dropEffect = getAttribute(aria_dropeffectAttr).string(); … … 1348 1348 } 1349 1349 1350 bool AccessibilityRenderObject::supportsARIADragging() 1350 bool AccessibilityRenderObject::supportsARIADragging() const 1351 1351 { 1352 1352 const AtomicString& grabbed = getAttribute(aria_grabbedAttr).string(); … … 1549 1549 return false; 1550 1550 } 1551 1552 // if this element has aria attributes on it, it should not be ignored. 1553 if (supportsARIAAttributes()) 1554 return false; 1551 1555 1552 1556 if (m_renderer->isBlockFlow() && m_renderer->childrenInline()) -
trunk/WebCore/accessibility/AccessibilityRenderObject.h
r55390 r55611 228 228 virtual void ariaFlowToElements(AccessibilityChildrenVector&) const; 229 229 230 virtual bool supportsARIADropping() ;231 virtual bool supportsARIADragging() ;230 virtual bool supportsARIADropping() const; 231 virtual bool supportsARIADragging() const; 232 232 virtual bool isARIAGrabbed(); 233 233 virtual void setARIAGrabbed(bool);
Note: See TracChangeset
for help on using the changeset viewer.