servo/components/layout
bors-servo e4657c1496
Auto merge of #21931 - jdm:reload-images, r=emilio
Make layout use available image data before querying the image cache.

These changes make layout more efficient for any page which contains images that have already loaded, since it does not require synchronously querying the image cache thread for each image present. It also makes reloading a page actually display the images that are already in the image cache.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21919
- [x] There are tests for these changes

<!-- 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/21931)
<!-- Reviewable:end -->
2018-10-13 07:56:11 -04:00
..
display_list Update webrender to 923ee495bd9b0fda8a4a94c5a6cf42e2f0548731. 2018-10-09 18:23:19 -04:00
tests Rustfmt layout crate 2018-09-01 13:24:57 +02:00
animation.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
block.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
Cargo.toml This updates the smallvec crate and enables the union feature 2018-09-19 07:16:30 +02:00
construct.rs Revert import style format 2018-10-08 16:12:02 +02:00
context.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
data.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
flex.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
floats.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
flow.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
flow_list.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
flow_ref.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
fragment.rs Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
generated_content.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
incremental.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
inline.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
layout_debug.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
lib.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
model.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
multicol.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
opaque_node.rs Move DL items from gfx to layout 2018-04-22 13:13:45 +02:00
parallel.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
persistent_list.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
query.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
sequential.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_caption.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_cell.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_colgroup.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_row.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_rowgroup.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
table_wrapper.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
text.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
traversal.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00
wrapper.rs Rustfmt layout crate 2018-09-01 13:24:57 +02:00