[Webkit-unassigned] [Bug 265952] AX: insertionPointLineNumber hits the main thread even for single-line text fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 7 11:49:48 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265952

--- Comment #7 from Andres Gonzalez <andresg_22 at apple.com> ---
(In reply to Dominic Mazzoni from comment #5)
> Created attachment 468924 [details]
> Patch

diff --git a/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h b/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h
index e5b3a6bf0502..f2d3e093d9a0 100644
--- a/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h
+++ b/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h
@@ -84,6 +84,8 @@ private:
     void setObjectProperty(AXPropertyName, AXCoreObject*);
     void setObjectVectorProperty(AXPropertyName, const AccessibilityChildrenVector&);

+    bool isSingleLineTextField(AccessibilityObject&, bool isNonNativeTextControl);

AG: static method.

+
     // FIXME: consolidate all AttributeValue retrieval in a single template method.
     bool boolAttributeValue(AXPropertyName) const;
     String stringAttributeValue(AXPropertyName) const;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231207/fdf23e08/attachment.htm>


More information about the webkit-unassigned mailing list