The default bug view has changed. See this FAQ.

Status

()

Core
SVG
RESOLVED FIXED
9 years ago
6 years ago

People

(Reporter: Gavin, Assigned: jwatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

See bug 418206 comment 7.
(Assignee)

Comment 1

6 years ago
The problem that bug 418206 fixed was that an invalid viewBox on the root <svg> had an affect on the SVGRect returned by document.documentElement.getBBox(). It make the SVGRect huge, and the testcases were doing |for (var i=0; i<bbox.width; ++i)| (and the same for height) which was resulting in a massive number of iterations. Basically what we need here is a test to check that the SVGRect returned by getBBox() isn't affected by a broken viewBox.
(Assignee)

Comment 2

6 years ago
I'll push a test in a bit.
(Assignee)

Comment 3

6 years ago
http://hg.mozilla.org/mozilla-central/rev/246b6dbc417a
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.