servo/components/layout
bors-servo 4cf2ce66fc Auto merge of #18933 - mrobinson:wr-text-index, r=jdm
Use WebRender to compute text index on click events

This is the second half of switching over to WebRender for hit testing.
Now that WebRender gives us the location of the hit tested point in the
display item, we can use that to calculate text index.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they shouldn't change behavior.

<!-- 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/18933)
<!-- Reviewable:end -->
2017-10-19 02:36: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 Fix duplicate stacking context creation for anonymous Flows 2017-10-18 09:31:40 +02:00
Cargo.toml Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
construct.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
context.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
data.rs layout: Stop doing unsafe transmutes between refcell references. 2017-05-25 10:31:40 +02:00
display_list_builder.rs Auto merge of #18921 - mrobinson:incremental-stacking-context-ids, r=emilio 2017-10-18 21:34:23 -05:00
flex.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
floats.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
flow.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
flow_list.rs Remove usage of unstable feature conservative_impl_trait in layout 2017-10-13 11:11:06 +02:00
flow_ref.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
fragment.rs Remove usage of unstable feature box_patterns 2017-10-13 11:11:08 +02:00
generated_content.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
incremental.rs Force reflow in the sequential fallback of block format context 2017-04-23 08:32:25 +08:00
inline.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
layout_debug.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
lib.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
model.rs style: Make border-spacing serialization consistent, and move it to precomputed_type. 2017-09-17 21:33:17 +02:00
multicol.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Use raw pointers instead of transmute for UnsafeFlow 2017-10-04 20:00:31 -07:00
persistent_list.rs Make tidy aware of Rust multiline strings 2017-09-21 17:17:47 -04:00
query.rs Auto merge of #18704 - mrobinson:wr-hit-testing, r=jdm,glennw,mbrubeck 2017-10-17 17:09:25 -05:00
sequential.rs Separate stacking context collection and display list building state 2017-09-12 17:15:06 +02:00
table.rs Fix duplicate stacking context creation for anonymous Flows 2017-10-18 09:31:40 +02:00
table_caption.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_cell.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_colgroup.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_row.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_rowgroup.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
table_wrapper.rs Introduce an unsafe HasBaseFlow trait for base()/base_mut() casts. 2017-10-14 00:03:57 +02:00
text.rs Remove usage of unstable box syntax, except in the script crate 2017-10-12 12:10:56 +02:00
traversal.rs Eliminate RestyleData entirely. 2017-09-12 10:33:51 -07:00
webrender_helpers.rs Auto merge of #18933 - mrobinson:wr-text-index, r=jdm 2017-10-19 02:36:32 -05:00
wrapper.rs Rename LayoutJS<T> to LayoutDom<T> 2017-09-26 09:49:04 +02:00