servo/components/script
bors-servo 63cb13f5fa
Auto merge of #25405 - pshaughn:minmaxstep, r=jdm
make stepUp, stepDown, valueAsNumber, valueAsDate, and list work in HTMLInputElement

<!-- Please describe your changes on the following line: -->
Steppy operation of input elements now functions. A few related tests still fail because of incorrect test expectations. A couple range reftests fail on what might be correct expectations; solving that involves layout, not DOM.
Main changes here:
- str.rs now has its datetime format parsers public, with some changes to align their output with chrono::NaiveDateTime and fix a bug in milliseconds validation
- HTMLInputElement has new attributes, and code behind them for relevant concepts
- servoparser/mod.rs now has some extra code to ensure that input sanitization happens at the right moment during input element creation; the spec is non-specific about when this happens, but it has to happen somewhere and in #21952 @Eijebong had independently come to the same conclusion as me about the timing.
- Some tests are added where WPT wasn't already testing functionality I was adding; Firefox and Chrome pass them, Safari fails some in a reasonably expected way
- Lots of test metadata changed to passing

One test continues to fail because 0.1 * 6 != 0.6 and the spec is written in abstractions instead of actual floating-point numbers; other test failures are WPT bugs I've reported as such and will write fixes for soon if no one else does.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25390 and fix #25388 and fix #19773 (except validation doesn't exist) and fix #25386

<!-- Either: -->
- [X] There are tests for these changes OR

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-01-10 23:26:06 -05:00
..
docs
dom Auto merge of #25405 - pshaughn:minmaxstep, r=jdm 2020-01-10 23:26:06 -05:00
task_source remove unnecessary thread in filereader, add stream TODO 2019-12-10 14:55:22 +08:00
body.rs Add accountable-refcell as optional build time feature 2020-01-08 09:44:41 +05:30
build.rs
canvas_state.rs Addresses Issue: Support OffscreenCanvas as CanvasImageSource #24269 2019-12-04 18:23:28 -05:00
Cargo.toml Add accountable-refcell as optional build time feature 2020-01-08 09:44:41 +05:30
clipboard_provider.rs
compartments.rs
devtools.rs devtools: save and send cached messages 2019-12-06 10:10:43 +01:00
document_loader.rs
euclidext.rs
fetch.rs Add StreamConsumer wrapper and methods to response 2019-12-03 15:59:35 -05:00
image_listener.rs
init.rs script: Ensure JS engine is initialized and deinitialized on the same thread. 2019-11-26 21:54:33 -05:00
layout_image.rs
lib.rs Scaffold module script 2020-01-03 13:02:31 +09:00
mem.rs
microtask.rs
network_listener.rs #24468 Performance::queue_entries return the index of the added performance entry 2019-12-13 13:41:47 -05:00
script_module.rs Fix module script MIME check to not include params 2020-01-06 15:47:07 +05:30
script_runtime.rs Scaffold module script 2020-01-03 13:02:31 +09:00
script_thread.rs Auto merge of #24123 - gterzian:redo_blob, r=jdm 2019-12-19 16:16:56 -05:00
serviceworker_manager.rs Undo changes done to change worker_id type to string 2019-12-10 13:12:54 +05:30
serviceworkerjob.rs
stylesheet_loader.rs
stylesheet_set.rs
task.rs
task_manager.rs impl timer-task-source, dedicated time-out mechanism for service-worker 2019-11-19 14:32:21 +08:00
task_queue.rs
test.rs
textinput.rs
timers.rs impl timer-task-source, dedicated time-out mechanism for service-worker 2019-11-19 14:32:21 +08:00
unpremultiplytable.rs
webdriver_handlers.rs