UNCONFIRMED 19127
Find... interacts oddly with -webkit-user-select: none
https://bugs.webkit.org/show_bug.cgi?id=19127
Summary Find... interacts oddly with -webkit-user-select: none
Pam Greene (IRC:pamg)
Reported 2008-05-19 13:06:36 PDT
Trying to find text on a page with only un-selectable text (-webkit-user-select: none) fails to find any of the matches. Finding text on a page with mixed sections of un-selectable text and normally selectable text behaves more oddly. The first match in the section of un-selectable text is marked, but won't be highlighted when cycling through the matches: there will be one "pause" with no match highlighted. Any other matches in that section won't be found at all. To see the first problem, load the attached body-user-select.html, cmd-F, and look for the letter t. notice "not found". To see the second problem, load the attached user-select.html, cmd-F, and look for the letter t. Notice that only one t in the middle line is marked. Then cmd-G repeatedly to cycle through the matches and notice the "pause" when the t on that middle line would have been the active match.
Attachments
Entire body is -webkit-user-select: none (140 bytes, text/html)
2008-05-19 13:07 PDT, Pam Greene (IRC:pamg)
no flags
Second line is -webkit-user-select: none (173 bytes, text/html)
2008-05-19 13:19 PDT, Pam Greene (IRC:pamg)
no flags
Pam Greene (IRC:pamg)
Comment 1 2008-05-19 13:07:32 PDT
Created attachment 21231 [details] Entire body is -webkit-user-select: none
Pam Greene (IRC:pamg)
Comment 2 2008-05-19 13:19:44 PDT
Created attachment 21232 [details] Second line is -webkit-user-select: none
mitz
Comment 3 2010-10-07 23:00:32 PDT
Alexander Kahn
Comment 4 2011-01-26 08:58:19 PST
I'm running into this bug as well. I'm on OS X 10.6.6 using WebKit nightly r76640.
Aditya Keerthi
Comment 5 2023-02-03 16:05:22 PST
To resolve this on iOS, we simply need to fix 251709. To resolve this on macOS, additional work is required, since macOS only uses the current selection for find (doesn't store ranges as done on iOS).
Note You need to log in before you can comment on or make changes to this bug.