Changeset 271166 in webkit
- Timestamp:
- Jan 5, 2021 12:00:37 PM (19 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/mac/range-orientation-expected.txt (added)
-
LayoutTests/accessibility/mac/range-orientation.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/accessibility/AccessibilitySlider.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r271157 r271166 1 2021-01-05 Chris Fleizach <cfleizach@apple.com> 2 3 AX: aria-orientation is ignored on input[type="range"] 4 https://bugs.webkit.org/show_bug.cgi?id=220222 5 <rdar://problem/72765547> 6 7 Reviewed by Zalan Bujtas. 8 9 * accessibility/mac/range-orientation.html: Added. 10 1 11 2021-01-05 Truitt Savell <tsavell@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r271163 r271166 1 2021-01-05 Chris Fleizach <cfleizach@apple.com> 2 3 AX: aria-orientation is ignored on input[type="range"] 4 https://bugs.webkit.org/show_bug.cgi?id=220222 5 <rdar://problem/72765547> 6 7 Reviewed by Zalan Bujtas. 8 9 Check aria-orientation on range sliders. 10 11 Test: accessibility/mac/range-orientation.html 12 13 * accessibility/AccessibilitySlider.cpp: 14 (WebCore::AccessibilitySlider::orientation const): 15 1 16 2021-01-05 Alicia Boya García <aboya@igalia.com> 2 17 -
trunk/Source/WebCore/accessibility/AccessibilitySlider.cpp
r265514 r271166 56 56 if (!m_renderer) 57 57 return AccessibilityOrientation::Horizontal; 58 59 auto ariaOrientation = getAttribute(aria_orientationAttr); 60 if (equalLettersIgnoringASCIICase(ariaOrientation, "horizontal")) 61 return AccessibilityOrientation::Horizontal; 62 if (equalLettersIgnoringASCIICase(ariaOrientation, "vertical")) 63 return AccessibilityOrientation::Vertical; 64 if (equalLettersIgnoringASCIICase(ariaOrientation, "undefined")) 65 return AccessibilityOrientation::Undefined; 58 66 59 67 const RenderStyle& style = m_renderer->style();
Note: See TracChangeset
for help on using the changeset viewer.