From c7e619dfe74adf27ae505200998ebc042091081a Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 14 Oct 2014 14:17:57 -0700 Subject: layout: Rewrite intrinsic inline-size and automatic table layout to match L. David Baron's work-in-progress specification. http://dbaron.org/css/intrinsic/ Column spans are not yet supported. This effectively adds support for percentage widths, and it also fixes many bugs, improving the layout of Google and Wikipedia. --- components/layout/construct.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/layout/construct.rs') diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 4233c565dba..7d4b6d24b81 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -767,8 +767,8 @@ impl<'a> FlowConstructor<'a> { flow.add_new_child(anonymous_flow); } - /// Builds a flow for a node with `display: table`. This yields a `TableWrapperFlow` with possibly - /// other `TableCaptionFlow`s or `TableFlow`s underneath it. + /// Builds a flow for a node with `display: table`. This yields a `TableWrapperFlow` with + /// possibly other `TableCaptionFlow`s or `TableFlow`s underneath it. fn build_flow_for_table_wrapper(&mut self, node: &ThreadSafeLayoutNode, float_value: float::T) -> ConstructionResult { let fragment = Fragment::new_from_specific_info(node, TableWrapperFragment); -- cgit v1.2.3