GNOME Bugzilla – Bug 783648
Find Matches String Across Separate List Items' Content
Last modified: 2017-06-11 15:04:04 UTC
To reproduce: https://en.wikipedia.org/wiki/GNOME_Web Find "browsersGNOME" Expected: No matches. Actual: Match on text across two separate <li> elements "Free web browsers" and "GNOME Core Applications". I'm open to discussion but IMO this case should not result in a match. FWIW it seems this is also an issue in Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=703930) but not in FF or Safari according to the Chromium testers (so I assume not a WebKit issue).
> FWIW it seems this is also an issue in Chromium > (https://bugs.chromium.org/p/chromium/issues/detail?id=703930) but not in FF > or Safari according to the Chromium testers (so I assume not a WebKit issue). Upon testing, Safari actually has the same behaviour when searching with the Contains operator, and Midori also exhibits this behaviour. So this is probably an upstream issue in WebKit somewhere.
Wow, good... find! ;) It's a problem with WebKitFindController. I've looked briefly at the code and everything looks fine down to the level of Editor::countMatchesForText, where I stopped looking. Do you mind reporting this on WebKit Bugzilla? Thanks for taking the time to report this. This issue is most likely a bug in WebKit. Please report the bug to https://bugs.webkit.org/ including a link to this bug report and noting the version of WebKitGTK+ that you have installed. When reporting the WebKit bug, be sure to select the WebCore Misc component and CC bugs-noreply@webkitgtk.org.
(In reply to Michael Catanzaro from comment #2) > Wow, good... find! ;) > > It's a problem with WebKitFindController. I've looked briefly at the code > and everything looks fine down to the level of Editor::countMatchesForText, > where I stopped looking. Do you mind reporting this on WebKit Bugzilla? > > Thanks for taking the time to report this. > This issue is most likely a bug in WebKit. Please report the bug to > https://bugs.webkit.org/ including a link to this bug report and noting the > version of WebKitGTK+ that you have installed. When reporting the WebKit > bug, be sure to select the WebCore Misc component and CC > bugs-noreply@webkitgtk.org. Will do, thanks