mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -1968,12 +1968,14 @@ impl Flow for BlockFlow {
|
|||
|
||||
fn iterate_through_fragment_border_boxes(&self,
|
||||
iterator: &mut FragmentBorderBoxIterator,
|
||||
level: i32,
|
||||
stacking_context_position: &Point2D<Au>) {
|
||||
if !iterator.should_process(&self.fragment) {
|
||||
return
|
||||
}
|
||||
|
||||
iterator.process(&self.fragment,
|
||||
level,
|
||||
&self.fragment
|
||||
.stacking_relative_border_box(&self.base.stacking_relative_position,
|
||||
&self.base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue