Closed
Bug 129971
Opened 23 years ago
Closed 23 years ago
Ctrl+F doesn't find "Read More" at slashdot
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: jruderman, Assigned: akkzilla)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
2002 031008 Win98
Steps to reproduce:
1. Load Slashdot in light mode (http://slashdot.org/index.pl?light=1).
2. Search for the text "read" or "of" or "comments".
Result: Mozilla never finds any text in "( Read More... | 67 of 187 comments )"
sections, but does find the text in other sections.
This happens with builds older than 3/10, so it's not a result of aaronl's fix
for bug 66597.
Comment 1•23 years ago
|
||
Jesse, is this the new find code or the old find code? Or both?
Reporter | ||
Comment 3•23 years ago
|
||
bz, I'm not sure what bug/patch you're referring to, but I tested a build from
January and that build didn't have this bug.
1/27 works fine
3/02 broken
3/10 broken
Assignee | ||
Comment 4•23 years ago
|
||
I see it, too, with the new find code.
The segments in question look like this:
<!-- no ad 6 --><p><b>(</b> <a
HREF="//slashdot.org/article.pl?sid=02/03/10/2134213&mode=thread&tid=95"><b>Read
More...</b></a> | <b><a
HREF="//slashdot.org/article.pl?sid=02/03/10/2134213&mode=thread&tid=95&threshold=1">29</a>
of <a
HREF="//slashdot.org/article.pl?sid=02/03/10/2134213&mode=thread&tid=95&threshold=-1">49</a></b>
comments <b>)</b></p>
I don't see anything obvious that explains why they're not being found. Will
investigate.
Status: NEW → ASSIGNED
OS: Windows 98 → All
Hardware: PC → All
Assignee | ||
Comment 5•23 years ago
|
||
Whoops, I marked accepted and didn't notice it wasn't assigned to me. It should
be, so I'm taking it.
Assignee: blaker → akkana
Status: ASSIGNED → NEW
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 6•23 years ago
|
||
Jesse, fyi the bugs I meant were bug 97157, bug 123087, etc (the big find
rewrite Akkana did).
Assignee | ||
Comment 7•23 years ago
|
||
*** Bug 130890 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•23 years ago
|
||
Here's the deal: This and bug 130890 are happening because we're skipping a few
nodes after we encounter a comment. The missed matches are all right after a
comment node, and if you remove the comment, the strings are found.
Setting appropriate keywords and TFM.
Keywords: nsbeta1,
regression
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 9•23 years ago
|
||
There was a while loop in the code which was skipping to the next sibling when
it hit a skipped node, except that was skipping too far and skipping right over
content it needed to include.
That code was actually written for an iterator with different behavior than the
one we have, which is still an RFE. The way the code currently works, we don't
need any of that node-skipping while loop, because we're already inside a loop
checking SkipNode, and Skip node has since been rewritten to climb up the chain
and compare node parents. So all we really need to do here is: if
(SkipNode(content)) continue. This fixes the problem on both sample pages.
Seeking review for the patch I'm about to attach.
Assignee | ||
Comment 10•23 years ago
|
||
Here's the patch. It passes all the find regression tests. I'll be adding a
few cases to the regression tests to cover this case, so that the trunk won't
pass it but will after the patch.
Assignee | ||
Comment 11•23 years ago
|
||
This patch has been rolled into the one in bug 80805, which is awaiting checkin
approval. Marking dependency.
Depends on: 80805
Assignee | ||
Comment 12•23 years ago
|
||
The fix is in; today's slashdot should find those strings.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•23 years ago
|
||
*** Bug 132612 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
Verified on all platforms (commercial netscape build: 2002-03-22-09-TRUNK).
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•