Open Bug 669293 Opened 13 years ago Updated 1 year ago

Setting a NaN or infinite value to a double attribute should throw NS_UNSUPPORTED_ERR

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: mounir, Unassigned)

References

()

Details

See:
http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#float-nan

This should apply to methods taking double arguments too.
Note that, in general, it doesn't apply to canvas.
Atul, you might be interested by this? The code might be close to some code you already know. Though, it requires digging into the specs to know which attributes are excluded by this rule.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.