haikuwebkit/LayoutTests/accessibility/math-multiscript-attributes...

166 lines
2.7 KiB
Plaintext
Raw Permalink Normal View History

AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
X
D
C
B
A
This tests the attributes of the children of a MathML mmultiscripts element.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
AXRole: AXGroup
AXSubrole: AXMathIdentifier
AXRoleDescription: group
AXChildren:
AXHelp:
AXParent:
Refactor RenderMathMLOperator and RenderMathMLToken to avoid using anonymous renderers. https://bugs.webkit.org/show_bug.cgi?id=155018 Patch by Frederic Wang <fwang@igalia.com> on 2016-06-24 Reviewed by Martin Robinson. Source/WebCore: No new tests, already covered by existing tests. We use MathOperator for RenderMathMLOperator to avoid creating anonymous text nodes again and again. We reimplement implicit mathvariant="italic" on single-char mi in a way that does not rely on creating anonymous text nodes. Finally, we improve the determination/update of when mathvariant is italic to avoid breaking foreign-mi-dynamic test. The change in the render tree structure breaks mfenced accessibility support but that will be fixed in follow-up patches. The simplifications made here will also allow to simplify the accessibility code. * css/mathml.css: (mo): Deleted. This flexbox rule is no longer needed. * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::createAnonymousMathMLBlock): Deleted. We no longer need to create anonymous renderer with this function. * rendering/mathml/RenderMathMLBlock.h: Delete createAnonymousMathMLBlock. * rendering/mathml/RenderMathMLOperator.cpp: Implement layout functions without relying on flexbox or anonymous. (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Handle the case of !useMathOperator() for which we need to add extra operator spacing after the RenderMathMLToken layout. (WebCore::RenderMathMLOperator::layoutBlock): Ditto. (WebCore::RenderMathMLOperator::isChildAllowed): Deleted. We allow the non-anonymous text. (WebCore::RenderMathMLOperator::rebuildTokenContent): No longer destroy and rebuild anonymous wrapper. Remove updateStyle call. (WebCore::RenderMathMLOperator::updateStyle): Deleted. We no longer need anonymous style for the spacing. * rendering/mathml/RenderMathMLOperator.h: Remove updateStyle() and isChildAllowed(). Make textContent() public so that it can be accessed from the accessibility code. * rendering/mathml/RenderMathMLToken.cpp: Reimplement implicit mathvariant="italic" by painting MATHEMATICAL ITALIC characters instead of styling an anonymous wrapper. (WebCore::RenderMathMLToken::RenderMathMLToken): Init m_mathVariantGlyph and m_mathVariantGlyphDirty (WebCore::RenderMathMLToken::updateTokenContent): Set mathvariant glyph dirty when the content changes. (WebCore::transformToItalic): Helper function to map latin and greek alphabets to their MATHEMATICAL ITALIC counterpart. (WebCore::RenderMathMLToken::computePreferredLogicalWidths): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::updateMathVariantGlyph): Helper function to update the mathvariant glyph. For now, we try and keep with the old (and limited) implementation: a mathvariant glyph may only used for single-char <mi> without mathvariant attribute attached to it. (WebCore::RenderMathMLToken::styleDidChange): Set the mathvariant glyph dirty when the style changes. (WebCore::RenderMathMLToken::updateFromElement): Remove updateStyle call and set mathvariant glyph dirty. (WebCore::RenderMathMLToken::firstLineBaseline): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::layoutBlock): Ditto. (WebCore::RenderMathMLToken::paint): Ditto. (WebCore::RenderMathMLToken::paintChildren): Ditto. (WebCore::RenderMathMLToken::addChild): Deleted. No need to bother with anonymous renderer or style. (WebCore::RenderMathMLToken::createWrapperIfNeeded): Deleted. Ditto. (WebCore::RenderMathMLToken::updateStyle): Deleted. Ditto. * rendering/mathml/RenderMathMLToken.h: Update declarations of functions. (WebCore::RenderMathMLToken::setMathVariantGlyphDirty): Helper function to indicate that the mathvariant glyph will need to be updated. LayoutTests: We update the test expectations. Most of the adjustments are irrelevant visual modifications (small shift and size differences) or due to changes in the renderer tree structure (removal of anonymous, operator text appearing in the dumped text). We disable the accessibility for mfenced for now, but this will be enabled again and improved in follow-up accessibility patches. * platform/ios-simulator/TestExpectations: We disable two reftests that use a character from the Mathematical Alphanumeric Symbols block as a reference, since iOS does not have appropriate fonts pre-installed. * accessibility/mac/mathml-elements.html: Disable the mfenced test for now. * accessibility/mac/mathml-elements-expected.txt: Ditto. * accessibility/ios-simulator/math-expected.txt: Update the reference now that the text of the operator appears in the render tree. * accessibility/mac/math-alttext-expected.txt: Ditto. * mathml/opentype/large-operators-italic-correction-expected.txt: Ditto. * mathml/opentype/large-operators-munderover-expected.txt: Ditto. * mathml/presentation/inferred-mrow-stretchy-expected.txt: Ditto. * mathml/presentation/mfrac-nested-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-symmetric-expected.txt: Ditto. * mathml/presentation/sup-nested-expected.txt: Ditto. * mathml/very-large-stretchy-operators-expected.txt: Ditto. * platform/mac/accessibility/math-text-expected.txt: Ditto. * platform/gtk/accessibility/math-text-expected.txt: Ditto. * fast/css/readonly-pseudoclass-common-element-expected.txt: Ditto. * fast/css/readwrite-pseudoclass-editable-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt: Ditto. * mathml/presentation/attributes-background-color.html: Add some padding to workaround some small rendering failures. * mathml/presentation/attributes-background-color-expected.html: Ditto. * mathml/presentation/attributes-display.html: Ditto. * mathml/presentation/attributes-display-expected.html: Ditto. * mathml/presentation/bug97990-expected.html: Ditto. * mathml/presentation/bug97990.html: Ditto. * mathml/presentation/attributes-mathvariant-expected.html: Update the reftest to use italic characters from the Mathematical Alphanumeric Symbols. * mathml/presentation/tokenElements-mathvariant-expected.html: Ditto. * mathml/presentation/mo-whitespaces-expected.html: Adjust one edge case since we now only collapse whitespace for operators that use MathOperator. * accessibility/math-multiscript-attributes-expected.txt: Small size/coordinate adjustment. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Dottp. * platform/gtk/mathml/presentation/roots-expected.txt: Size/coordinate adjustment, removal of anonymous renderers and use italic characters from the Mathematical Alphanumeric Symbols. * platform/gtk/mathml/presentation/roots-expected.png: Ditto. * platform/ios-simulator/mathml/presentation/roots-expected.txt: Ditto. * platform/gtk/mathml/opentype/horizontal-expected.txt: Size/coordinate adjustment and removal of anonymous renderers. * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/gtk/mathml/opentype/large-operators-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/gtk/mathml/opentype/vertical-expected.txt: Ditto. * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/large-operators-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/mac/mathml/opentype/vertical-expected.txt: Ditto. Canonical link: https://commits.webkit.org/177180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-06-24 14:39:58 +00:00
AXSize: NSSize: {14, 25}
AXTitle:
AXDescription:
AXValue:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXFocused: 0
AXEnabled: 1
AXWindow:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelectedTextMarkerRange: (null)
AXStartTextMarker:
AXEndTextMarker:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXVisited: 0
AXLinkedUIElements:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelected: 0
AXBlockQuoteLevel: 0
AXTopLevelUIElement:
AXLanguage:
AXDOMIdentifier:
AXDOMClassList:
AXFocusableAncestor:
AX: attributes to retrieve focusable and editable ancestors https://bugs.webkit.org/show_bug.cgi?id=155554 Patch by Doug Russell <d_russell@apple.com> on 2016-03-17 Reviewed by Chris Fleizach. Add attributes to help give context to focus changes: AXFocusableAncestor - nearest accessibility ancestor that returns true for canSetFocusAttribute(). AXEditableAncestor - nearest accessibility ancestor that returns true for isTextControl(). AXHighestEditableAncestor - highest element in accessibility that returns true for isTextControl(). Source/WebCore: Test: accessibility/mac/ancestor-attributes.html * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::focusableAncestor): (WebCore::AccessibilityObject::editableAncestor): (WebCore::AccessibilityObject::highestEditableAncestor): * accessibility/AccessibilityObject.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): LayoutTests: * accessibility/image-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-link-expected.txt. * accessibility/image-map2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map2-expected.txt. * accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors2-expected.txt. * accessibility/lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/lists-expected.txt. * accessibility/mac/ancestor-attributes-expected.txt: Added. * accessibility/mac/ancestor-attributes.html: Added. * accessibility/mac/aria-columnrowheaders-expected.txt: * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/document-links-expected.txt: * accessibility/mac/internal-link-anchors-expected.txt: * accessibility/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt. * accessibility/plugin-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/plugin-expected.txt. * accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-attributes-expected.txt. * accessibility/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cell-spans-expected.txt. * accessibility/table-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cells-expected.txt. * accessibility/table-detection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-detection-expected.txt. * accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-one-cell-expected.txt. * accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-sections-expected.txt. * accessibility/table-with-rules-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-rules-expected.txt. * accessibility/transformed-element-expected.txt: Canonical link: https://commits.webkit.org/173718@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-17 22:43:21 +00:00
AXEditableAncestor: (null)
AXHighestEditableAncestor: (null)
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXElementBusy: 0
------------
AXRole: AXGroup
AXSubrole: AXMathIdentifier
AXRoleDescription: group
AXChildren:
AXHelp:
AXParent:
Refactor RenderMathMLOperator and RenderMathMLToken to avoid using anonymous renderers. https://bugs.webkit.org/show_bug.cgi?id=155018 Patch by Frederic Wang <fwang@igalia.com> on 2016-06-24 Reviewed by Martin Robinson. Source/WebCore: No new tests, already covered by existing tests. We use MathOperator for RenderMathMLOperator to avoid creating anonymous text nodes again and again. We reimplement implicit mathvariant="italic" on single-char mi in a way that does not rely on creating anonymous text nodes. Finally, we improve the determination/update of when mathvariant is italic to avoid breaking foreign-mi-dynamic test. The change in the render tree structure breaks mfenced accessibility support but that will be fixed in follow-up patches. The simplifications made here will also allow to simplify the accessibility code. * css/mathml.css: (mo): Deleted. This flexbox rule is no longer needed. * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::createAnonymousMathMLBlock): Deleted. We no longer need to create anonymous renderer with this function. * rendering/mathml/RenderMathMLBlock.h: Delete createAnonymousMathMLBlock. * rendering/mathml/RenderMathMLOperator.cpp: Implement layout functions without relying on flexbox or anonymous. (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Handle the case of !useMathOperator() for which we need to add extra operator spacing after the RenderMathMLToken layout. (WebCore::RenderMathMLOperator::layoutBlock): Ditto. (WebCore::RenderMathMLOperator::isChildAllowed): Deleted. We allow the non-anonymous text. (WebCore::RenderMathMLOperator::rebuildTokenContent): No longer destroy and rebuild anonymous wrapper. Remove updateStyle call. (WebCore::RenderMathMLOperator::updateStyle): Deleted. We no longer need anonymous style for the spacing. * rendering/mathml/RenderMathMLOperator.h: Remove updateStyle() and isChildAllowed(). Make textContent() public so that it can be accessed from the accessibility code. * rendering/mathml/RenderMathMLToken.cpp: Reimplement implicit mathvariant="italic" by painting MATHEMATICAL ITALIC characters instead of styling an anonymous wrapper. (WebCore::RenderMathMLToken::RenderMathMLToken): Init m_mathVariantGlyph and m_mathVariantGlyphDirty (WebCore::RenderMathMLToken::updateTokenContent): Set mathvariant glyph dirty when the content changes. (WebCore::transformToItalic): Helper function to map latin and greek alphabets to their MATHEMATICAL ITALIC counterpart. (WebCore::RenderMathMLToken::computePreferredLogicalWidths): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::updateMathVariantGlyph): Helper function to update the mathvariant glyph. For now, we try and keep with the old (and limited) implementation: a mathvariant glyph may only used for single-char <mi> without mathvariant attribute attached to it. (WebCore::RenderMathMLToken::styleDidChange): Set the mathvariant glyph dirty when the style changes. (WebCore::RenderMathMLToken::updateFromElement): Remove updateStyle call and set mathvariant glyph dirty. (WebCore::RenderMathMLToken::firstLineBaseline): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::layoutBlock): Ditto. (WebCore::RenderMathMLToken::paint): Ditto. (WebCore::RenderMathMLToken::paintChildren): Ditto. (WebCore::RenderMathMLToken::addChild): Deleted. No need to bother with anonymous renderer or style. (WebCore::RenderMathMLToken::createWrapperIfNeeded): Deleted. Ditto. (WebCore::RenderMathMLToken::updateStyle): Deleted. Ditto. * rendering/mathml/RenderMathMLToken.h: Update declarations of functions. (WebCore::RenderMathMLToken::setMathVariantGlyphDirty): Helper function to indicate that the mathvariant glyph will need to be updated. LayoutTests: We update the test expectations. Most of the adjustments are irrelevant visual modifications (small shift and size differences) or due to changes in the renderer tree structure (removal of anonymous, operator text appearing in the dumped text). We disable the accessibility for mfenced for now, but this will be enabled again and improved in follow-up accessibility patches. * platform/ios-simulator/TestExpectations: We disable two reftests that use a character from the Mathematical Alphanumeric Symbols block as a reference, since iOS does not have appropriate fonts pre-installed. * accessibility/mac/mathml-elements.html: Disable the mfenced test for now. * accessibility/mac/mathml-elements-expected.txt: Ditto. * accessibility/ios-simulator/math-expected.txt: Update the reference now that the text of the operator appears in the render tree. * accessibility/mac/math-alttext-expected.txt: Ditto. * mathml/opentype/large-operators-italic-correction-expected.txt: Ditto. * mathml/opentype/large-operators-munderover-expected.txt: Ditto. * mathml/presentation/inferred-mrow-stretchy-expected.txt: Ditto. * mathml/presentation/mfrac-nested-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-symmetric-expected.txt: Ditto. * mathml/presentation/sup-nested-expected.txt: Ditto. * mathml/very-large-stretchy-operators-expected.txt: Ditto. * platform/mac/accessibility/math-text-expected.txt: Ditto. * platform/gtk/accessibility/math-text-expected.txt: Ditto. * fast/css/readonly-pseudoclass-common-element-expected.txt: Ditto. * fast/css/readwrite-pseudoclass-editable-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt: Ditto. * mathml/presentation/attributes-background-color.html: Add some padding to workaround some small rendering failures. * mathml/presentation/attributes-background-color-expected.html: Ditto. * mathml/presentation/attributes-display.html: Ditto. * mathml/presentation/attributes-display-expected.html: Ditto. * mathml/presentation/bug97990-expected.html: Ditto. * mathml/presentation/bug97990.html: Ditto. * mathml/presentation/attributes-mathvariant-expected.html: Update the reftest to use italic characters from the Mathematical Alphanumeric Symbols. * mathml/presentation/tokenElements-mathvariant-expected.html: Ditto. * mathml/presentation/mo-whitespaces-expected.html: Adjust one edge case since we now only collapse whitespace for operators that use MathOperator. * accessibility/math-multiscript-attributes-expected.txt: Small size/coordinate adjustment. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Dottp. * platform/gtk/mathml/presentation/roots-expected.txt: Size/coordinate adjustment, removal of anonymous renderers and use italic characters from the Mathematical Alphanumeric Symbols. * platform/gtk/mathml/presentation/roots-expected.png: Ditto. * platform/ios-simulator/mathml/presentation/roots-expected.txt: Ditto. * platform/gtk/mathml/opentype/horizontal-expected.txt: Size/coordinate adjustment and removal of anonymous renderers. * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/gtk/mathml/opentype/large-operators-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/gtk/mathml/opentype/vertical-expected.txt: Ditto. * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/large-operators-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/mac/mathml/opentype/vertical-expected.txt: Ditto. Canonical link: https://commits.webkit.org/177180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-06-24 14:39:58 +00:00
AXSize: NSSize: {10, 19}
AXTitle:
AXDescription:
AXValue:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXFocused: 0
AXEnabled: 1
AXWindow:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelectedTextMarkerRange: (null)
AXStartTextMarker:
AXEndTextMarker:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXVisited: 0
AXLinkedUIElements:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelected: 0
AXBlockQuoteLevel: 0
AXTopLevelUIElement:
AXLanguage:
AXDOMIdentifier:
AXDOMClassList:
AXFocusableAncestor:
AX: attributes to retrieve focusable and editable ancestors https://bugs.webkit.org/show_bug.cgi?id=155554 Patch by Doug Russell <d_russell@apple.com> on 2016-03-17 Reviewed by Chris Fleizach. Add attributes to help give context to focus changes: AXFocusableAncestor - nearest accessibility ancestor that returns true for canSetFocusAttribute(). AXEditableAncestor - nearest accessibility ancestor that returns true for isTextControl(). AXHighestEditableAncestor - highest element in accessibility that returns true for isTextControl(). Source/WebCore: Test: accessibility/mac/ancestor-attributes.html * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::focusableAncestor): (WebCore::AccessibilityObject::editableAncestor): (WebCore::AccessibilityObject::highestEditableAncestor): * accessibility/AccessibilityObject.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): LayoutTests: * accessibility/image-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-link-expected.txt. * accessibility/image-map2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map2-expected.txt. * accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors2-expected.txt. * accessibility/lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/lists-expected.txt. * accessibility/mac/ancestor-attributes-expected.txt: Added. * accessibility/mac/ancestor-attributes.html: Added. * accessibility/mac/aria-columnrowheaders-expected.txt: * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/document-links-expected.txt: * accessibility/mac/internal-link-anchors-expected.txt: * accessibility/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt. * accessibility/plugin-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/plugin-expected.txt. * accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-attributes-expected.txt. * accessibility/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cell-spans-expected.txt. * accessibility/table-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cells-expected.txt. * accessibility/table-detection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-detection-expected.txt. * accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-one-cell-expected.txt. * accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-sections-expected.txt. * accessibility/table-with-rules-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-rules-expected.txt. * accessibility/transformed-element-expected.txt: Canonical link: https://commits.webkit.org/173718@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-17 22:43:21 +00:00
AXEditableAncestor: (null)
AXHighestEditableAncestor: (null)
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXElementBusy: 0
------------
AXRole: AXGroup
AXSubrole: AXMathIdentifier
AXRoleDescription: group
AXChildren:
AXHelp:
AXParent:
Refactor RenderMathMLOperator and RenderMathMLToken to avoid using anonymous renderers. https://bugs.webkit.org/show_bug.cgi?id=155018 Patch by Frederic Wang <fwang@igalia.com> on 2016-06-24 Reviewed by Martin Robinson. Source/WebCore: No new tests, already covered by existing tests. We use MathOperator for RenderMathMLOperator to avoid creating anonymous text nodes again and again. We reimplement implicit mathvariant="italic" on single-char mi in a way that does not rely on creating anonymous text nodes. Finally, we improve the determination/update of when mathvariant is italic to avoid breaking foreign-mi-dynamic test. The change in the render tree structure breaks mfenced accessibility support but that will be fixed in follow-up patches. The simplifications made here will also allow to simplify the accessibility code. * css/mathml.css: (mo): Deleted. This flexbox rule is no longer needed. * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::createAnonymousMathMLBlock): Deleted. We no longer need to create anonymous renderer with this function. * rendering/mathml/RenderMathMLBlock.h: Delete createAnonymousMathMLBlock. * rendering/mathml/RenderMathMLOperator.cpp: Implement layout functions without relying on flexbox or anonymous. (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Handle the case of !useMathOperator() for which we need to add extra operator spacing after the RenderMathMLToken layout. (WebCore::RenderMathMLOperator::layoutBlock): Ditto. (WebCore::RenderMathMLOperator::isChildAllowed): Deleted. We allow the non-anonymous text. (WebCore::RenderMathMLOperator::rebuildTokenContent): No longer destroy and rebuild anonymous wrapper. Remove updateStyle call. (WebCore::RenderMathMLOperator::updateStyle): Deleted. We no longer need anonymous style for the spacing. * rendering/mathml/RenderMathMLOperator.h: Remove updateStyle() and isChildAllowed(). Make textContent() public so that it can be accessed from the accessibility code. * rendering/mathml/RenderMathMLToken.cpp: Reimplement implicit mathvariant="italic" by painting MATHEMATICAL ITALIC characters instead of styling an anonymous wrapper. (WebCore::RenderMathMLToken::RenderMathMLToken): Init m_mathVariantGlyph and m_mathVariantGlyphDirty (WebCore::RenderMathMLToken::updateTokenContent): Set mathvariant glyph dirty when the content changes. (WebCore::transformToItalic): Helper function to map latin and greek alphabets to their MATHEMATICAL ITALIC counterpart. (WebCore::RenderMathMLToken::computePreferredLogicalWidths): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::updateMathVariantGlyph): Helper function to update the mathvariant glyph. For now, we try and keep with the old (and limited) implementation: a mathvariant glyph may only used for single-char <mi> without mathvariant attribute attached to it. (WebCore::RenderMathMLToken::styleDidChange): Set the mathvariant glyph dirty when the style changes. (WebCore::RenderMathMLToken::updateFromElement): Remove updateStyle call and set mathvariant glyph dirty. (WebCore::RenderMathMLToken::firstLineBaseline): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::layoutBlock): Ditto. (WebCore::RenderMathMLToken::paint): Ditto. (WebCore::RenderMathMLToken::paintChildren): Ditto. (WebCore::RenderMathMLToken::addChild): Deleted. No need to bother with anonymous renderer or style. (WebCore::RenderMathMLToken::createWrapperIfNeeded): Deleted. Ditto. (WebCore::RenderMathMLToken::updateStyle): Deleted. Ditto. * rendering/mathml/RenderMathMLToken.h: Update declarations of functions. (WebCore::RenderMathMLToken::setMathVariantGlyphDirty): Helper function to indicate that the mathvariant glyph will need to be updated. LayoutTests: We update the test expectations. Most of the adjustments are irrelevant visual modifications (small shift and size differences) or due to changes in the renderer tree structure (removal of anonymous, operator text appearing in the dumped text). We disable the accessibility for mfenced for now, but this will be enabled again and improved in follow-up accessibility patches. * platform/ios-simulator/TestExpectations: We disable two reftests that use a character from the Mathematical Alphanumeric Symbols block as a reference, since iOS does not have appropriate fonts pre-installed. * accessibility/mac/mathml-elements.html: Disable the mfenced test for now. * accessibility/mac/mathml-elements-expected.txt: Ditto. * accessibility/ios-simulator/math-expected.txt: Update the reference now that the text of the operator appears in the render tree. * accessibility/mac/math-alttext-expected.txt: Ditto. * mathml/opentype/large-operators-italic-correction-expected.txt: Ditto. * mathml/opentype/large-operators-munderover-expected.txt: Ditto. * mathml/presentation/inferred-mrow-stretchy-expected.txt: Ditto. * mathml/presentation/mfrac-nested-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-symmetric-expected.txt: Ditto. * mathml/presentation/sup-nested-expected.txt: Ditto. * mathml/very-large-stretchy-operators-expected.txt: Ditto. * platform/mac/accessibility/math-text-expected.txt: Ditto. * platform/gtk/accessibility/math-text-expected.txt: Ditto. * fast/css/readonly-pseudoclass-common-element-expected.txt: Ditto. * fast/css/readwrite-pseudoclass-editable-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt: Ditto. * mathml/presentation/attributes-background-color.html: Add some padding to workaround some small rendering failures. * mathml/presentation/attributes-background-color-expected.html: Ditto. * mathml/presentation/attributes-display.html: Ditto. * mathml/presentation/attributes-display-expected.html: Ditto. * mathml/presentation/bug97990-expected.html: Ditto. * mathml/presentation/bug97990.html: Ditto. * mathml/presentation/attributes-mathvariant-expected.html: Update the reftest to use italic characters from the Mathematical Alphanumeric Symbols. * mathml/presentation/tokenElements-mathvariant-expected.html: Ditto. * mathml/presentation/mo-whitespaces-expected.html: Adjust one edge case since we now only collapse whitespace for operators that use MathOperator. * accessibility/math-multiscript-attributes-expected.txt: Small size/coordinate adjustment. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Dottp. * platform/gtk/mathml/presentation/roots-expected.txt: Size/coordinate adjustment, removal of anonymous renderers and use italic characters from the Mathematical Alphanumeric Symbols. * platform/gtk/mathml/presentation/roots-expected.png: Ditto. * platform/ios-simulator/mathml/presentation/roots-expected.txt: Ditto. * platform/gtk/mathml/opentype/horizontal-expected.txt: Size/coordinate adjustment and removal of anonymous renderers. * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/gtk/mathml/opentype/large-operators-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/gtk/mathml/opentype/vertical-expected.txt: Ditto. * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/large-operators-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/mac/mathml/opentype/vertical-expected.txt: Ditto. Canonical link: https://commits.webkit.org/177180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-06-24 14:39:58 +00:00
AXSize: NSSize: {9, 18}
AXTitle:
AXDescription:
AXValue:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXFocused: 0
AXEnabled: 1
AXWindow:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelectedTextMarkerRange: (null)
AXStartTextMarker:
AXEndTextMarker:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXVisited: 0
AXLinkedUIElements:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelected: 0
AXBlockQuoteLevel: 0
AXTopLevelUIElement:
AXLanguage:
AXDOMIdentifier:
AXDOMClassList:
AXFocusableAncestor:
AX: attributes to retrieve focusable and editable ancestors https://bugs.webkit.org/show_bug.cgi?id=155554 Patch by Doug Russell <d_russell@apple.com> on 2016-03-17 Reviewed by Chris Fleizach. Add attributes to help give context to focus changes: AXFocusableAncestor - nearest accessibility ancestor that returns true for canSetFocusAttribute(). AXEditableAncestor - nearest accessibility ancestor that returns true for isTextControl(). AXHighestEditableAncestor - highest element in accessibility that returns true for isTextControl(). Source/WebCore: Test: accessibility/mac/ancestor-attributes.html * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::focusableAncestor): (WebCore::AccessibilityObject::editableAncestor): (WebCore::AccessibilityObject::highestEditableAncestor): * accessibility/AccessibilityObject.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): LayoutTests: * accessibility/image-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-link-expected.txt. * accessibility/image-map2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map2-expected.txt. * accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors2-expected.txt. * accessibility/lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/lists-expected.txt. * accessibility/mac/ancestor-attributes-expected.txt: Added. * accessibility/mac/ancestor-attributes.html: Added. * accessibility/mac/aria-columnrowheaders-expected.txt: * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/document-links-expected.txt: * accessibility/mac/internal-link-anchors-expected.txt: * accessibility/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt. * accessibility/plugin-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/plugin-expected.txt. * accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-attributes-expected.txt. * accessibility/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cell-spans-expected.txt. * accessibility/table-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cells-expected.txt. * accessibility/table-detection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-detection-expected.txt. * accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-one-cell-expected.txt. * accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-sections-expected.txt. * accessibility/table-with-rules-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-rules-expected.txt. * accessibility/transformed-element-expected.txt: Canonical link: https://commits.webkit.org/173718@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-17 22:43:21 +00:00
AXEditableAncestor: (null)
AXHighestEditableAncestor: (null)
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXElementBusy: 0
------------
AXRole: AXGroup
AXSubrole: AXMathIdentifier
AXRoleDescription: group
AXChildren:
AXHelp:
AXParent:
Refactor RenderMathMLOperator and RenderMathMLToken to avoid using anonymous renderers. https://bugs.webkit.org/show_bug.cgi?id=155018 Patch by Frederic Wang <fwang@igalia.com> on 2016-06-24 Reviewed by Martin Robinson. Source/WebCore: No new tests, already covered by existing tests. We use MathOperator for RenderMathMLOperator to avoid creating anonymous text nodes again and again. We reimplement implicit mathvariant="italic" on single-char mi in a way that does not rely on creating anonymous text nodes. Finally, we improve the determination/update of when mathvariant is italic to avoid breaking foreign-mi-dynamic test. The change in the render tree structure breaks mfenced accessibility support but that will be fixed in follow-up patches. The simplifications made here will also allow to simplify the accessibility code. * css/mathml.css: (mo): Deleted. This flexbox rule is no longer needed. * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::createAnonymousMathMLBlock): Deleted. We no longer need to create anonymous renderer with this function. * rendering/mathml/RenderMathMLBlock.h: Delete createAnonymousMathMLBlock. * rendering/mathml/RenderMathMLOperator.cpp: Implement layout functions without relying on flexbox or anonymous. (WebCore::RenderMathMLOperator::computePreferredLogicalWidths): Handle the case of !useMathOperator() for which we need to add extra operator spacing after the RenderMathMLToken layout. (WebCore::RenderMathMLOperator::layoutBlock): Ditto. (WebCore::RenderMathMLOperator::isChildAllowed): Deleted. We allow the non-anonymous text. (WebCore::RenderMathMLOperator::rebuildTokenContent): No longer destroy and rebuild anonymous wrapper. Remove updateStyle call. (WebCore::RenderMathMLOperator::updateStyle): Deleted. We no longer need anonymous style for the spacing. * rendering/mathml/RenderMathMLOperator.h: Remove updateStyle() and isChildAllowed(). Make textContent() public so that it can be accessed from the accessibility code. * rendering/mathml/RenderMathMLToken.cpp: Reimplement implicit mathvariant="italic" by painting MATHEMATICAL ITALIC characters instead of styling an anonymous wrapper. (WebCore::RenderMathMLToken::RenderMathMLToken): Init m_mathVariantGlyph and m_mathVariantGlyphDirty (WebCore::RenderMathMLToken::updateTokenContent): Set mathvariant glyph dirty when the content changes. (WebCore::transformToItalic): Helper function to map latin and greek alphabets to their MATHEMATICAL ITALIC counterpart. (WebCore::RenderMathMLToken::computePreferredLogicalWidths): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::updateMathVariantGlyph): Helper function to update the mathvariant glyph. For now, we try and keep with the old (and limited) implementation: a mathvariant glyph may only used for single-char <mi> without mathvariant attribute attached to it. (WebCore::RenderMathMLToken::styleDidChange): Set the mathvariant glyph dirty when the style changes. (WebCore::RenderMathMLToken::updateFromElement): Remove updateStyle call and set mathvariant glyph dirty. (WebCore::RenderMathMLToken::firstLineBaseline): Implement this function to handle the case where the mathvariant glyph is used. (WebCore::RenderMathMLToken::layoutBlock): Ditto. (WebCore::RenderMathMLToken::paint): Ditto. (WebCore::RenderMathMLToken::paintChildren): Ditto. (WebCore::RenderMathMLToken::addChild): Deleted. No need to bother with anonymous renderer or style. (WebCore::RenderMathMLToken::createWrapperIfNeeded): Deleted. Ditto. (WebCore::RenderMathMLToken::updateStyle): Deleted. Ditto. * rendering/mathml/RenderMathMLToken.h: Update declarations of functions. (WebCore::RenderMathMLToken::setMathVariantGlyphDirty): Helper function to indicate that the mathvariant glyph will need to be updated. LayoutTests: We update the test expectations. Most of the adjustments are irrelevant visual modifications (small shift and size differences) or due to changes in the renderer tree structure (removal of anonymous, operator text appearing in the dumped text). We disable the accessibility for mfenced for now, but this will be enabled again and improved in follow-up accessibility patches. * platform/ios-simulator/TestExpectations: We disable two reftests that use a character from the Mathematical Alphanumeric Symbols block as a reference, since iOS does not have appropriate fonts pre-installed. * accessibility/mac/mathml-elements.html: Disable the mfenced test for now. * accessibility/mac/mathml-elements-expected.txt: Ditto. * accessibility/ios-simulator/math-expected.txt: Update the reference now that the text of the operator appears in the render tree. * accessibility/mac/math-alttext-expected.txt: Ditto. * mathml/opentype/large-operators-italic-correction-expected.txt: Ditto. * mathml/opentype/large-operators-munderover-expected.txt: Ditto. * mathml/presentation/inferred-mrow-stretchy-expected.txt: Ditto. * mathml/presentation/mfrac-nested-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-expected.txt: Ditto. * mathml/presentation/stretchy-depth-height-symmetric-expected.txt: Ditto. * mathml/presentation/sup-nested-expected.txt: Ditto. * mathml/very-large-stretchy-operators-expected.txt: Ditto. * platform/mac/accessibility/math-text-expected.txt: Ditto. * platform/gtk/accessibility/math-text-expected.txt: Ditto. * fast/css/readonly-pseudoclass-common-element-expected.txt: Ditto. * fast/css/readwrite-pseudoclass-editable-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-expected.txt: Ditto. * imported/w3c/web-platform-tests/html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace-xhtml-expected.txt: Ditto. * mathml/presentation/attributes-background-color.html: Add some padding to workaround some small rendering failures. * mathml/presentation/attributes-background-color-expected.html: Ditto. * mathml/presentation/attributes-display.html: Ditto. * mathml/presentation/attributes-display-expected.html: Ditto. * mathml/presentation/bug97990-expected.html: Ditto. * mathml/presentation/bug97990.html: Ditto. * mathml/presentation/attributes-mathvariant-expected.html: Update the reftest to use italic characters from the Mathematical Alphanumeric Symbols. * mathml/presentation/tokenElements-mathvariant-expected.html: Ditto. * mathml/presentation/mo-whitespaces-expected.html: Adjust one edge case since we now only collapse whitespace for operators that use MathOperator. * accessibility/math-multiscript-attributes-expected.txt: Small size/coordinate adjustment. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Dottp. * platform/gtk/mathml/presentation/roots-expected.txt: Size/coordinate adjustment, removal of anonymous renderers and use italic characters from the Mathematical Alphanumeric Symbols. * platform/gtk/mathml/presentation/roots-expected.png: Ditto. * platform/ios-simulator/mathml/presentation/roots-expected.txt: Ditto. * platform/gtk/mathml/opentype/horizontal-expected.txt: Size/coordinate adjustment and removal of anonymous renderers. * platform/gtk/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/gtk/mathml/opentype/large-operators-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/gtk/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/gtk/mathml/opentype/vertical-expected.txt: Ditto. * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt: Ditto. * platform/ios-simulator/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/large-operators-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-expected.txt: Ditto. * platform/mac/mathml/opentype/opentype-stretchy-horizontal-expected.txt: Ditto. * platform/mac/mathml/opentype/vertical-expected.txt: Ditto. Canonical link: https://commits.webkit.org/177180@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-06-24 14:39:58 +00:00
AXSize: NSSize: {9, 19}
AXTitle:
AXDescription:
AXValue:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXFocused: 0
AXEnabled: 1
AXWindow:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelectedTextMarkerRange: (null)
AXStartTextMarker:
AXEndTextMarker:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXVisited: 0
AXLinkedUIElements:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelected: 0
AXBlockQuoteLevel: 0
AXTopLevelUIElement:
AXLanguage:
AXDOMIdentifier:
AXDOMClassList:
AXFocusableAncestor:
AX: attributes to retrieve focusable and editable ancestors https://bugs.webkit.org/show_bug.cgi?id=155554 Patch by Doug Russell <d_russell@apple.com> on 2016-03-17 Reviewed by Chris Fleizach. Add attributes to help give context to focus changes: AXFocusableAncestor - nearest accessibility ancestor that returns true for canSetFocusAttribute(). AXEditableAncestor - nearest accessibility ancestor that returns true for isTextControl(). AXHighestEditableAncestor - highest element in accessibility that returns true for isTextControl(). Source/WebCore: Test: accessibility/mac/ancestor-attributes.html * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::focusableAncestor): (WebCore::AccessibilityObject::editableAncestor): (WebCore::AccessibilityObject::highestEditableAncestor): * accessibility/AccessibilityObject.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): LayoutTests: * accessibility/image-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-link-expected.txt. * accessibility/image-map2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map2-expected.txt. * accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors2-expected.txt. * accessibility/lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/lists-expected.txt. * accessibility/mac/ancestor-attributes-expected.txt: Added. * accessibility/mac/ancestor-attributes.html: Added. * accessibility/mac/aria-columnrowheaders-expected.txt: * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/document-links-expected.txt: * accessibility/mac/internal-link-anchors-expected.txt: * accessibility/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt. * accessibility/plugin-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/plugin-expected.txt. * accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-attributes-expected.txt. * accessibility/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cell-spans-expected.txt. * accessibility/table-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cells-expected.txt. * accessibility/table-detection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-detection-expected.txt. * accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-one-cell-expected.txt. * accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-sections-expected.txt. * accessibility/table-with-rules-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-rules-expected.txt. * accessibility/transformed-element-expected.txt: Canonical link: https://commits.webkit.org/173718@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-17 22:43:21 +00:00
AXEditableAncestor: (null)
AXHighestEditableAncestor: (null)
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXElementBusy: 0
------------
AXRole: AXGroup
AXSubrole: AXMathIdentifier
AXRoleDescription: group
AXChildren:
AXHelp:
AXParent:
Refactor RenderMathMLScripts layout to avoid using flexbox https://bugs.webkit.org/show_bug.cgi?id=153917 Patch by Frederic Wang <fwang@igalia.com> on 2016-04-18 Reviewed by Martin Robinson. Source/WebCore: Tests: mathml/mathml-in-html5/subsup-parameters-1.html mathml/opentype/large-operators-italic-correction.html Reimplement RenderMathMLScripts without any flexbox or anonymous. We also rely on parameters from the MATH table to improve rendering. * css/mathml.css: (msub > * + * + *, msup > * + * + *, msubsup > * + * + * + *, msub > mprescripts, msup > mprescripts, msubsup > mprescripts, msub > none, msup > none, msubsup > none, mmultiscripts > mprescripts ~ mprescripts, mmultiscripts > mprescripts ~ mprescripts ~ *): Deleted. Invalid markup for scripts is now just hidden. * rendering/mathml/RenderMathMLOperator.h: ditto. * rendering/mathml/RenderMathMLScripts.cpp: (WebCore::RenderMathMLScripts::unembellishedOperator): Reimplemented. (WebCore::RenderMathMLScripts::getBaseAndScripts): Helper function to verify whether the child list is valid and retrieve pointers on important children. (WebCore::RenderMathMLScripts::spaceAfterScript): Helper function to get the space after a script. (WebCore::RenderMathMLScripts::italicCorrection): Helper function to read the italic correction of a largeop base. (WebCore::RenderMathMLScripts::computePreferredLogicalWidths): Implement this function. (WebCore::RenderMathMLScripts::getScriptMetricsAndLayoutIfNeeded): Helper function to get the maximum ascent/descent of all the scripts and determine the minimal sub/sup shifts to apply. (WebCore::RenderMathMLScripts::mirrorIfNeeded): Helper function to calculate the horizontal offset depending on the directionality. (WebCore::RenderMathMLScripts::layoutBlock): Implement this function. (WebCore::RenderMathMLScripts::firstLineBaseline): Implement this function. (WebCore::RenderMathMLScripts::paintChildren): Implement this function. (WebCore::RenderMathMLScripts::RenderMathMLScripts): Deleted. (WebCore::RenderMathMLScripts::base): Deleted. (WebCore::RenderMathMLScripts::fixAnonymousStyleForSubSupPair): Deleted. (WebCore::RenderMathMLScripts::fixAnonymousStyles): Deleted. (WebCore::RenderMathMLScripts::addChildInternal): Deleted. (WebCore::RenderMathMLScripts::removeChildInternal): Deleted. (WebCore::RenderMathMLScripts::addChild): Deleted. (WebCore::RenderMathMLScripts::removeChild): Deleted. (WebCore::RenderMathMLScripts::styleDidChange): Deleted. (WebCore::RenderMathMLScripts::layout): Deleted. (WebCore::RenderMathMLScriptsWrapper::createAnonymousWrapper): Deleted. (WebCore::RenderMathMLScriptsWrapper::addChildInternal): Deleted. (WebCore::RenderMathMLScriptsWrapper::addChild): Deleted. (WebCore::RenderMathMLScriptsWrapper::removeChildInternal): Deleted. (WebCore::RenderMathMLScriptsWrapper::removeChild): Deleted. * rendering/mathml/RenderMathMLScripts.h: Update definitions and remove classes for anonymous wrappers. LayoutTests: We import tests from the MathML in HTML5 test suite to verify various OpenType MATH parameters. We also add a test for the italic correction of large operators (bug 130325). Finally, we adjust some tests and expectations to take into account the new rendering. * imported/mathml-in-html5/LICENSE: Added. * imported/mathml-in-html5/README.md: Added. * imported/mathml-in-html5/fonts/math/scripts-spaceafterscript3000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-spaceafterscript3000.woff. * imported/mathml-in-html5/fonts/math/scripts-subscriptbaselinedropmin9000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-subscriptbaselinedropmin9000.woff. * imported/mathml-in-html5/fonts/math/scripts-subscriptshiftdown6000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-subscriptshiftdown6000.woff. * imported/mathml-in-html5/fonts/math/scripts-subscripttopmax4000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-subscripttopmax4000.woff. * imported/mathml-in-html5/fonts/math/scripts-subsuperscriptgapmin11000-superscriptbottommaxwithsubscript3000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-subsuperscriptgapmin11000-superscriptbottommaxwithsubscript3000.woff. * imported/mathml-in-html5/fonts/math/scripts-subsuperscriptgapmin11000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-subsuperscriptgapmin11000.woff. * imported/mathml-in-html5/fonts/math/scripts-superscriptbaselinedropmax10000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-superscriptbaselinedropmax10000.woff. * imported/mathml-in-html5/fonts/math/scripts-superscriptbottommin8000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-superscriptbottommin8000.woff. * imported/mathml-in-html5/fonts/math/scripts-superscriptshiftup7000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-superscriptshiftup7000.woff. * imported/mathml-in-html5/fonts/math/scripts-superscriptshiftupcramped5000.woff: Renamed from LayoutTests/mathml/mathml-in-html5/fonts/scripts-superscriptshiftupcramped5000.woff. * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt: Renamed from LayoutTests/mathml/mathml-in-html5/subsup-parameters-1-expected.txt. * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1.html: Renamed from LayoutTests/mathml/mathml-in-html5/subsup-parameters-1.html. * mathml/msubsup-fuzz-expected.txt: Test adjustment: Update the reference now that nothing is displayed for invalid markup. * accessibility/mac/mathml-multiscript-expected.txt: ditto. * mathml/opentype/large-operators-italic-correction.html: Added. This test verifies that the italic correction from the MATH table is used for positioning subscripts of large operators. * mathml/opentype/large-operators-italic-correction-expected.txt: Added. * mathml/presentation/bug95015.html: Test adjustment: move down a bit the covering red rectangle, since the script is slightly lower. * mathml/presentation/bug95015-expected.html: ditto * mathml/presentation/multiscripts-positions.html: Test adjustment: Modify the expected vertical positions of scripts now that we follow Gecko's behavior. * mathml/presentation/multiscripts-positions-expected.html: ditto. * mathml/presentation/multiscripts-noscripts-expected.html: There seem to be small errors in the ascent of mmultiscripts, probably due to the conversions between firstLineBaseline (int) and LayoutUnit (fractional pixel). For now, let's tweak the tests. * mathml/presentation/multiscripts-noscripts.html: ditto. * mathml/presentation/scripts-height-expected.html: ditto * mathml/presentation/scripts-height.html: ditto * mathml/presentation/scripts-horizontal-alignment.html: Modify the test to make it work with the new layout rules. * mathml/presentation/scripts-horizontal-alignment-expected.html: ditto. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Test adjustment: Update reference to take into account a small shift. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: ditto. * platform/gtk/mathml/presentation/roots-expected.png: Test adjustment: Update reference to take into account small rendering changes. * platform/gtk/mathml/presentation/roots-expected.txt: ditto. * platform/ios-simulator/mathml/presentation/roots-expected.txt: ditto. * platform/mac/TestExpectations: Mark some tests for scripts as failing on mac. MATH fonts are really needed to make them reliable. * platform/ios-simulator/TestExpectations: Ditto Canonical link: https://commits.webkit.org/174800@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-04-18 14:45:00 +00:00
AXSize: NSSize: {10, 18}
AXTitle:
AXDescription:
AXValue:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXFocused: 0
AXEnabled: 1
AXWindow:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelectedTextMarkerRange: (null)
AXStartTextMarker:
AXEndTextMarker:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXVisited: 0
AXLinkedUIElements:
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXSelected: 0
AXBlockQuoteLevel: 0
AXTopLevelUIElement:
AXLanguage:
AXDOMIdentifier:
AXDOMClassList:
AXFocusableAncestor:
AX: attributes to retrieve focusable and editable ancestors https://bugs.webkit.org/show_bug.cgi?id=155554 Patch by Doug Russell <d_russell@apple.com> on 2016-03-17 Reviewed by Chris Fleizach. Add attributes to help give context to focus changes: AXFocusableAncestor - nearest accessibility ancestor that returns true for canSetFocusAttribute(). AXEditableAncestor - nearest accessibility ancestor that returns true for isTextControl(). AXHighestEditableAncestor - highest element in accessibility that returns true for isTextControl(). Source/WebCore: Test: accessibility/mac/ancestor-attributes.html * accessibility/AccessibilityNodeObject.cpp: * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::focusableAncestor): (WebCore::AccessibilityObject::editableAncestor): (WebCore::AccessibilityObject::highestEditableAncestor): * accessibility/AccessibilityObject.h: * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): LayoutTests: * accessibility/image-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-link-expected.txt. * accessibility/image-map2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/image-map2-expected.txt. * accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors2-expected.txt. * accessibility/lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/lists-expected.txt. * accessibility/mac/ancestor-attributes-expected.txt: Added. * accessibility/mac/ancestor-attributes.html: Added. * accessibility/mac/aria-columnrowheaders-expected.txt: * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/document-links-expected.txt: * accessibility/mac/internal-link-anchors-expected.txt: * accessibility/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt. * accessibility/plugin-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/plugin-expected.txt. * accessibility/table-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-attributes-expected.txt. * accessibility/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cell-spans-expected.txt. * accessibility/table-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-cells-expected.txt. * accessibility/table-detection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-detection-expected.txt. * accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-one-cell-expected.txt. * accessibility/table-sections-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-sections-expected.txt. * accessibility/table-with-rules-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-rules-expected.txt. * accessibility/transformed-element-expected.txt: Canonical link: https://commits.webkit.org/173718@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-03-17 22:43:21 +00:00
AXEditableAncestor: (null)
AXHighestEditableAncestor: (null)
AX: [ATK] Implement support for new AtkRole types for MathML https://bugs.webkit.org/show_bug.cgi?id=140916 Reviewed by Chris Fleizach. Source/WebCore: Expose mfrac as ATK_ROLE_MATH_FRACTION, and both mroot and msqrt as ATK_ROLE_MATH_ROOT. In the case of script elements, expose the container (msub, msup, msubsup, and mmultiscripts) using the generic text block role ATK_ROLE_SECTION. Then expose the actual script child elements using role ATK_ROLE_SUBSCRIPT/ATK_ROLE_SUPERSCRIPT. In the case of mmultiscripts, expose whether it is a prescript or postscript via AtkObject attribute. Test: accessibility/math-multiscript-attributes.html Also added additional test cases to accessibility/roles-exposed.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::isMathScriptObject): Added. (WebCore::AccessibilityObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isMathScriptObject): Added. (WebCore::AccessibilityRenderObject::isMathMultiscriptObject): Added. * accessibility/AccessibilityRenderObject.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetAttributes): Expose whether a multiscript object is a prescript or postscript. (atkRole): Map WebCore Accessibility objects to the new ATK roles. Tools: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4 LayoutTests: * accessibility/math-multiscript-attributes.html: Added. * accessibility/roles-exposed.html: New test cases added. * platform/efl/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mavericks/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac-mountainlion/accessibility/roles-exposed-expected.txt: Updated for new test cases. * platform/mac/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/mac/accessibility/roles-exposed-expected.txt: Updated for new test cases. Canonical link: https://commits.webkit.org/158979@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-01-28 17:02:32 +00:00
AXElementBusy: 0
------------
PASS successfullyParsed is true
TEST COMPLETE