mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Merge pull request #3341 from glennw/table-cb
Implement generated_containing_block_rect for TableFlow. Fixes #3337.
This commit is contained in:
commit
13ae369dec
4 changed files with 42 additions and 0 deletions
|
@ -18,6 +18,7 @@ use wrapper::ThreadSafeLayoutNode;
|
|||
|
||||
use servo_util::geometry::Au;
|
||||
use servo_util::geometry;
|
||||
use servo_util::logical_geometry::LogicalRect;
|
||||
use std::fmt;
|
||||
use style::computed_values::table_layout;
|
||||
|
||||
|
@ -290,6 +291,10 @@ impl Flow for TableFlow {
|
|||
fn compute_absolute_position(&mut self) {
|
||||
self.block_flow.compute_absolute_position()
|
||||
}
|
||||
|
||||
fn generated_containing_block_rect(&self) -> LogicalRect<Au> {
|
||||
self.block_flow.generated_containing_block_rect()
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Show for TableFlow {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue