Create an array of SVG mochitests for getBoundingClientRect()

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
10 years ago
5 years ago

People

(Reporter: jwatt, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.