src/Thujohn/Pdf/dompdf/include/table_row_frame_decorator.cls.php
function normalise() {

    // Find our table parent
    $p = Table_Frame_Decorator::find_parent_table($this);
    
    $erroneous_frames = array();
    foreach ($this->get_children() as $child) {      
      $display = $child->get_style()->display;

      if ( $display !== "table-cell" )
        $erroneous_frames[] = $child;
    }
    
    //  dump the extra nodes after the table.
    foreach ($erroneous_frames as $frame) 
      $p->move_after($frame);
  }
function normalise() {

    // Find our table parent
    $p = Table_Frame_Decorator::find_parent_table($this);
    
    $erroneous_frames = array();
    foreach ($this->get_children() as $child) {      
      $display = $child->get_style()->display;

      if ( $display !== "table-cell" )
        $erroneous_frames[] = $child;
    }
    
    //  dump the extra nodes after the table.
    foreach ($erroneous_frames as $frame) 
      $p->move_after($frame);
  }
function normalise ( ) { // Find our table parent $ p = Table_Frame_Decorator :: find_parent_table ( $ this ) ; $ erroneous_frames = array ( ) ; foreach ( $ this -> get_children ( ) as $ child ) { $ display = $ child -> get_style ( ) -> display ; if ( $ display !== "table-cell" ) $ erroneous_frames [ ] = $ child ; } //  dump the extra nodes after the table. foreach ( $ erroneous_frames as $ frame ) $ p -> move_after ( $ frame ) ; }
Remove all non table-cell frames from this row and move them after
the table.
Remove all non table - cell frames from this row and move them after the table .