Changeset 139091 in webkit
- Timestamp:
- Jan 8, 2013, 11:52:53 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r139089 r139091 1 2013-01-08 Chris Fleizach <cfleizach@apple.com> 2 3 AX: native popup buttons should not use textUnderElement for their title 4 https://bugs.webkit.org/show_bug.cgi?id=106349 5 6 Reviewed by Ryosuke Niwa. 7 8 Native popup buttons (<select> elements) were calculating its title based on the text 9 under the element. When Bug 103794 introduced a more complete way of getting render text, 10 it causes popup buttons to start returning a title. 11 The fix is that we should not be calculating a title for a native popup button from its children. 12 13 Existing tests cover this functionality. This will fix a failing test. 14 15 * accessibility/AccessibilityNodeObject.cpp: 16 (WebCore::AccessibilityNodeObject::visibleText): 17 1 18 2013-01-08 Ojan Vafai <ojan@chromium.org> 2 19 -
trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp
r137962 r139091 1193 1193 switch (roleValue()) { 1194 1194 case PopUpButtonRole: 1195 // Native popup buttons should not use their button children's text as a title. That value is retrieved through stringValue(). 1196 if (node->hasTagName(selectTag)) 1197 break; 1195 1198 case ButtonRole: 1196 1199 case ToggleButtonRole:
Note:
See TracChangeset
for help on using the changeset viewer.