layout: Refactor inline layout a bit.

This commit is contained in:
Patrick Walton 2014-12-10 23:16:18 -08:00
parent e74a57821f
commit 071d320728
3 changed files with 206 additions and 205 deletions

View file

@ -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")
}