gecko-dev/dom
Brian Birtles 916a2b1a0e Bug 1171817 part 2 - Add CSSAnimation::GetOwningElement; r=dbaron
In order to sort CSS animation objects correctly, we need to know which
element's animation-name property they appear in, if any. Normally that's
simply the target element of the animation's keyframe effect but it can differ
in the following cases:

1) When script modifies a CSSAnimation's effect to target a different element
   (or simply removes the effect altogether). In this case we use the
   *owning* element to determine the priority of the animation, not the target
   element.

   This scenario does not yet occur (bug 1049975).

2) When script creates a CSSAnimation object using the CSSAnimation constructor.
   In this case, the owning element should be empty (null) and we should
   determine the priority of the animation in the same way as any other
   Animation object.

   Again, this is not yet supported (or even specced) but will be eventually.

3) When script holds a reference to a CSSAnimation object but then updates the
   animation-name property such that the animation object is cancelled. In this
   case the owning element should be cleared (null) so we know to not to try and
   sort this with regard to any animation-name property.

   This is possible using code such as the following:

     elem.style.animation = 'a 5s';
     var a = elem.getAnimations()[0];
     elem.style.animation = 'b 5s';
     a.play(); // Bring a back to life
     document.timeline.getAnimations();
     // ^ At this point we need to know how to sort 'a' and 'b' which depends
     // on recognizing that a is no longer part of an animation-name list.

Until we implement bug 1049975, we could support sorting animations without
adding the reference to the owning element by setting a flag on the CSSAnimation
object but (having tried this) it turns out to be cleaner to just introduce this
reference now, particularly since we know we will need it later.

Note that we will also need this information in future to dispatch events to the
correct element in circumstances such as (1) once we separate updating timing
information (including events) from applying animation values.

--HG--
extra : commitid : 8o9bf6l7kj7
extra : rebase_source : 391a4e8769cc96584ebd625d4b1d0e873373fd41
2015-06-09 11:13:53 +09:00
..
activities Backed out 2 changesets (bug 1176712) for gip f5 permafail CLOSED TREE a=bustage 2015-07-02 09:21:23 -07:00
alarm
animation Bug 1171817 part 2 - Add CSSAnimation::GetOwningElement; r=dbaron 2015-06-09 11:13:53 +09:00
apps Backed out 2 changesets (bug 1176712) for gip f5 permafail CLOSED TREE a=bustage 2015-07-02 09:21:23 -07:00
archivereader Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
asmjscache Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
audiochannel Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku 2015-07-06 09:05:00 -04:00
base Bug 1181413 - Use enum to distinguish fullscreen request for Fullscreen Mode and Fullscreen API. r=smaug 2015-07-09 08:00:33 +10:00
battery
bindings Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley 2015-07-07 17:38:07 -04:00
bluetooth Bug 1170071 - Part 4: Add Gatt server interfaces for Bluetooth daemon. r=shuang 2015-07-08 04:34:00 -04:00
broadcastchannel Bug 1178261 - make BroadcastChannel CC skippable, r=smaug 2015-06-29 17:42:41 +01:00
browser-element Bug 1170644 - Fix forced reflow in BrowserElementChildPreload. r=bz 2015-07-08 15:38:43 +01:00
cache Bug 1180765 - Bump the caches.sqlite version numbers because of the field that was added in bug 1169044; r=jdm 2015-07-08 19:35:29 -04:00
camera Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
canvas Back out 694521589eb0 (bug 1177271) for leaking 2015-07-07 21:08:19 -07:00
cellbroadcast Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
contacts Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
crypto Bug 1169890 - Check return values for CryptoBuffer.Assign() calls r=rbarnes 2015-05-30 08:28:45 +02:00
datastore Bug 1181329 - Make DataStore available to privileged homescreen app, r=fabrice 2015-07-07 23:19:14 +01:00
devicestorage Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
downloads
encoding
engineeringmode
events Bug 599328 - Clicking a label shouldn't draw a focus ring if clicking the control wouldn't have. r=enndeakin 2015-07-08 00:46:48 -04:00
fetch Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
filehandle Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
filesystem Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
fmradio Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
gamepad Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
geolocation Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
html Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik 2015-07-09 11:10:16 +12:00
icc Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
identity
imptests Bug 1173288 - Update testharness code in imptests; rs=jgraham 2015-06-20 09:16:51 +02:00
indexedDB Bug 1168606 - Part 1: Extract Cursor response data population into shared function. r=bent 2015-07-07 11:27:04 -07:00
inputmethod Bug 1175399 - Move readonly detection into isFocusableElement. r=janjongboom 2015-07-03 01:42:00 +02:00
inputport
interfaces Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
ipc Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
json Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
jsurl Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
locales Bug 1103106 - Change will-change to be first-come, first-served. r=roc 2015-07-06 16:32:53 -04:00
manifest Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
mathml
media Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc 2015-07-08 12:27:45 -07:00
messagechannel Bug 1178261 - make BroadcastChannel CC skippable, r=smaug 2015-06-29 17:42:41 +01:00
messages
mobileconnection Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
mobileid
mobilemessage Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
network Bug 1176542 - Trace the window object in the TCPSocket child proxy. r=mccr8 2015-07-08 16:06:33 -04:00
nfc Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
notification Bug 916893 - Patch 3 - Walk up worker chain to find correct window for WorkerNotificationObserver. r=khuey 2015-06-25 18:53:02 -07:00
offline Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
payment
permission
phonenumberutils Bug 1179379 - PhonenumberJS: Update Metadata. r=bent 2015-07-06 10:12:37 -07:00
plugins Bug 1158561 followup: Add 'override' annotations to overriding methods added in this bug: Callback(), SitesWithData(), RecvReturnClearSiteData(), & RecvReturnSitesWithData(). rs=ehsan 2015-07-07 21:10:32 -07:00
power
presentation Bug 1171827 - Temporarily disale mDNS device provider. r=schien 2015-06-15 03:53:00 -04:00
promise Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
push Bug 1166350 - Patch 2 - Fix tests. a=bustage 2015-06-24 14:27:49 -07:00
quota Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
requestsync Bug 1165787 - Use origin in RequestSyncService.jsm. r=ehsan 2015-05-29 19:35:10 +08:00
res
resourcestats
secureelement Bug 1174683 - [Secure Element] Fix TypeError in UiccConnector.unregisterListener. r=allstars.chh 2015-06-15 03:58:00 -04:00
security Bug 1171200 - Add means of checking if a document links to a manifest. r=billm. 2015-07-08 13:26:32 +10:00
settings Bug 1012403 - Reenable SettingsService chrome tests, on B2G only; a=TEST-ONLY 2015-06-16 14:14:07 -07:00
simplepush Bug 1174422 - Add system principal for UDPSocket init r=kitcambridge 2015-06-13 10:30:25 -07:00
smil Bug 765078: Give SMIL time events a longer grace period to fire, in test_smilTimeEvents.xhtml. (test-only) 2015-06-03 10:44:33 -07:00
speakermanager Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
storage Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
svg Bug 1179282 - Use nsTArray::Assign instead of the assignment operator in dom/svg/. r=dholbert 2015-07-07 11:27:03 -07:00
system Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
telephony Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
tests Bug 1170369 - Enable tests of Fullscreen API and PointerLock API on Windows XP and OS X 10.6+. r=RyanVM 2015-07-09 08:00:33 +10:00
tethering
time
tv Bug 987498 - Part 3 - Implement DOMHwMediaStream. r=roc 2015-06-18 00:21:00 +02:00
voicemail Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
vr
wappush
webidl Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc 2015-07-08 12:27:45 -07:00
wifi Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
workers Bug 1181318 - Eliminate duplicate mRefCnt members in nsRunnable subclasses. r=ehsan 2015-07-07 14:03:00 +02:00
xbl Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
xml Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
xslt Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
xul Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
jar.mn
moz.build Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00