servo/components/layout
Kunal Mohan a5b43b7df1
Take origin from window instead of creating a new one in case of reflow
Everytime a new LayoutContext was created, it created a new origin which
caused endless stream of image loads to occur in case of reflow. The reason
for this was that the existing image, although cached successfully, was not
used because the entry in hashmap did not match because of different(new)
origin.
This is solved by storing the origin of a window in enum ScriptReflow and
used in creating new LayoutContext in case of reflow.
2020-02-15 23:51:26 +05:30
..
display_list style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
tests Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
animation.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
block.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
Cargo.toml Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
construct.rs style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
context.rs Take origin from window instead of creating a new one in case of reflow 2020-02-15 23:51:26 +05:30
data.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
flex.rs Servo build fixes. 2019-12-16 14:23:56 +01:00
floats.rs style: Rename MozLength to Size, and MaxLength to MaxSize. 2019-02-12 02:28:00 +01:00
flow.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
flow_list.rs Some further removals 2019-05-30 20:27:19 +02:00
flow_ref.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
fragment.rs Upgrade to rustc 1.43.0-nightly (5d04ce67f 2020-02-13) 2020-02-14 12:27:14 +01:00
generated_content.rs Fix Servo build and unify display representation. 2019-08-15 17:11:08 +02:00
incremental.rs Remove LayoutDamageComputation 2019-01-14 16:10:26 +01:00
inline.rs Servo build fixes. 2019-12-16 14:23:56 +01:00
layout_debug.rs Fix deprecation warnings 2019-01-28 11:32:40 +01:00
lib.rs Upgrade to rustc 1.42.0-nightly (3291ae339 2020-01-15) 2020-01-16 08:46:41 +01:00
linked_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
list_item.rs Update euclid. 2019-07-23 23:09:55 +02:00
model.rs Servo build fixes. 2019-12-16 14:23:56 +01:00
multicol.rs Servo build fixes. 2019-12-16 14:23:56 +01:00
opaque_node.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
parallel.rs Update rayon to dedupe crossbeam-epoch 2019-07-12 21:01:33 +02:00
persistent_list.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
query.rs Improve the name the NodeGeometryQuery 2020-02-05 15:25:52 +01:00
sequential.rs Update euclid. 2019-07-23 23:09:55 +02:00
table.rs style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
table_caption.rs Update euclid. 2019-07-23 23:09:55 +02:00
table_cell.rs Update euclid. 2019-07-23 23:09:55 +02:00
table_colgroup.rs Servo build fixes. 2019-12-16 14:23:56 +01:00
table_row.rs style: Miscellaneous Servo build fixes. 2020-02-12 02:43:23 +01:00
table_rowgroup.rs Update euclid. 2019-07-23 23:09:55 +02:00
table_wrapper.rs Update euclid. 2019-07-23 23:09:55 +02:00
text.rs layout: Resolve word_spacing ahead of time. 2020-02-12 02:43:23 +01:00
traversal.rs Some further removals 2019-05-30 20:27:19 +02:00
wrapper.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00