mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
Fix fixed position items with parents with CSS clips
In order to properly handle CSS clipping, we need to keep track of what the different kinds of clips that we have. On one hand, clipping due to overflow rules should respect the containing block hierarchy, while CSS clipping should respect the flow tree hierarchy. In order to represent the complexity of items that are scrolled via one clip/scroll frame and clipped by another we keep track of that status with a ClipAndScrollInfo.
This commit is contained in:
parent
46f6e68bad
commit
daf638bc3f
11 changed files with 214 additions and 106 deletions
|
@ -32,7 +32,7 @@ impl Epoch {
|
|||
pub struct StackingContextId(
|
||||
/// The identifier for this StackingContext, derived from the Flow's memory address
|
||||
/// and fragment type. As a space optimization, these are combined into a single word.
|
||||
u64
|
||||
pub u64
|
||||
);
|
||||
|
||||
impl StackingContextId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue