Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -877,3 +877,16 @@ |
878 | 878 | a.sortheader { |
879 | 879 | margin: 0 0.3em; |
880 | 880 | } |
| 881 | + |
| 882 | +.grid-table { |
| 883 | + display: table; |
| 884 | +} |
| 885 | + |
| 886 | +.grid-row { |
| 887 | + display: table-row; |
| 888 | +} |
| 889 | + |
| 890 | +.grid-cell { |
| 891 | + display: table-cell; |
| 892 | + padding: 0.33ex; |
| 893 | +} |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -836,9 +836,9 @@ |
837 | 837 | $td_tag = 'div'; |
838 | 838 | $caption_tag = 'div'; |
839 | 839 | |
840 | | - $extra_table_attribs = array( 'class' => 'grid-table', 'style' => 'display:table;' ); |
841 | | - $extra_tr_attribs = array( 'class' => 'grid-row', 'style' => 'display:table-row;' ); |
842 | | - $extra_td_attribs = array( 'class' => 'grid-cell', 'style' => 'display:table-cell;' ); |
| 840 | + $extra_table_attribs = array( 'class' => 'grid-table' ); |
| 841 | + $extra_tr_attribs = array( 'class' => 'grid-row' ); |
| 842 | + $extra_td_attribs = array( 'class' => 'grid-cell' ); |
843 | 843 | |
844 | 844 | $convert_style = true; |
845 | 845 | } |