[Webkit-unassigned] [Bug 237820] New: [WPE] accessibility/native-text-control-attributed-string.html is timing out since added in
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 13 22:52:21 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=237820
Bug ID: 237820
Summary: [WPE]
accessibility/native-text-control-attributed-string.ht
ml is timing out since added in
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
accessibility/native-text-control-attributed-string.html
When the test invokes textField.attributedStringForRange(), it uses the attributes' start and end offsets to show the substring related to these attributes.
But during the calculation of the endOffset, it returns early with 0 from inside HTMLTextFormControlElement::indexForVisiblePosition. There the check for `!innerText->contains(position.deepEquivalent().anchorNode())` fails.
This causes attributedStringForRange() to loop infinitely over the same indexes (or loop wrongly, if the location given to it is different from zero).
--
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/20220314/3936e835/attachment.htm>
More information about the webkit-unassigned
mailing list