Gecko engine for Wine
Go to file
Brian Birtles 96b58d1f07 Bug 1048838 - Properly invalidate the style rule in nsTransitionManager::StyleContextChanged. r=dbaron
This patch fixes a regression from
https://hg.mozilla.org/mozilla-central/rev/31695984cfe2 (bug 1025709). That
patch replaced the EnsureStyleRuleFor method on ElementTransitions and
ElementAnimations with a common method in CommonElementAnimationData.

ElementTransitions::EnsureStyleRuleFor would create a new style rule if
there was no style rule (mStyleRule == nullptr) or if the refresh time was
old (mStyleRuleRefreshTime != aRefreshTime).

ElementAnimations::EnsureStyleRuleFor, however, would create a new style rule
only if mStyleRuleRefreshTime was null or old since a null style rule may
still be valid for animations (unlike transitions). If we bail as soon as we
a null style rule we would never update mNeedsRefreshes when the animation
finishes.

The unified version of EnsureStyleRuleFor in CommonElementAnimationData
adopted the behavior from ElementAnimations checking for a null or old
mStyleRuleRefreshTime.

However, nsTransitionManager::StyleContextChanged sets mStyleRule to nullptr
to indicate that we need to generate a new style rule. This means that we
will fail to create a style rule for the transition in some cases.

This patch addresses this by making nsTransitionManager::StyleContextChanged
set mStyleRuleRefreshTime to a null timestamp. Setting mStyleRule to nullptr
is no longer necessary since EnsureStyleRuleFor will do this when necessary
and nsTransitionManager::mStyleRule is only used after calling
EnsureStyleRuleFor.
2014-08-12 16:57:21 +09:00
accessible Backed out changeset 0409c8faca80 because of build bustage on a CLOSED TREE 2014-08-18 13:44:59 -04:00
addon-sdk Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
b2g Merge m-c to inbound. a=merge 2014-08-20 16:23:04 -04:00
browser Merge m-c to inbound. a=merge 2014-08-20 16:23:04 -04:00
build Bug 1055154 - Add additional suppressions for an intermittent WebRTC leak. r=jesup CLOSED TREE 2014-08-20 10:18:09 -07:00
caps Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
chrome Bug 1051102 - Make mPackagesHash be a more modern hashtable. r=bsmedberg 2014-08-11 11:13:36 -07:00
config Bug 1029155 - Store peer certificate chain from failed connections on TransportSecurityInfo r=keeler 2014-08-15 11:27:22 -07:00
content Bug 1056232 - Expect fmp4 pref in canPlayType. r=cpearce 2014-08-20 11:06:00 -07:00
db/sqlite3 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps 2014-08-07 14:21:03 +09:00
docshell Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
dom Bug 1020661: Ignore GCC warning Wunused-local-typedefs inside of webrtc's scoped_ptr.h header. r=jesup 2014-08-20 14:56:12 -07:00
editor Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru 2014-08-18 20:59:37 -04:00
embedding Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
extensions Bug 1054819 - Ensure that the dictionary is released on the main thread. r=ehsan 2014-08-20 04:28:00 -04:00
gfx Bug 1055931 - bump up priority of Hiragino Kaku Gothic for symbol fallback. r=mkato 2014-08-20 16:54:38 +09:00
hal Backed out changeset 07c91b928cd7 (bug 932698) for causing bug 1047618. a=me 2014-08-01 16:46:21 -04:00
image Bug 1045977 - Clear heap allocated volatile buffers, r=njn,seth 2014-08-19 15:30:55 -04:00
intl Bug 1054154 - Revert part of bug 1042878 to unbreak build when system ICU is installed. r=froydnj, r=glandium 2014-08-14 22:07:00 -04:00
ipc Merge m-c to inbound. a=merge 2014-08-20 16:23:04 -04:00
js Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem. 2014-08-19 22:25:37 -08:00
layout Bug 1048838 - Properly invalidate the style rule in nsTransitionManager::StyleContextChanged. r=dbaron 2014-08-12 16:57:21 +09:00
media Bug 1020661: Ignore GCC warning Wunused-local-typedefs inside of webrtc's scoped_ptr.h header. r=jesup 2014-08-20 14:56:12 -07:00
memory Bug 1045977 - Clear heap allocated volatile buffers, r=njn,seth 2014-08-19 15:30:55 -04:00
mfbt Bug 1055001 - Make Maybe's constructor explicit; r=froydnj 2014-08-18 15:18:30 -04:00
mobile Merge m-c to inbound. a=merge 2014-08-20 16:23:04 -04:00
modules Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
mozglue Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
netwerk Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
nsprpub Bug 1049006 - Update Mozilla 33 to use NSS 3.17 final and NSPR 4.10.7 final, r=wtc 2014-08-13 21:47:00 +02:00
other-licenses [PATCH 01/15] Bug 1043745 - Use SkColorType and SkImageInfo instead of SkBitmap::Config r=mattwoodrow 2014-07-27 20:47:43 -04:00
parser Bug 1042885 - Part 2: Fix test case for a rp element should not auto close a rtc element. r=wchen 2014-08-18 22:33:45 -07:00
probes
profile Bug 1047878 - Flatten profile/public/ directory. r=bsmedberg 2014-08-07 21:52:04 -07:00
python Bug 1051987 - Remove useless option which wasn't supposed to go in the commit 2014-08-18 15:33:51 +02:00
rdf Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc. 2014-08-06 06:31:21 -07:00
security Merge inbound to m-c. a=merge 2014-08-16 17:42:29 -04:00
services Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-20 15:14:31 +01:00
startupcache Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps 2014-08-07 14:21:03 +09:00
storage Bug 1049068 - Part 5: Remove unused CallStack params. r=froydnj 2014-08-08 11:43:58 -07:00
testing Backed out changeset 133471646752 (bug 1055014) for causing intermittent B2G xpcshell failures. 2014-08-19 13:30:55 -04:00
toolkit Merge m-c to inbound. a=merge 2014-08-20 16:23:04 -04:00
tools Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg 2014-08-19 13:29:00 +02:00
uriloader Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc. 2014-08-06 06:31:21 -07:00
view Bug 1048246 - Fix more bad implicit constructors in layout; r=roc 2014-08-07 19:48:38 -04:00
webapprt Bug 911636 - Webapp Runtime migration to Downloads.jsm. r=myk, r=paolo 2014-08-19 08:50:00 -04:00
widget Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
xpcom Backed out changeset 6e6bc1bcf229 (bug 1052740) for mochitest-bc crashes. 2014-08-20 16:34:38 -04:00
xpfe Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
xulrunner Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps 2014-08-07 14:21:03 +09:00
.clang-format
.clang-format-ignore
.gdbinit
.gitignore
.hgignore Bug 1031025 - Add generated/downloaded Loop unit test files r=jorendorff 2014-06-27 15:25:03 -05:00
.hgtags No bug - Tagging mozilla-central dc23164ba2a2 with FIREFOX_AURORA_33_BASE a=release DONTBUILD CLOSED TREE 2014-07-21 14:15:06 -07:00
.lldbinit
.lock Bug 1041845 - Apply image-rendering: -moz-crisp-edges style to favicons throughout the UI when resolution is 2dppx. r=MattN 2014-08-11 14:03:00 -04:00
.reviewboardrc
aclocal.m4 Backed out changeset 9d86b9442f0b (bug 975011) for Windows debug test bustage that only appears on clobber builds. 2014-06-18 13:21:57 -04:00
Android.mk
AUTHORS
client.mk Bug 1042432 - Change how UPLOAD_EXTRA_FILES is passed down from mozconfig.cache to the build system. r=mshal 2014-08-14 07:15:35 +09:00
client.py
CLOBBER [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
configure.in Bug 1054470 - Remove unused MOZ_APP_COMPONENT_INCLUDE r=glandium 2014-08-19 12:38:03 +01:00
LEGAL
LICENSE
mach Bug 1043144 - Don't write machc bytecode file; r=mshal 2014-08-05 10:39:24 -07:00
Makefile.in Bug 1035599: Merge the mozilla-central and comm-central objdir, r=gps 2014-08-07 19:27:58 -05:00
moz.build Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps 2014-08-07 14:21:03 +09:00
mozilla-config.h.in
README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/