[Webkit-unassigned] [Bug 207624] [GTK] imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html is failing since r256207

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 17 17:42:22 PST 2022


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

--- Comment #1 from Diego Pino <dpino at igalia.com> ---
I've been investigating this bug.

The error occurs on `HTMLTextFormControlElement.cpp::computeSelectionDirection`. More precisely in this line:

https://webkit-search.igalia.com/webkit/source/Source/WebCore/html/HTMLTextFormControlElement.cpp#420

The method returns `SelectionHasNoDirection` (expected result) when `document.frame()` is null. For some reason, in GLIB based ports `document.frame()` is not null thus the method continues its execution and eventually returns "forward".

-- 
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/20220118/cea2ef58/attachment.htm>


More information about the webkit-unassigned mailing list