From 389eba6bd90fb371754716fd12adf7f7a470eb89 Mon Sep 17 00:00:00 2001 From: Daniel Kinzler Date: Fri, 18 Jun 2010 19:21:04 +0000 Subject: [PATCH] follop-up to 68230: forgot to commit the styles needed for layout grids --- includes/parser/Parser.php | 6 +++--- skins/common/shared.css | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 4605baa8cc..fc9303c548 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -836,9 +836,9 @@ class Parser { $td_tag = 'div'; $caption_tag = 'div'; - $extra_table_attribs = array( 'class' => 'grid-table', 'style' => 'display:table;' ); - $extra_tr_attribs = array( 'class' => 'grid-row', 'style' => 'display:table-row;' ); - $extra_td_attribs = array( 'class' => 'grid-cell', 'style' => 'display:table-cell;' ); + $extra_table_attribs = array( 'class' => 'grid-table' ); + $extra_tr_attribs = array( 'class' => 'grid-row' ); + $extra_td_attribs = array( 'class' => 'grid-cell' ); $convert_style = true; } diff --git a/skins/common/shared.css b/skins/common/shared.css index a1c2f71fad..ecb1764edf 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -877,3 +877,16 @@ td.mw-enhanced-rc { a.sortheader { margin: 0 0.3em; } + +.grid-table { + display: table; +} + +.grid-row { + display: table-row; +} + +.grid-cell { + display: table-cell; + padding: 0.33ex; +} -- 2.20.1