You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I vaguely recall @ayg complaining ages ago about duplicating the parsers we already have for ECMAScript and Web IDL. I think the idea against that was that HTML should in theory be able to go beyond the limits imposed by those parsers. That might still be a worthwhile goal of sorts, but I don't think there's a good reason to have multiple specifications define ConvertToInt and the like.
Activity
domenic commentedon Feb 22, 2023
I don't think we should ask JS to change here. So it's a question of whether HTML can change to JS's semantics.
I think this might be a normative change, but probably one we could get away with.
For integers, the algorithms to compare are:
These definitely seem different, including e.g.:
For floats:
I haven't investigated the differences there.
Make reflect work for ElementInternals