Open Bug 1431446 Opened 6 years ago Updated 2 years ago

Aberrant behaviors with scrolling to fragment identifier in svg

Categories

(Core :: SVG, defect, P3)

57 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: georges-axel.jaloyan, Unassigned)

Details

Attachments

(1 file)

Attached file 01.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180103231032

Steps to reproduce:

create a big svg file with fragment identifier. Put a fragment identifier (target) on a text node of the svg. Go to file.svg#target  (in this reproducer, I'm using some javascript code with the scrollIntoView function, but the bug appears with only using hyperlinks and loading directly the .svg file)
The result depends on the content inside the text node (see attached).

Note : this bug report is linked to crbug.com/803440 


Actual results:

When the text node is empty, or contains only white space characters, or contains as attribute fill="none", we stay on the FAIL red node.


Expected results:

It should go to the green rectangle (PASS node) always, whatever the content of the node is.
Component: Untriaged → SVG
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: