author Emilio Cobos Álvarez <>
Sat, 19 Sep 2020 14:28:51 +0000
changeset 549372 ab4f6932ea8abfd45cb679568b95ec9394af6656
parent 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1665823 - Consider display: none elements as having current style for animation-only traversal. r=hiro This is mostly a band-aid, though it also serves sorta as an optimization. The issue here is basically bug 1393323. By re-cascading, right now we can't come up with the right before-change style if CSSOM has mutated the rules. We really need a better way to come up with the before-change style, as the animation-only traversal is not really sustainable (nor fast, for that matter...). But this avoids crashing and prevents the regression easily, so let's do that for now. Differential Revision:

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef MutexPlatformData_windows_h
#define MutexPlatformData_windows_h

#include <windows.h>

#include "mozilla/PlatformMutex.h"

struct mozilla::detail::MutexImpl::PlatformData {
  SRWLOCK lock;

#endif  // MutexPlatformData_windows_h