Closed
Bug 433063
Opened 16 years ago
Closed 13 years ago
write tests for bug 418206
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: Gavin, Assigned: jwatt)
Details
See bug 418206 comment 7.
Assignee | ||
Comment 1•13 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•13 years ago
|
||
I'll push a test in a bit.
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/246b6dbc417a
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•