Skip to content

Commit

Permalink
stylo_taffy: map TableCell display to Block
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Dec 13, 2024
1 parent 9ba9d47 commit 61bf17b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/stylo_taffy/src/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ pub fn display(input: stylo::Display) -> taffy::Display {
stylo::DisplayInside::Flow => taffy::Display::Block,
#[cfg(feature = "block")]
stylo::DisplayInside::FlowRoot => taffy::Display::Block,
#[cfg(feature = "block")]
stylo::DisplayInside::TableCell => taffy::Display::Block,
// TODO: Support display:contents in Taffy
// TODO: Support table layout in Taffy
#[cfg(feature = "grid")]
Expand Down

0 comments on commit 61bf17b

Please sign in to comment.