Commit Graph

29 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
f9a3c2279e Bug 1464627 - Fix the spec link to 3D rotation matrix. r=emilio DONTBUILD
MozReview-Commit-ID: F5P4pCvD0Ww
2018-05-27 09:55:06 +09:00
Xida Chen
ba96714773 Bug 1455186 [wpt PR 10528] - Do not check type of a pseudo element in layout tests, a=testonly
Automatic update from web-platform-testsDo not check type of a pseudo element in layout tests

Currently the createPseudo checks the type of a pseudo element and
that is not yet defined in the spec. This CL drops that to pass
two tests.

Bug: None
Change-Id: Ib623b5f7ad2ff9059400a12aa12c459d6a7ddcb5
Reviewed-on: https://chromium-review.googlesource.com/1018538
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552680}

--

wpt-commits: 133d71dbb9e5f8b477b214aa68cfe144efc335a0
wpt-pr: 10528
2018-04-30 14:36:05 +00:00
Brian Birtles
d86facead2 Bug 1445877 [wpt PR 10047] - [web-animations] Update timing interfaces, a=testonly
Automatic update from web-platform-tests[web-animations] Update timing interfaces (#10047)

This updates the tests to reflect the specification changes made in 953041faa3

wpt-commits: b73f249d95a82118603f749c266d540e0b4b3b04
wpt-pr: 10047
wpt-commits: b73f249d95a82118603f749c266d540e0b4b3b04
wpt-pr: 10047
2018-04-15 08:32:44 +01:00
cku
73c6ecdf9b Bug 1207734 - Part 9.g. Implement testAnimationSampleRotate3d. r=birtles
testAnimationSamples is not enough for comparing the computed value of rotate
property so we need this new function.

MozReview-Commit-ID: J77e89BbjLx
2018-01-15 14:18:59 +08:00
Hiroyuki Ikezoe
809d67c907 Bug 1430654 - Double epsilon value for assert_times_equal. r=birtles
Since the function assumes that both of actual and expected values
have the same precision requirements.

MozReview-Commit-ID: 4C3TAH6mUVg
2018-01-22 14:57:57 +09:00
Hiroyuki Ikezoe
110c19431f Bug 1430654 - Introduce assert_time_equals_literal and use it. r=birtles
This assertion is supposed to be used where the first argument has a tolerance
but the second argument doesn't have such tolerance.  Whereas
assert_times_equal() is supposed to be used for the case both arguments have
the same tolerance, actually it hasn't, it will be fixed in a subsequent patch
in this patch series.

MozReview-Commit-ID: FEDHilbX2rm
2018-01-22 14:55:16 +09:00
Brian Birtles
dedc4e6dca Bug 1425548 - Update references to Web Animations spec in web-platform-tests; r=hiro
MozReview-Commit-ID: EhP0qSOp0TA
2017-12-15 14:57:03 -06:00
Hiroyuki Ikezoe
e018771448 Bug 1416966 - Make sure the next frame happen in the case where we are in the callback for Animation.ready Promise. r=birtles
MozReview-Commit-ID: 86cnNoGgA9r
2017-12-12 18:44:04 +09:00
Brian Birtles
5cafe31b56 Bug 1415448 - Use template literals in a few places in web-platform-tests/web-animations; r=hiro
This patch does not attempt to be exhaustive but fixes a few instances where to
are obvious benefits to using template literals.

MozReview-Commit-ID: A7iRY2oOOfV
2017-11-16 12:38:05 +09:00
Brian Birtles
ad84cab81f Bug 1415448 - Consistently use single quotes for string literals in web-platform-tests/web-animations; r=hiro
We will introduce template literals in the next patch in this series.

MozReview-Commit-ID: H0cF0SjI1U5
2017-11-16 12:38:04 +09:00
Brian Birtles
75ee2edbc3 Bug 1415448 - Replace var with const/let in web-platform-tests/web-animations; r=hiro
Because 'const' is longer than 'var', in quite a number of places this patch
also updates the indentation of subsequent lines.

Also, in a number of cases this means the line now needs to be wrapped. In
general I've used 'prettier' to do the line wrapping which means that the line
wrapping style differs a little from the existing code (which is already quite
inconsistent). Hopefully in the future we can use prettier on all files to make
this more consistent.

Also, in some cases, to avoid further line wrapping, this patch uses shorthand
property names (specifically replacing 'composite: composite' with just
'composite'). This appears to be supported in all browsers like to implement Web
Animations (Firefox 33+, Chrome 47+, Edge, Safari 9+).

MozReview-Commit-ID: 2xEaeZSYjlc
2017-11-16 12:37:54 +09:00
Brian Birtles
0cc4390a56 Bug 1415448 - Use arrow functions in web-platform-tests/web-animations; r=hiro
MozReview-Commit-ID: HE0vIxhhh3j
2017-11-16 12:37:14 +09:00
Brian Birtles
a38ce95dc9 Bug 1367307 - Add content property to create pseudo element in web-platform-tests and devtools tests too; r=hiro
MozReview-Commit-ID: 35F2Cu1w0N7
2017-06-09 11:30:04 +09:00
Brian Birtles
43cc6acecd Bug 1353202 - Use assert_matrix_equal to compare matrices in iterationComposite.html test r=hiro
MozReview-Commit-ID: 3WPwmX7EBvn
2017-05-24 11:14:35 +09:00
Boris Chiou
18dff4af66 Bug 1248340 - Part 7: Move the tests of input range outside [0, 1] into css-timing-1. r=birtles
MozReview-Commit-ID: 8AMdaABvxaF
2017-03-02 17:14:03 +08:00
Boris Chiou
c862ea7586 Bug 1248340 - Part 6: Add tests in easing-test. r=birtles
MozReview-Commit-ID: 1tJp0g8CfxH
2017-03-02 16:39:58 +08:00
Hiroyuki Ikezoe
da559f12aa Bug 1312301 - Part 10: Move some utility functions into test_common.js. r=boris
MozReview-Commit-ID: IUaPSEt8Vg3
2016-12-20 19:13:51 +09:00
Brian Birtles
fb43a1c8f0 Bug 1297285 - Make update-the-finished-state.html not depend on frame timing; r=hiro
I suspect we're hitting trouble when the refresh driver changes timer and we
end up with less time between frames.

MozReview-Commit-ID: I2dProiJTfh
2016-10-05 14:00:46 +09:00
Daisuke Akatsuka
b7ab25f37d Bug 1277433 - Part 6: Add tests that were eStyleAnimType_EnumU8. r=birtles
MozReview-Commit-ID: 3JL6whAD7KH
2016-08-16 14:30:16 +09:00
Brian Birtles
2adb1d8191 Bug 1267893 - Follow-up to fix mistaken precision value in changeset c2f257b08990; r=me
The precision value was for seconds despite the fact that we are comparing
milliseconds. This was causing intermittent failures such as:

  https://treeherder.mozilla.org/logviewer.html#?job_id=26711451&repo=mozilla-inbound
2016-04-27 20:44:32 +09:00
Brian Birtles
64c12bd5e2 Bug 1267893 part 1 - Add assert_times_equal for comparing times while allowing for a degree of imprecision; r=hiro
MozReview-Commit-ID: LAuCLmchBHa
2016-04-27 11:18:02 +09:00
Mantaroh Yoshinaga
9d94176ba2 Bug 1258972 - Move finish and playbackrate mochitest to web platform tests. r=birtles. 2016-03-31 18:30:00 +02:00
Mantaroh Yoshinaga
b543dd4d35 Bug 1259321 - Remove animation node test from web platform tests. r=birtles 2016-03-29 16:26:00 +02:00
Ryo Motozawa
a44d86f548 Bug 1244635 - Part3 Add enddelay tests in testing/web-platform/tests/web-animations r=hiro
MozReview-Commit-ID: GnIp7BmwPxw
2016-03-08 10:31:36 +09:00
Boris Chiou
13a49e7465 Bug 1241784 - Part 4: Remove removeElement from testcommon.js. r=birtles 2016-03-06 19:35:00 +01:00
Boris Chiou
d199ed407c Bug 1241784 - Part 3: Test. r=birtles 2016-03-06 19:33:00 +01:00
Hiroyuki Ikezoe
4d97846207 Bug 1216842 - Part 13: Tests for effect-level easing. r=birtles 2016-02-18 14:23:00 +01:00
Brian Birtles
7785514713 Bug 1096773 part 4 - Add tests for Animatable.animate(); r=bz 2016-01-29 12:37:52 +11:00
James Graham
0e207d40b5 Bug 1097230 - Update web-platform-tests to revision 9840b559b10e05f659932a835c11832db9e01c42, a=testonly 2014-11-20 16:30:01 +00:00