mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement offsetParent/Top/Left/Width/Height.
This commit is contained in:
parent
1809748dc1
commit
9e5687e3e7
21 changed files with 325 additions and 24 deletions
|
@ -2157,7 +2157,7 @@ bitflags! {
|
|||
/// A top-down fragment border box iteration handler.
|
||||
pub trait FragmentBorderBoxIterator {
|
||||
/// The operation to perform.
|
||||
fn process(&mut self, fragment: &Fragment, overflow: &Rect<Au>);
|
||||
fn process(&mut self, fragment: &Fragment, level: i32, overflow: &Rect<Au>);
|
||||
|
||||
/// Returns true if this fragment must be processed in-order. If this returns false,
|
||||
/// we skip the operation for this fragment, but continue processing siblings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue