Navigation Menu

Skip to content

Commit

Permalink
Treat table rows as single line.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed May 31, 2012
1 parent 79aa69c commit c0bad84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdf/lib/Template/Flute/PDF/Box.pm
Expand Up @@ -420,6 +420,9 @@ sub calculate {
elsif ($self->{gi} eq 'br') {
$clear->{before} = 1;
}
elsif ($self->{gi} eq 'tr') {
$clear->{before} = $clear->{after} = 1;
}
elsif ($self->{specs}->{props}->{display} eq 'block') {
if ($self->property('float') eq 'left') {
# no change
Expand Down

0 comments on commit c0bad84

Please sign in to comment.