mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename compute_absolute_position to compute_stacking_relative_position
This commit is contained in:
parent
1f0e42e8fe
commit
a08bc13df9
14 changed files with 30 additions and 29 deletions
|
@ -339,8 +339,9 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static {
|
|||
mut_base(self).overflow = overflow
|
||||
}
|
||||
|
||||
/// Phase 4 of reflow: computes absolute positions.
|
||||
fn compute_absolute_position(&mut self, _: &LayoutContext) {
|
||||
/// Phase 4 of reflow: Compute the stacking-relative position (origin of the content box,
|
||||
/// in coordinates relative to the nearest ancestor stacking context).
|
||||
fn compute_stacking_relative_position(&mut self, _: &LayoutContext) {
|
||||
// The default implementation is a no-op.
|
||||
mut_base(self).restyle_damage.remove(REPOSITION)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue