Changeset 295307 in webkit
- Timestamp:
- Jun 6, 2022, 5:35:49 PM (4 years ago)
- Location:
- branches/safari-613-branch
- Files:
-
- 2 added
- 5 edited
-
LayoutTests/accessibility/node-only-inert-object-expected.txt (added)
-
LayoutTests/accessibility/node-only-inert-object.html (added)
-
LayoutTests/platform/ios/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/mac-wk1/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/win/TestExpectations (modified) (1 diff)
-
Source/WebCore/accessibility/AccessibilityObject.cpp (modified) (2 diffs)
-
Source/WebCore/accessibility/AccessibilityObject.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613-branch/LayoutTests/platform/ios/TestExpectations
r293471 r295307 2094 2094 fast/dom/linkify-phone-numbers.html [ Pass ] 2095 2095 2096 accessibility/node-only-inert-object.html [ Pass ] 2096 2097 accessibility/video-element-url-attribute.html [ Pass ] 2097 2098 accessibility/visible-character-range.html [ Pass ] -
branches/safari-613-branch/LayoutTests/platform/mac-wk1/TestExpectations
r293375 r295307 606 606 editing/spelling/spelling-unified-emulation.html [ Failure ] 607 607 608 # The inert attribute isn't making objects inaccessible on WK1. 609 accessibility/node-only-inert-object.html [ Failure ] 610 608 611 # Skip due to lack of DumpRenderTree `AccessibilityUIElement::stringDescriptionOfAttributeValue` implementation. 609 612 accessibility/visible-character-range.html [ Skip ] -
branches/safari-613-branch/LayoutTests/platform/win/TestExpectations
r294848 r295307 273 273 # TODO Accept header is handled by the browser 274 274 http/tests/misc/image-checks-for-accept.html [ Skip ] 275 276 # Failing since added in https://bugs.webkit.org/show_bug.cgi?id=241022. 277 accessibility/node-only-inert-object.html [ Failure ] 275 278 276 279 # Need to implement AccessibilityUIElement::clearSelectedChildren() -
branches/safari-613-branch/Source/WebCore/accessibility/AccessibilityObject.cpp
r294848 r295307 2639 2639 return nullptr; 2640 2640 } 2641 2641 2642 const RenderStyle* AccessibilityObject::style() const 2643 { 2644 if (auto* element = this->element()) 2645 return element->computedStyle(); 2646 return nullptr; 2647 } 2648 2642 2649 bool AccessibilityObject::isValueAutofillAvailable() const 2643 2650 { … … 3547 3554 return AccessibilityObjectInclusion::IgnoreObject; 3548 3555 3549 if (renderer() && renderer()->style().effectiveInert()) 3556 auto* style = this->style(); 3557 if (style && style->effectiveInert()) 3550 3558 return AccessibilityObjectInclusion::IgnoreObject; 3551 3559 -
branches/safari-613-branch/Source/WebCore/accessibility/AccessibilityObject.h
r293471 r295307 274 274 Node* node() const override { return nullptr; } 275 275 RenderObject* renderer() const override { return nullptr; } 276 const RenderStyle* style() const; 277 276 278 // Note: computeAccessibilityIsIgnored does not consider whether an object is ignored due to presence of modals. 277 279 // Use accessibilityIsIgnored as the word of law when determining if an object is ignored.
Note:
See TracChangeset
for help on using the changeset viewer.