Open Bug 1622541 Opened 5 years ago Updated 5 years ago

"Error in parsing value for ‘transform’." when rolling mouse over DOM Inspector with SVG file open

Categories

(DevTools :: Inspector, defect, P3)

72 Branch
x86_64
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: george.bateman16, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Open any SVG file, e.g. https://upload.wikimedia.org/wikipedia/commons/2/20/Divisor.svg.
Open DOM Inspector (F12).
Set error console to display everything. Should be initially blank.
Move mouse up and down over elements in the DOM Inspector view.

Actual results:

The warning "Error in parsing value for ‘transform’. Declaration dropped." appears and is repeated dozens of times. (Presumably once per mouse event.)

Expected results:

Nothing in console.

Severity: normal → minor
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: "Error in parsing value for ‘transform’." when rolling mouse over DOM Inspector → "Error in parsing value for ‘transform’." when rolling mouse over DOM Inspector with SVG file open

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Inspector
Product: Firefox → DevTools

The box model highlighter doesn't yet support SVG documents according to bug 714738. However, the code path seems to be followed. Normally, the highlighter shows when hovering over nodes in the markup panel. An info bar with coordinates and node attributes shows up next to the highlighted element.

The error in the console corresponds to a CSS transform applied to the info bar of the highlighter. The top property ends up NaN and the whole transform value is invalid prompting the CSS warning in the console.

Depends on: 714738
Priority: -- → P3

Updating Severity from minor to P4 per May 4th changes to Severity field and triage process.

Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.