09:02
<Jake Archibald>
What's the 'modern' thinking around property setters and validation? On <input>, min, max, step just reflect, whereas type is limited to known values. Is there a 'right' way?
09:04
<Jake Archibald>
max on <progress> is limited to positive numbers
11:03
<annevk>
Jake Archibald: limited to known values is generally good; just reflect might be good too, depending on the type
11:05
<Jake Archibald>
annevk: so do you think step should have checked the incoming value was parsable as a positive number or "any"?
11:16
<evilpie>
There is also something weird with setting value and localized numbers in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1704077
11:21
<annevk>
Jake Archibald: I think step could probably have taken better advantage of the fact that it can be typed; it being a DOMString is kinda silly
11:22
<Jake Archibald>
annevk: Same with min and max on <input> I think. Cool cool. Thanks for the clarification.
17:51
<jarhar>
so is the problem that the newly created document inherits CSP stuff and it shouldn't...?