aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r--components/layout/table_wrapper.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs
index 972f5299094..866916b9ad5 100644
--- a/components/layout/table_wrapper.rs
+++ b/components/layout/table_wrapper.rs
@@ -43,8 +43,12 @@ pub enum TableLayout {
Auto
}
+#[allow(unsafe_code)]
+unsafe impl ::flow::HasBaseFlow for TableWrapperFlow {}
+
/// A table wrapper flow based on a block formatting context.
#[derive(Serialize)]
+#[repr(C)]
pub struct TableWrapperFlow {
pub block_flow: BlockFlow,