servo/components/layout_2020
bors-servo cb4e3cb16a
Auto merge of #26758 - jdm:stacking-context-transform-zero, r=mrobinson
Don't create empty stacking contexts in display lists

A recent change to euclid exposed that our display lists can contain Rects that contain NaN values. These NaNs originate from creating stacking contexts with transforms that scale the horizontal or vertical dimensions to 0. WebRender isn't prepared to handle these, so we need to not produce these empty stacking contexts when building the display list.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26592 and fix #26590
- [x] There are tests for these changes
2020-06-09 13:37:30 -04:00
..
display_list Auto merge of #26758 - jdm:stacking-context-transform-zero, r=mrobinson 2020-06-09 13:37:30 -04:00
flow Mutably borrow to do layout of independent formatting contexts 2020-06-09 13:44:43 +02:00
Cargo.toml Remove some unused dependency declarations 2020-05-29 00:04:34 +02:00
cell.rs Implement Default for ArcRefCell 2020-03-17 11:15:17 -07:00
context.rs Implement cross origin resource policy check 2020-05-08 19:15:24 +02:00
data.rs Replace OpaqueStyleAndLayoutData by StyleAndOpaqueLayoutData 2020-04-06 23:06:13 +02:00
dom_traversal.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
element_data.rs Flex items in the box tree 2020-06-04 13:19:53 +02:00
flexbox.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
formatting_contexts.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
fragments.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
geom.rs Less cloning 2020-04-01 01:00:14 +02:00
layout_debug.rs Rename BoxTreeRoot/FragmentTreeRoot to BoxTree/FragmentTree 2020-05-15 13:25:35 +02:00
lib.rs Layout 2020 skeleton for display: flex, behind a pref 2020-06-04 13:09:57 +02:00
opaque_node.rs Remove layout_2020::display_list, use WebRender display lists instead 2019-09-07 19:38:44 +02:00
positioned.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
query.rs layout_2020: Tag fragments with their pseudo content type 2020-06-06 17:25:08 +02:00
replaced.rs Implement cross origin resource policy check 2020-05-08 19:15:24 +02:00
sizing.rs Less cloning 2020-04-01 01:00:14 +02:00
style_ext.rs Layout 2020 skeleton for display: flex, behind a pref 2020-06-04 13:09:57 +02:00
traversal.rs Remove postorder traversal from layout 2020 during styling 2020-04-06 12:40:05 +02:00
wrapper.rs Replace OpaqueStyleAndLayoutData by StyleAndOpaqueLayoutData 2020-04-06 23:06:13 +02:00