Bug 1497321 [wpt PR 13372] - Fix typo in focus-visible selector test., a=testonly
authorJosh Matthews <josh@joshmatthews.net>
Thu, 11 Oct 2018 09:30:28 +0000
changeset 499456 bf9667abba51109254ad238200f9ad5ae013e7b4
parent 499455 28e4a41b82890ca85a1bd557ef46d63813e339d5
child 499457 cb1d335ae21b8eb8d711d0fedaafdf93a4bea0db
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1497321, 13372
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1497321 [wpt PR 13372] - Fix typo in focus-visible selector test., a=testonly Automatic update from web-platform-testsFix typo in focus-visible selector test. -- wpt-commits: 1400d501f1b4eca2552fc2cfc2faf7d0495934ba wpt-pr: 13372
testing/web-platform/tests/css/selectors/focus-visible-009.html
--- a/testing/web-platform/tests/css/selectors/focus-visible-009.html
+++ b/testing/web-platform/tests/css/selectors/focus-visible-009.html
@@ -28,17 +28,17 @@
   <script>
     async_test(function(t) {
       button.addEventListener("focus", t.step_func(function() {
         assert_equals(getComputedStyle(button).outlineColor, "rgb(0, 100, 0)");
         t.done();
       }));
 
       // Handle the case where the button is focused before the test runs.
-     if (document.activeButtonement === button) {
+     if (document.activeElement === button) {
         assert_equals(getComputedStyle(button).outlineColor, "rgb(0, 100, 0)");
         t.done();
      }
 
     }, "Autofocus should match :focus-visible");
   </script>
 </body>
 </html>