| Index: Source/modules/accessibility/AXObject.cpp
|
| diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp
|
| index b2c04ff7e7d06bc2d06ffbaad22bbcef8be633d5..492d9a3610c92d9f3c1eea72ea6efa187b2dc7a9 100644
|
| --- a/Source/modules/accessibility/AXObject.cpp
|
| +++ b/Source/modules/accessibility/AXObject.cpp
|
| @@ -337,17 +337,10 @@ void AXObject::setLastKnownIsIgnoredValue(bool isIgnored)
|
| m_lastKnownIsIgnoredValue = isIgnored ? IgnoreObject : IncludeObject;
|
| }
|
|
|
| -// Lacking concrete evidence of orientation, horizontal means width > height. vertical is height > width;
|
| +// In ARIA 1.1, the default value for aria-orientation changed from horizontal to undefined.
|
| AccessibilityOrientation AXObject::orientation() const
|
| {
|
| - LayoutRect bounds = elementRect();
|
| - if (bounds.size().width() > bounds.size().height())
|
| - return AccessibilityOrientationHorizontal;
|
| - if (bounds.size().height() > bounds.size().width())
|
| - return AccessibilityOrientationVertical;
|
| -
|
| - // A tie goes to horizontal.
|
| - return AccessibilityOrientationHorizontal;
|
| + return AccessibilityOrientationUndefined;
|
| }
|
|
|
| static String queryString(WebLocalizedString::Name name)
|
|
|