Changeset 158104 in webkit
- Timestamp:
- Oct 28, 2013 2:57:48 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r158092 r158104 1 2013-10-28 Mario Sanchez Prada <mario.prada@samsung.com> 2 3 [GTK] Expose title and alternative text for links in image maps 4 https://bugs.webkit.org/show_bug.cgi?id=84045 5 6 Reviewed by Chris Fleizach. 7 8 Share test expectations among Mac, GTK and EFL ports and 9 remove expected failures for GTK and EFL. 10 11 * accessibility/image-map1-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map1-expected.txt. 12 * platform/gtk/accessibility/image-map1-expected.txt: Removed. 13 * platform/efl/TestExpectations: Removed failure expectations. 14 * platform/gtk/TestExpectations: Ditto. 15 1 16 2013-10-26 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/LayoutTests/platform/efl/TestExpectations
r157910 r158104 1414 1414 1415 1415 webkit.org/b/121684 accessibility/aria-describedby-on-input.html [ Failure ] 1416 webkit.org/b/84045 accessibility/image-map1.html [ Failure ]1417 1416 webkit.org/b/121593 accessibility/radio-button-title-label.html [ Failure ] 1418 1417 -
trunk/LayoutTests/platform/gtk/TestExpectations
r157921 r158104 1404 1404 webkit.org/b/120596 css3/masking/mask-repeat-space-padding.html [ ImageOnlyFailure ] 1405 1405 1406 webkit.org/b/84045 accessibility/image-map1.html [ Failure ]1407 1408 1406 webkit.org/b/120836 fast/regions/text-region-split-vertical-rl.html [ Failure ] 1409 1407 -
trunk/Source/WebCore/ChangeLog
r158103 r158104 1 2013-10-28 Mario Sanchez Prada <mario.prada@samsung.com> 2 3 [GTK] Expose title and alternative text for links in image maps 4 https://bugs.webkit.org/show_bug.cgi?id=84045 5 6 Reviewed by Chris Fleizach. 7 8 Change the way we decide when the title attribute should be 9 used for the accessible description, by not relying in the 10 titleTagShouldBeUsedInDescriptionField() helper function but 11 in whether we have found a visible text for it or not. 12 13 This actually mimics what the Mac port does and so makes possible 14 to share both the layout test and its expected results. 15 16 * accessibility/atk/WebKitAccessibleUtil.cpp: 17 (accessibilityDescription): Update the method to determine 18 whether the title attribute should be used for the description. 19 1 20 2013-10-28 Bastien Nocera <hadess@hadess.net> 2 21 -
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.cpp
r144636 r158104 126 126 127 127 unsigned length = textOrder.size(); 128 bool visibleTextAvailable = false; 128 129 for (unsigned k = 0; k < length; k++) { 129 130 const AccessibilityText& text = textOrder[k]; … … 132 133 return text.text; 133 134 134 if (text.textSource == TitleTagText && titleTagShouldBeUsedInDescriptionField(coreObject)) 135 switch (text.textSource) { 136 case VisibleText: 137 case ChildrenText: 138 case LabelByElementText: 139 visibleTextAvailable = true; 140 default: 141 break; 142 } 143 144 if (text.textSource == TitleTagText && !visibleTextAvailable) 135 145 return text.text; 136 146 }
Note: See TracChangeset
for help on using the changeset viewer.