Closed Bug 486114 Opened 16 years ago Closed 11 years ago

Create an array of SVG mochitests for getBoundingClientRect()

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jwatt, Unassigned)

References

(Depends on 1 open bug)

Details

Followup from bug 465996. Once bug 478152 is fixed, we should create mochitests for getBoundingClientRect() that compare against hard values or, in some cases, values with a percentage tolerance. function compare_bounds_with_tolerance(actual_bounds, ideal_bounds, tolerance) { ... }
There are tests in test_bounds.html these tests have been built up over various bugs but pretty much cover why this bug was raised in the first place these days.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.