Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPop WebRender reference frames in layout 2020 #26066
Comments
|
I think that On the other hand, now that Layout 2020 is using reference frame coordinates everywhere, it raises the question of whether or not Layout 2013 and Gecko should as well. This would have the benefit of allowing the removal of the coordinate space mapper from The refactor that you are suggesting probably makes sense either way. |
|
Ah, sorry, I deleted that comment after thinking about it some more. Old-layout passed around intermediate objects and I didn't immediately recognize that I can't make any judgements on big-picture strategy things.. I have maybe 20 hours of combined time looking at any of this code :) |
Ensure reference frame is popped in layout 2020 closes: #26066 Should be equivalent to #26063 for layout2020 --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #26066 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___
Ensure reference frame is popped in layout 2020 closes: #26066 Should be equivalent to #26063 for layout2020 --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #26066 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___
Followup of #26063
I'm not familiar with layout 2020, but I think all we need to do is call
pop_reference_frameat the end of the function if the following returns true:servo/components/layout_2020/display_list/stacking_context.rs
Lines 477 to 478 in 687156a
cc @mrobinson @dralley