DoubleRange dictionary is used to define a range of permitted double-precision floating-point values for a property, with either or both a maximum and minimum value specified. The
ConstrainDouble dictionary is based on this, augmenting it to support exact and ideal values as well.
- A floating-point value specifying the largest permissible value of the property it describes.
- A floating-point value specifying the smallest permissible value of the property it describes.
min and/or and
max values are required. If no match can be found that is within the given range, an error will occur.
|Media Capture and Streams
The definition of 'DoubleRange' in that specification.
|Candidate Recommendation||Initial definition|
BCD tables only load in the browser