gecko-dev/layout
Brian Birtles efd02d2a25 Bug 1339648 - Fix flaky file_transitions_replacement_on_busy_frame.html test; r=hiro
There are two issues with this test:

(a) It fails to flush style when it intends to trigger the first transition.

    Specifically, `getComputedStyle(div)` alone does not flush style. Instead we
    need `getComputedStyle(div).transform`.

    This patch replaces that line with a call to `div.getAnimations()` which
    *does* flush style ensuring the first transition is triggered.

(b) It fails to ensure that the first transition has progressed past the first
    frame on the main thread before triggering the second transition.

    If the first transition is still on its first frame, the computed value of
    'transform' will be 'matrix(1, 0, 0, 1, 0, 0)'. If we then update the
    specified value of 'transform' to 'translateX(0px)', no transition will be
    generated (although the first transition will be canceled) since there is no
    change.

    This patch fixes that by making the end point of the second transition NOT
    match the start point of the first transition (and not be somewhere inside
    the range of the first transition).

As an extra precautionary measure, to be sure that the animation has started
progressing on both the main thread and compositor, this patch alters the
initial wait condition for the first transition to also wait on the first
transition's ready promise.

MozReview-Commit-ID: E1OJuHBSMfr

--HG--
extra : rebase_source : aede0fa00f261e1c7d1be61857b6fd0537a0f7e7
2017-08-23 18:17:31 +09:00
..
base Bug 1375332 - stylo: force restyle descendants after character set is updated. r=emilio 2017-08-21 18:58:53 +08:00
build Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin 2017-08-17 17:30:57 -07:00
doc
forms Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug 2017-08-18 16:05:16 +09:00
generic Merge inbound to central, a=merge 2017-08-23 18:07:24 -07:00
inspector Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
ipc Bug 1389143 - Send event regions override information to APZ in layers-free mode. r=jrmuizel 2017-08-18 13:06:31 -04:00
mathml Backed out changeset 8f2dd8f13b53 (bug 1388161) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout 2017-08-10 14:40:21 +02:00
media
painting Backed out changeset 3241eaaa608d (bug 1363922) 2017-08-20 19:20:12 +02:00
printing Bug 1390209 - Remove unused nsIDOMHTML*Element interfaces. r=qdot 2017-08-15 01:31:47 +09:00
reftests Bug 1390088 - Part 2. Add a reftest to check percentage width/height on inner-<svg> resolves against the nearest <svg> ancestor. r=jwatt 2017-08-21 16:21:38 +08:00
style Bug 1339648 - Fix flaky file_transitions_replacement_on_busy_frame.html test; r=hiro 2017-08-23 18:17:31 +09:00
svg Bug 1390088 - Part 3. Declare some locale nsSVGLength2 references as const in nsSVGOuterSVGFrame.cpp. r=jwatt 2017-08-21 16:25:24 +08:00
tables Merge inbound to central, a=merge 2017-08-11 13:15:33 -07:00
tools Merge inbound to central, a=merge 2017-08-23 18:07:24 -07:00
xul Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
moz.build