mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Merge pull request #3492 from pcwalton/clear-generated-content-table
layout: Support any `display` property in generated content, and allow Reviewed-by: glennw
This commit is contained in:
commit
33e2a7b362
7 changed files with 99 additions and 50 deletions
|
@ -19,7 +19,7 @@ use wrapper::ThreadSafeLayoutNode;
|
|||
use servo_util::geometry::Au;
|
||||
use std::cmp::max;
|
||||
use std::fmt;
|
||||
use style::computed_values::{float, table_layout};
|
||||
use style::computed_values::{clear, float, table_layout};
|
||||
|
||||
#[deriving(Encodable)]
|
||||
pub enum TableLayout {
|
||||
|
@ -252,6 +252,10 @@ impl Flow for TableWrapperFlow {
|
|||
&mut self.block_flow
|
||||
}
|
||||
|
||||
fn float_clearance(&self) -> clear::T {
|
||||
self.block_flow.float_clearance()
|
||||
}
|
||||
|
||||
fn float_kind(&self) -> float::T {
|
||||
self.block_flow.float_kind()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue