servo/components/layout
bors-servo 3fa5d83ab7 Auto merge of #18234 - BorisChiou:stylo/transform/distance_mismatch, r=birtles,nox
stylo: Bug 1390039 - Implement compute_distance for mismatched transform lists.

Implement ComputeSquaredDistance for mismatched transform lists.
In order to do this, we have to convert a transform list into a 3d matrix,
so I move the code from layout module into style module for reusing it.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1390039](https://bugzilla.mozilla.org/show_bug.cgi?id=1390039).
- [X] These changes do not require tests because this is a Gecko feature and I add many tests in Gecko already.

<!-- 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/18234)
<!-- Reviewable:end -->
2017-08-30 06:03:32 -05:00
..
animation.rs stylo: Remove a lot of the restyle damage related complexity. 2017-08-20 13:59:46 +02:00
block.rs Auto merge of #18175 - stshine:no-floats-in-flexbox, r=mbrubeck 2017-08-29 19:15:59 -05:00
Cargo.toml Updated h5e and x5e 2017-08-18 19:51:17 +05:30
construct.rs Use the is_absolute_containing_block method everywhere 2017-08-16 13:32:48 +02:00
context.rs Speculatively evaluate paint functions during style. 2017-07-31 13:02:28 -05:00
data.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
display_list_builder.rs Allow overflow:scroll without a stacking context 2017-08-24 08:30:45 +02:00
flex.rs Auto merge of #18175 - stshine:no-floats-in-flexbox, r=mbrubeck 2017-08-29 19:15:59 -05:00
floats.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
flow.rs Auto merge of #18175 - stshine:no-floats-in-flexbox, r=mbrubeck 2017-08-29 19:15:59 -05:00
flow_list.rs Untry 2017-06-18 13:21:51 +02:00
flow_ref.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fragment.rs Auto merge of #18234 - BorisChiou:stylo/transform/distance_mismatch, r=birtles,nox 2017-08-30 06:03:32 -05:00
generated_content.rs Code organization: Move all generic traversal code to layout::traversal 2017-08-08 10:53:19 -07:00
incremental.rs Force reflow in the sequential fallback of block format context 2017-04-23 08:32:25 +08:00
inline.rs Remove border collapse argument from compute_border_and_padding 2017-08-25 23:41:55 -07:00
layout_debug.rs Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
lib.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Improve containing block creation for position:absolute flows 2017-08-17 20:46:27 +02:00
model.rs Implement to_transform_3d_matrix for computing distance of mismatched transform lists. 2017-08-25 18:25:14 +08:00
multicol.rs Improve containing block creation for position:absolute flows 2017-08-17 20:46:27 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Eliminate the sequential/traversal parallel distinction in favor of a unified adaptive driver. 2017-08-25 10:00:27 -07:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs style: Only store applicable ::before / ::after pseudo styles during the traversal. 2017-08-25 08:46:22 +02:00
sequential.rs Eliminate the sequential/traversal parallel distinction in favor of a unified adaptive driver. 2017-08-25 10:00:27 -07:00
table.rs Remove border collapse argument from compute_border_and_padding 2017-08-25 23:41:55 -07:00
table_caption.rs Improve containing block creation for position:absolute flows 2017-08-17 20:46:27 +02:00
table_cell.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
table_colgroup.rs Fix fixed position items with parents with CSS clips 2017-08-03 17:52:02 +02:00
table_row.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
table_rowgroup.rs Improve containing block creation for position:absolute flows 2017-08-17 20:46:27 +02:00
table_wrapper.rs Remove border collapse argument from compute_border_and_padding 2017-08-25 23:41:55 -07:00
text.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs Eliminate the sequential/traversal parallel distinction in favor of a unified adaptive driver. 2017-08-25 10:00:27 -07:00
webrender_helpers.rs Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" 2017-08-16 23:23:18 +02:00
wrapper.rs script: Move the layout_wrapper outside of script. 2017-07-15 16:41:12 +02:00