Open Bug 1692532 Opened 4 years ago Updated 3 years ago

"Find in page" should not match line-number of view-source: page

Categories

(Core :: Find Backend, defect, P3)

77 Branch
Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression)

The line number in view-source: will be matched when find with number.

Steps to reproduce:

  1. Open any web page
    e.g, https://ftp.mozilla.org/
  2. Open "View Page Source"(Ctrl+U)
  3. Open FindBar(Ctrl+F) and type number

Actual Results:
The line number will be matched

Expected Results:
"Find in page" should not match line-number of view-source: page

Regression Window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=cc95daffbdfa661aaaf7bd2eec801d9ea550cc7d&tochange=1299909504c95261d946df29a97e57ec8df4e36e

Why not? This was an intentional feature, and it is pretty useful generally for section numbers, list headings, etc.

Flags: needinfo?(alice0775)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)

Why not? This was an intentional feature, and it is pretty useful generally for section numbers, list headings, etc.

  1. Firefox already has "Go to Line..." in view-source context menu. ---- Redundant
  2. The line number does not match in CodeMirror(Devtool Debugger, Style Editor), However, it does matvh in view-source. --- Inconsistent
  3. When search by number on long source pages. There are too many search results and it is difficult to find what you are looking for. --- This is big problem.
Flags: needinfo?(alice0775)
Severity: -- → S3
Priority: -- → P3
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.