"Error in parsing value for ‘transform’." when rolling mouse over DOM Inspector with SVG file open
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
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.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
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.
Comment 3•5 years ago
|
||
Updating Severity from minor
to P4
per May 4th changes to Severity field and triage process.
Description
•