aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_caption.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/table_caption.rs')
-rw-r--r--components/layout/table_caption.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/layout/table_caption.rs b/components/layout/table_caption.rs
index 96e50747dc9..b27a8260f7c 100644
--- a/components/layout/table_caption.rs
+++ b/components/layout/table_caption.rs
@@ -14,6 +14,8 @@ use wrapper::ThreadSafeLayoutNode;
use servo_util::geometry::Au;
use std::fmt;
+use style::ComputedValues;
+use sync::Arc;
/// A table formatting context.
pub struct TableCaptionFlow {
@@ -73,6 +75,10 @@ impl Flow for TableCaptionFlow {
debug!("build_display_list_table_caption: same process as block flow");
self.block_flow.build_display_list(layout_context)
}
+
+ fn repair_style(&mut self, new_style: &Arc<ComputedValues>) {
+ self.block_flow.repair_style(new_style)
+ }
}
impl fmt::Show for TableCaptionFlow {