servo/components/script
bors-servo aa76909f55
Auto merge of #21215 - nupurbaghel:update_source_set, r=jdm
Implement step 5 of select_image_source

<!-- Please describe your changes on the following line: -->
This step is responsible for selecting an image source based on user agent's environment( closest value which is greater than user's pixel density)
In case of no device, maximum density source is selected.

---
<!-- 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 #11416

<!-- Either: -->
- [x] These changes do not require tests because tests are already present

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21215)
<!-- Reviewable:end -->
2018-07-20 17:25:14 -04:00
..
docs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
dom Auto merge of #21215 - nupurbaghel:update_source_set, r=jdm 2018-07-20 17:25:14 -04:00
task_source use remote-event task source in EventSource 2018-07-13 13:56:46 +08:00
body.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
build.rs Use env::var_os to read paths from the environment 2017-10-20 09:03:21 -07:00
Cargo.toml Update parking_lot to 0.6 2018-07-20 00:44:08 +02:00
clipboard_provider.rs make use of ScriptToConstellationChan 2017-08-15 08:22:09 +02:00
CMakeLists.txt build(cmake): detect python binary for specified version 2018-03-13 09:25:06 -07:00
devtools.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00
document_loader.rs Add a topLevelDomComplete metric. 2017-12-14 16:48:19 -06:00
fetch.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
layout_image.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
lib.rs Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
mem.rs Pass new method in CollectServoSizes for accurate DOM heap use reporting 2018-03-27 20:35:39 -04:00
microtask.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
network_listener.rs Introduce TaskOnce 2017-09-20 10:37:09 +02:00
script_runtime.rs Pass new method in CollectServoSizes for accurate DOM heap use reporting 2018-03-27 20:35:39 -04:00
script_thread.rs use remote-event task source in EventSource 2018-07-13 13:56:46 +08:00
serviceworker_manager.rs remove extra spaces after keywords 2017-07-20 00:45:02 +03:00
serviceworkerjob.rs added pipelines to all task sources 2017-10-25 14:25:58 +01:00
stylesheet_loader.rs introduce "per task source" ignoring of tasks 2018-07-10 13:42:28 +08:00
task.rs Make usage of core_intrinsics optional 2017-10-16 20:20:21 +02:00
test.rs Remove unused code for parsing a sizes attribute. 2018-07-01 10:53:42 +02:00
textinput.rs Correct default selectionStart and selectionEnd 2018-02-23 02:37:11 +05:30
timers.rs Updated to mozjs v0.7.1. 2018-05-30 14:44:47 -05:00
unpremultiplytable.rs
webdriver_handlers.rs Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 2018-03-28 21:28:30 +02:00