mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
layout: Draw elements with position: relative; z-index: auto
over
ordinary content per CSS 2.1 Appendix E. Improves Talking Points Memo.
This commit is contained in:
parent
234fb68a16
commit
87a620e1b3
7 changed files with 117 additions and 17 deletions
|
@ -35,6 +35,8 @@ impl DisplayListOptimizer {
|
|||
display_list.block_backgrounds_and_borders.iter());
|
||||
self.add_in_bounds_display_items(&mut result.floats, display_list.floats.iter());
|
||||
self.add_in_bounds_display_items(&mut result.content, display_list.content.iter());
|
||||
self.add_in_bounds_display_items(&mut result.positioned_content,
|
||||
display_list.positioned_content.iter());
|
||||
self.add_in_bounds_display_items(&mut result.outlines, display_list.outlines.iter());
|
||||
self.add_in_bounds_stacking_contexts(&mut result.children, display_list.children.iter());
|
||||
result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue