disable_transitions.theme.css
/**
* Remove CSS animation effects that can cause random test failures.
*/
* {
/* CSS transitions. */
-o-transition: none !important;
-moz-transition: none !important;
-ms-transition: none !important;
-webkit-transition: none !important;
transition: none !important;
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/* CSS animations. */
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
/**
* Prevent youtube and third party content in iFrames from affecting tests.
*
* @todo Remove once bug in Chromedriver is fixed.
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2758
*/
iframe.media-oembed-content {
width: 0 !important;
height: 0 !important;
}
File
-
core/
modules/ system/ tests/ modules/ css_disable_transitions_test/ css/ disable_transitions.theme.css
View source
- /**
- * Remove CSS animation effects that can cause random test failures.
- */
- * {
- /* CSS transitions. */
- -o-transition: none !important;
- -moz-transition: none !important;
- -ms-transition: none !important;
- -webkit-transition: none !important;
- transition: none !important;
- -o-transition-property: none !important;
- -moz-transition-property: none !important;
- -ms-transition-property: none !important;
- -webkit-transition-property: none !important;
- transition-property: none !important;
- /* CSS animations. */
- -webkit-animation: none !important;
- -moz-animation: none !important;
- -o-animation: none !important;
- -ms-animation: none !important;
- animation: none !important;
- }
-
- /**
- * Prevent youtube and third party content in iFrames from affecting tests.
- *
- * @todo Remove once bug in Chromedriver is fixed.
- https://bugs.chromium.org/p/chromedriver/issues/detail?id=2758
- */
- iframe.media-oembed-content {
- width: 0 !important;
- height: 0 !important;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.