mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Refactor inline layout a bit.
This commit is contained in:
parent
e74a57821f
commit
071d320728
3 changed files with 206 additions and 205 deletions
|
@ -288,6 +288,9 @@ pub trait Flow: fmt::Show + ToString + Sync {
|
|||
|
||||
/// Return the dimensions of the containing block generated by this flow for absolutely-
|
||||
/// positioned descendants. For block flows, this is the padding box.
|
||||
///
|
||||
/// NB: Do not change this `&self` to `&mut self` under any circumstances! It has security
|
||||
/// implications because this can be called on parents concurrently from descendants!
|
||||
fn generated_containing_block_rect(&self) -> LogicalRect<Au> {
|
||||
panic!("generated_containing_block_position not yet implemented for this flow")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue