Open Bug 1212785 Opened 9 years ago Updated 2 years ago

Observing wrong search count when we search for a text on webpage (invisible text due to text-indent)

Categories

(Toolkit :: Find Toolbar, defect, P5)

defect

Tracking

()

People

(Reporter: vamshikurra, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce:

1. Goto page : http://www.votigo.com/corp/promotions/twitter.php
2. Search with string  twitter



Actual results:

We are seeing search count as 10


Expected results:

We should see total search count as 9 .

Note:
It works fine on Safari
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
20150929144111
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
20151007030205

Works for me: 9 matches.

Please type about:support into the location bar and press Enter. Paste your user agent string and build ID into a reply here.

Can you reproduce the issue in a brand new profile?
https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
Component: Untriaged → Find Toolbar
Flags: needinfo?(vamshikurra)
Product: Firefox → Toolkit
Here are the details:

Build ID : 20150929144111
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Flags: needinfo?(vamshikurra)
(In reply to Gingerbread Man from comment #1)
> Can you reproduce the issue in a brand new profile?
> https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-
> profiles
Flags: needinfo?(vamshikurra)
Issue exist even on new brand profile.
Flags: needinfo?(vamshikurra)
Possibly related:
Bug 1199455 - Find menu says "More than 100 matches" if there are exactly 100 matches
Bug 1195955 - Findbar displays wrong number of found strings if a page contains iframe above current found string AND the iframe isn't visible on the screen
See Also: → 1199455
This is Not a bug imo. Do the following:
[1] Load that page
[2] Open style editor (Shift+F7)
[3] Create new stylesheet (Click "New")
[4] Paste there "*{text-indent:0px!important;}" w/o quotes
[5] Close Style editor
[6] Open responsive design mode (Ctrl+Shift+M), set the resolution -> 1315x1360
[7] Open findbar, type "Twitter" (w/o quotes), click "highlight all", scroll web page to the top
> screenshot   https://dl.dropboxusercontent.com/s/oxiydi8kc7hi87o/del%20screenshot%20-%20bug%201212785.png?dl=0
Twitter button in the "sidebar" (on the site) contains text "Twitter", so there's 10 strings total
Note that if the window's width is < 980px, "sidebar" isn't shown, and there's only 9 strings

@Gingerbread Man:   Please confirm that the "sidebar" wasn't displayed when you tested it

@Vamshi (reporter): Please confirm that sidebar isn't displayed on Safary but IS displayed on Firefox
                    If that's not correct, tell if Safary finds 1 or 2 strings on attached testcase
Flags: needinfo?(gingerbread_man)
(In reply to arni2033 from comment #6)
> @Gingerbread Man:   Please confirm that the "sidebar" wasn't displayed when
> you tested it

Correct.

(In reply to Philip Chee from comment #5)
> Possibly related:

Bug 305381 is what this looks like, but that one's apparently about display:none specifically, while in this case text-indent is the problem.
Bug 592336 is generic enough that this could be duped to it, but the reporter suspected it's a duplicate of something else.
Flags: needinfo?(gingerbread_man)
Keywords: testcase
Summary: Observing wrong search count when we search for a text on webpage → Observing wrong search count when we search for a text on webpage (invisible text due to text-indent)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: