From e0a7cdf26ddc8c290e8fea955b0fee7e03036908 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 16 Jun 2014 11:54:18 +0100 Subject: [PATCH] Remove display:inline-block highlight hacks for math nodes With getClientRects these are no longer necessary. Depends on I09f1c0850 in VE core. Change-Id: I2c4c1809a92c6d2cbf6769782f7595a508d823ea --- Math.php | 3 --- modules/VisualEditor/ve.ce.MWMathNode.css | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 modules/VisualEditor/ve.ce.MWMathNode.css diff --git a/Math.php b/Math.php index d2b78f4..8acff0e 100644 --- a/Math.php +++ b/Math.php @@ -483,9 +483,6 @@ $wgResourceModules['ext.math.visualEditor'] = array( 'VisualEditor/ve.ui.MWMathInspector.js', 'VisualEditor/ve.ui.MWMathInspectorTool.js', ), - 'styles' => array( - 'VisualEditor/ve.ce.MWMathNode.css', - ), 'dependencies' => array( 'ext.visualEditor.mwcore', ), diff --git a/modules/VisualEditor/ve.ce.MWMathNode.css b/modules/VisualEditor/ve.ce.MWMathNode.css deleted file mode 100644 index 4fa349e..0000000 --- a/modules/VisualEditor/ve.ce.MWMathNode.css +++ /dev/null @@ -1,3 +0,0 @@ -.ve-ce-mwMathNode { - display: inline-block; -}