mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Merge pull request #2222 from DanielHeath/master
Disable animations on pseudoelement content as well as regular elements
This commit is contained in:
commit
62bd0f97c5
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ module Capybara
|
||||||
DISABLE_MARKUP_TEMPLATE = <<~HTML
|
DISABLE_MARKUP_TEMPLATE = <<~HTML
|
||||||
<script defer>(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);</script>
|
<script defer>(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);</script>
|
||||||
<style>
|
<style>
|
||||||
%<selector>s {
|
%<selector>s, %<selector>s::before, %<selector>s::after {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
animation-duration: 0s !important;
|
animation-duration: 0s !important;
|
||||||
animation-delay: 0s !important;
|
animation-delay: 0s !important;
|
||||||
|
|
Loading…
Add table
Reference in a new issue