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 upPushStackingContext has its own bounds field, instead of using common DisplayItem rect #619
Comments
|
@vvuk This seems reasonable to me. |
|
@mrobinson Is this still relevant? |
|
@glennw This shouldn't be an issue any longer because now stacking contexts just have a bounds and no longer a clip bounds as well. That bounds is stored in the common DisplayItem struct, so I'll just close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
push_stacking_context sets DisplayItem::rect to Rect::zero() always, and has its own bounds inside StackingContext. I think this is a leftover from when SC's were converted to push/pop; we should be able to get rid of the inner bounds, right?