From cfd97e02f7e9074d177e7ca9110bd343643a7782 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 7 May 2014 09:42:02 +1200 Subject: [PATCH] MDL-45231 theme_clean: navbar is absolute when running behat in IE --- lib/behat/lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/behat/lib.php b/lib/behat/lib.php index a16ad3bf377..de3a5ae29f8 100644 --- a/lib/behat/lib.php +++ b/lib/behat/lib.php @@ -170,13 +170,13 @@ function behat_clean_init_config() { } } - // Here we are forcing the navbar to be absolutely positioned in Chrome + Safari in order to + // Here we are forcing the navbar to be absolutely positioned in Chrome, Safari and IE in order to // avoid a driver bug whereby when the browser scrolls something into view it doesn't account // for fixed positioned elements that end up obscuring the item thus leading to errors that // could be avoided by scrolling an additional amount. - // This should be removed as soon as the drivers have been fixed. + // This should be removed as soon as the affected drivers have been fixed. $CFG->forced_plugin_settings['theme_clean'] = array( - 'customcss' => 'body.safari .navbar-fixed-top {position: absolute;}' + 'customcss' => 'body.safari .navbar-fixed-top, body.ie .navbar-fixed-top {position: absolute;}' ); }