-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update region lines parsing to round to +/- MAX_VALUE #470
base: main
Are you sure you want to change the base?
Conversation
@@ -2852,7 +2852,19 @@ Objects</a>.</p> | |||
|
|||
<li><p>Interpret |value| as an integer, and let |number| be that number.</p></li> | |||
|
|||
<li><p>Let |region|'s <a>WebVTT region lines</a> be |number|.</p></li> | |||
<li><p><i>Conversion</i>: Let <var>S</var> be the set of finite IEEE 754 double-precision |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's likely we don't need this conversion
label
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be useful if we need to do this conversion elsewhere as well. Might be worth checking.
I would recommend adding this to the REC branch directly. Then, for the master branch, update Bikeshed in a separate PR before making another PR with updates from the REC. |
64fb7ee
to
4f11bc5
Compare
This would potentially require an update to the WPT.
The text is borrowed from https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values, though, I don't think that it's a great fit here.
I haven't regenerated the index.html yet, will do so after I figure out the process around bikeshed updates.
Fixes #467.
Preview | Diff
Preview | Diff