servo/components/layout
bors-servo 91cee66fe8 Auto merge of #12930 - canaltinova:border-bottom, r=emilio
Fix wrong calculation of inline element's block size

Border, padding and margin properties' top and bottom values of inline elements were affecting the element's height. It shouldn't affect it normally. Fixed it and added a test.

---
<!-- 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 #11729 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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/12930)
<!-- Reviewable:end -->
2016-08-22 06:57:57 -05:00
..
animation.rs Make RestyleDamage::compute take no optional argument, delegate the handling to the caller. 2016-08-10 18:26:24 -07:00
block.rs Auto merge of #12873 - shinglyu:abs-margin-patch, r=notriddle,emilio 2016-08-15 08:19:04 -05:00
Cargo.toml Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
construct.rs do not reset pseudo elements style 2016-08-11 10:11:11 +03:00
context.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
data.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
display_list_builder.rs Auto merge of #12918 - hsinewu:12902-typedefs, r=Manishearth 2016-08-22 06:01:03 -05:00
flex.rs layout: Freeze flex item properly 2016-08-08 10:34:02 +08:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_list.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Fix wrong calculation of inline element's block size 2016-08-22 11:17:41 +03:00
generated_content.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs do not merge inline fragments if there is space in between 2016-08-11 10:11:11 +03:00
layout_debug.rs Fragment debug_id u16 only exists in debug, prod will format mem address 2016-06-04 19:19:42 +02:00
lib.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
model.rs Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
multicol.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Move util::workqueue to style 2016-07-04 21:56:09 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Auto merge of #12813 - emilio:hit-test, r=notriddle 2016-08-11 05:34:27 -05:00
sequential.rs layout: Make the stacking context take into account the children transform when calculating overflow areas. 2016-08-16 15:34:28 -07:00
table.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_caption.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_cell.rs Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04) 2016-08-05 14:45:32 +02:00
table_colgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_row.rs Fix table vertical alignment (middle, bottom, not yet baseline) with differing height cells 2016-07-26 13:05:10 +01:00
table_rowgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_wrapper.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
text.rs Prefer length and percentage for word spacing 2016-08-09 17:53:40 +05:30
traversal.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
webrender_helpers.rs layout: Make the stacking context take into account the children transform when calculating overflow areas. 2016-08-16 15:34:28 -07:00
wrapper.rs Remove the ComputedValue traits and style_struct_traits 2016-07-20 08:42:40 +02:00