From c2a6262807078eaac235c8d2202a71da79511e1a Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Tue, 11 Aug 2015 12:33:43 -0700 Subject: [PATCH] Remove IE6 CSS hover support The hover effect is not a basic usability requirement. Having this ancient cruft in our HTML depresses me. Change-Id: I0ca5b3b6a6037a9ec733283c656996969cc020e3 --- SkinVector.php | 12 +- csshover.htc | 284 ----------------------------------------------- csshover.min.htc | 12 -- 3 files changed, 1 insertion(+), 307 deletions(-) delete mode 100644 csshover.htc delete mode 100644 csshover.min.htc diff --git a/SkinVector.php b/SkinVector.php index 5d14628ae..f8cf6c3ba 100644 --- a/SkinVector.php +++ b/SkinVector.php @@ -51,17 +51,7 @@ class SkinVector extends SkinTemplate { $out->addModuleStyles( 'skins.vector.styles.responsive' ); } - // Append CSS which includes IE only behavior fixes for hover support - - // this is better than including this in a CSS file since it doesn't - // wait for the CSS file to load before fetching the HTC file. - $min = $this->getRequest()->getFuzzyBool( 'debug' ) ? '' : '.min'; - $out->addHeadItem( 'csshover', - '" - ); - - $out->addModules( array( 'skins.vector.js' ) ); + $out->addModules( 'skins.vector.js' ); } /** diff --git a/csshover.htc b/csshover.htc deleted file mode 100644 index a13ea68da..000000000 --- a/csshover.htc +++ /dev/null @@ -1,284 +0,0 @@ - - \ No newline at end of file diff --git a/csshover.min.htc b/csshover.min.htc deleted file mode 100644 index 7e5c57b33..000000000 --- a/csshover.min.htc +++ /dev/null @@ -1,12 +0,0 @@ - -