Prevent homepage animation for users that prefer reduced motion
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Nov 2018 18:02:56 +0000 (18:02 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Nov 2018 18:02:56 +0000 (18:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188211

Reviewed by Timothy Hatcher.

* wp-content/themes/webkit/front-header.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/front-header.php

index 6ca1ce8..8c89f85 100644 (file)
@@ -1,3 +1,12 @@
+2018-11-01  Jon Davis  <jond@apple.com>
+
+        Prevent homepage animation for users that prefer reduced motion
+        https://bugs.webkit.org/show_bug.cgi?id=188211
+
+        Reviewed by Timothy Hatcher.
+
+        * wp-content/themes/webkit/front-header.php:
+
 2018-10-25  Jon Davis  <jond@apple.com>
 
         Added support for "deprecated" feature status
index 7ad0526..8824a71 100644 (file)
             font-size: 2.5rem;
             letter-spacing: -0.016rem;
         }
+    }    
+    
+    @media (prefers-reduced-motion) {
+        #compass {
+            animation: none;
+            transform: translateY(-400px);
+        }
     }
     </style>