diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-07-27 15:20:27 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-08-03 11:55:38 +1000 |
commit | 9e5687e3e72f2c79bf17bcfb33ea33f0659377ac (patch) | |
tree | 747b19a3de028cebc1dca77f6edd1a38fba1cf33 /components/layout/inline.rs | |
parent | 1809748dc12ec63e3179b66109c91983f744c235 (diff) | |
download | servo-9e5687e3e72f2c79bf17bcfb33ea33f0659377ac.tar.gz servo-9e5687e3e72f2c79bf17bcfb33ea33f0659377ac.zip |
Implement offsetParent/Top/Left/Width/Height.
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index abf23e488dd..b36320cc3f9 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -1623,6 +1623,7 @@ impl Flow for InlineFlow { fn iterate_through_fragment_border_boxes(&self, iterator: &mut FragmentBorderBoxIterator, + level: i32, stacking_context_position: &Point2D<Au>) { // FIXME(#2795): Get the real container size. for fragment in self.fragments.fragments.iter() { @@ -1636,6 +1637,7 @@ impl Flow for InlineFlow { let relative_containing_block_mode = self.base.absolute_position_info.relative_containing_block_mode; iterator.process(fragment, + level, &fragment.stacking_relative_border_box(stacking_relative_position, relative_containing_block_size, relative_containing_block_mode, |