Changeset 189258 in webkit
- Timestamp:
- Sep 2, 2015 1:03:34 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r189254 r189258 1 2015-09-02 Chris Fleizach <cfleizach@apple.com> 2 3 AX: WebKit does not expose max/min value of <progress> element 4 https://bugs.webkit.org/show_bug.cgi?id=148707 5 6 Reviewed by Mario Sanchez Prada. 7 8 * accessibility/mac/progress-element-min-max-expected.txt: Added. 9 * accessibility/mac/progress-element-min-max.html: Added. 10 1 11 2015-09-01 Dean Jackson <dino@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r189255 r189258 1 2015-09-02 Chris Fleizach <cfleizach@apple.com> 2 3 AX: WebKit does not expose max/min value of <progress> element 4 https://bugs.webkit.org/show_bug.cgi?id=148707 5 6 Reviewed by Mario Sanchez Prada. 7 8 Allow native progress indicator elements to report min/max values by rewriting special 9 case code for ARIA progress bars. 10 11 Test: accessibility/mac/progress-element-min-max.html 12 13 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 14 (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): 15 1 16 2015-09-02 Hyemi Shin <hyemi.sin@samsung.com> 2 17 -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r189182 r189258 2572 2572 if ([attributeName isEqualToString: NSAccessibilityMinValueAttribute]) { 2573 2573 // Indeterminate progress indicator should return 0. 2574 if (m_object-> isProgressIndicator()&& !m_object->hasAttribute(aria_valuenowAttr))2574 if (m_object->ariaRoleAttribute() == ProgressIndicatorRole && !m_object->hasAttribute(aria_valuenowAttr)) 2575 2575 return @0; 2576 2576 return [NSNumber numberWithFloat:m_object->minValueForRange()]; … … 2579 2579 if ([attributeName isEqualToString: NSAccessibilityMaxValueAttribute]) { 2580 2580 // Indeterminate progress indicator should return 0. 2581 if (m_object-> isProgressIndicator()&& !m_object->hasAttribute(aria_valuenowAttr))2581 if (m_object->ariaRoleAttribute() == ProgressIndicatorRole && !m_object->hasAttribute(aria_valuenowAttr)) 2582 2582 return @0; 2583 2583 return [NSNumber numberWithFloat:m_object->maxValueForRange()];
Note: See TracChangeset
for help on using the changeset viewer.