Page MenuHomePhabricator

Hovercards: "Unexpected value 200 parsing viewBox attribute." in console
Closed, ResolvedPublic


In Firefox 28 roll over any link with an image, see

Unexpected value 200 parsing viewBox attribute.

in Browser console/Firebug. In Chromium developer console see

Warning: Problem parsing viewBox="200"

The logic in line 169 is faulty. As a result the viewBox is set to 200 (if the image is wide not tall) instead of a string of four numbers like "0 0 300 200", and the former is invalid SVG.

Version: master
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:18 AM
bzimport added a project: Page-Previews.
bzimport set Reference to bz63590.
bzimport added a subscriber: Unknown Object (MLST).
Spage created this task.Apr 6 2014, 9:22 AM

Change 124296 had a related patch set uploaded by Prtksxna:
Remove viewBox from SVG, not needed.

Change 124296 merged by jenkins-bot:
Remove viewBox from SVG, not needed.

Looks fixed to me.

Prtksxna moved this task from Backlog to Archive on the Page-Previews board.Dec 3 2014, 5:28 AM