Commit Graph

40651 Commits

Author SHA1 Message Date
Gavin Sharp
e3539ffe7f Bug 881996 part 2. Remove now-unneeded workaround from printpreview_bug396024_helper.xul 2014-05-18 12:48:00 -07:00
Simon Montagu
362899066a Mark the test for bug 465574 as failing 2014-05-19 15:37:43 +03:00
Carsten "Tomcat" Book
1210c78f20 Backed out changeset 0aaa18232af4 (bug 421436) for causing reftest failures 2014-05-19 13:11:59 +02:00
Bas Schouten
16b55af6f4 Bug 1012488: Further increase webm seek test timeout r=test-only 2014-05-19 12:00:59 +02:00
Xidorn Quan
3326ec85be Bug 1011461 - Text in bullet shows vertical-positioning discrepancy. r=jfkthame 2014-05-17 04:13:00 +02:00
Simon Montagu
8f5665ccfa Remove the hack making all <br> frames 1 app unit wide, bug 421436, r=roc 2014-05-13 07:12:16 -07:00
Uri Bernstein
918678177f Test for bug 465574, r=smontagu 2014-05-19 09:06:08 +03:00
Simon Montagu
082a89def8 Disable the textarea border and make the tests non-fuzzy. Bug 1012220, r=mattwoodrow 2014-05-19 09:04:40 +03:00
Brian Birtles
26771191de Bug 964646 part 21 - Add OMTA tests for animation list lengths and dynamic style rule changes; r=dbaron
This patch adds tests for triggering animations based on the length of the
animation-name property as well as tests for dynamic changes to style rules.
These tests are based on tests in test_animations.html but for directed at
animations that run on the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
2fe9ec8c37 Bug 964646 part 20 - Add OMTA tests for cascading between keyframe rules; r=dbaron
This patch adds tests for the cascanding of keyframes rules based on those in
test_animations.html but for animations that run on the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
221f0d02ed Bug 964646 part 19 - Add OMTA tests for restyling interaction; r=dbaron
This patch adds tests for the interaction of animation and restyling (Bug
686656) based on those in test_animations.html but for animations that run on
the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
cc5e443af3 Bug 964646 part 18 - Add omta_todo_is for marking OMTA animations that are known to fail; r=dbaron
The implementation here current expects BOTH the following to fail:

- The comparison between the OMTA value and the expected value
- The comparison between the OMTA value and the computed value

This generally tends to be the case since the computed value and expected value
normally match unless we have a bug that affects all CSS animations. If we need
to mark tests where the computed value is also wrong we'll need to modify the
behavior here at that time.

This patch also applies this new function to the author !important test that was
previously commented-out because it currently fails.
2014-05-19 14:42:49 +09:00
Brian Birtles
d5a3ddea27 Bug 964646 part 17 - Add RunningOn.TodoMainThread for marking animations that are known to run on the compositor when they should not; r=dbaron
This patch also ensures that when we have an animation running on the compositor
when it should not that we still compare the values produced on the compositor
and on the main thread so that the visual result is correct even if the
performance characteristics are not.
2014-05-19 14:42:49 +09:00
Brian Birtles
7469c3bbeb Bug 964646 part 16 - Add OMTA tests for !important rules and animations; r=dbaron
This patch adds tests for the handling of author !important rules and animations
based on similar tests in test_animations.html but for animations that run on
the compositor thread.

Due to bug 847287, these tests don't pass and are partly disabled. Subsequent
patches add todo_is tests for this.
2014-05-19 14:42:49 +09:00
Brian Birtles
cfec9f5bd6 Bug 964646 part 15 - Add OMTA tests for sampling animations with same timestamp; r=dbaron
This patch adds a version of tests in test_animations.html for bug 651456 which
covers multiple samples with the same timestamp. The version here, however,
tests animations that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
38ca308824 Bug 964646 part 14 - Add OMTA tests for multi-property animations; r=dbaron
This patch adds a version of tests in test_animations.html for keyframe
animations with multiple properties where some properties are present in only
some keyframes. The version here, however, tests animations that run on the
compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
053c14ee68 Bug 964646 part 13 - Add OMTA tests for animation-delay; r=dbaron
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.8 The 'animation-delay' Property", for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
eec07cb991 Bug 964646 part 12 - Add OMTA tests for animation-play-state; r=dbaron
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.7 The 'animation-play-state' Property", for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
003ae65bad Bug 964646 part 11 - Add OMTA tests for animation-direction; r=dbaron
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.6 The 'animation-direction' Property, for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
aa7d448086 Bug 964646 part 10 - Fix floating point precision issues when comparing matrices; r=dbaron
This patch addresses and issue where the OMTA style and computed style were not
comparing equal in one particular case.

In this case AddTransformTranslate in nsStyleAnimation would give us
a translate-y value of 94.331673 in both cases (i.e. when calculating the
animated value on the compositor thread or when fetching computed style).

For the OMTA case, however, after we apply additional layer transformations and
then reverse them (so we can query the CSS value) we'd end up with 94.331642,
a difference of 0.000031. The reversing procedure is only used for testing so
the actual error introduced here by the additional layer transformations is
probably less.

Unfortunately, when we pass 94.331642 this along to MatrixToCSSValue we get back
matrix(1, 0, 0, 1, 94.3316) since it only outputs 6 digits of precision.

On the other hand, on the computed style end we'd pass 94.331673 to
MatrixToCSSValue which gives us matrix(1, 0, 0, 1, 94.3317), so the error swells
from 0.000031 to 0.0001.

Then when we subtract 94.3316 from 94.3317 in Javascript we get
0.00010000000000331966 due to floating-point precision issues which compares
greater than the default tolerance of 0.0001.

This patch simply adjusts the default tolerance to 0.00011 to accommodate
these floating-point differences.
2014-05-19 14:42:48 +09:00
Brian Birtles
f0c899b2eb Bug 964646 part 9 - Add OMTA tests for animation-iteration-count; r=dbaron
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.5 The 'animation-iteration-count' Property" for animations
that run on the compositor thread.

These tests surface an issue where in some cases precision errors lead to
discrepencies between the OMTA style and computed style. This is fixed in
a subsequent patch in this series.
2014-05-19 14:42:48 +09:00
Brian Birtles
016017d81d Bug 964646 part 8 - Add OMTA tests for animation-name; r=dbaron
This patch adds a version of the tests in test_animations.html under the
heading, "css3-animations:  3.2. The 'animation-name' Property" that tests the
same features when animations are running on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
50b417c786 Bug 964646 part 7 - Handle NaN values when comparing matrices; r=dbaron
The test harness code for normalizing transform inputs to a standard form for
comparison fails to detect the case where the input is a string such as

 { tx: "20px" }

instead of:

 { tx: 20 }

When we go to compare matrix components we fail if:

  Math.abs(a.comp - b.comp) > tolerance

But if a.comp or b.comp is a string, we'll get NaN on the LHS and
"NaN > tolerance" will return false so we'll skip the failure handling and
continue onto the next component. That means if we have input { tx: "30px" } and
we get "20" as the x-translation component we'll pass the test.

This patch fixes this condition to check for isNaN.

We *could* also just drop a few .map(parseFloat) calls into
convertObjectTo3dMatrix and convertArrayTo3dMatrix to ensure "20px" becomes 20
but there may be situations where that masks bugs (since "20px" and "20em" turn
into the same thing) so for now this minimal fix should be enough.
2014-05-19 14:42:48 +09:00
Brian Birtles
2a02662277 Bug 964646 part 6 - Add OMTA tests for timing functions on keyframes; r=dbaron
This patch converts the tests in test_animations.html under the heading,
"css3-animations:  3.1. Timing functions for keyframes" to an equivalent version
for testing animations that run on the compositor thread.
2014-05-19 14:42:47 +09:00
Matt Woodrow
02e1be649f Bug 1012488 - Further increase the timeout for webm-video/bug686957.html to prevent intermittent failures. r=test-only 2014-05-19 14:07:49 +12:00
Josh Aas
7ec76f43f8 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Daniel Holbert
f6575400e9 Bug 1011311: Drop no-longer-necessary check on availableFreeSpace's sign, in ResolveFlexibleLengths(). r=mats 2014-05-17 18:49:47 -07:00
Daniel Holbert
e79bba42f6 Bug 1005660: Add an "early freeze" step, to freeze flex items that clearly can't grow (or shrink, if we're shrinking). r=mats 2014-05-17 18:49:06 -07:00
Phil Ringnalda
127b904678 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
992d7074a3 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Mats Palmgren
03ca8433c3 Bug 1008908 - Remove assignment since the value isn't used. r=smontagu 2014-05-17 23:10:53 +00:00
Mats Palmgren
24ea7f9b72 Bug 1011163 - Remove the border which isn't essential for the test since it caused orange due to focus issues. r=me 2014-05-17 23:10:52 +00:00
Boris Zbarsky
b1e3f060e4 Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert 2014-05-15 10:26:53 -07:00
Debbe Heisler
7e378291e5 Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond 2014-05-16 19:00:50 -04:00
Bobby Holley
0378fc7bf6 Bug 1005552 - Stop binding marquee event handlers. r=bz
These functions get invoked as event listeners, so we'll automatically get the
proper |this|. The reason for the existing shenanigans was to work around
bug 872772, which has now been fixed.
2014-05-16 10:56:41 -07:00
Nicolas Silva
7481ee096f Bug 1010206 - Make the test webm-video/bug686957.html less likely to race when using async-video. r=padenot 2014-05-16 19:39:36 +02:00
Ryan VanderMeulen
9e342ce37a Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Nicolas Silva
321f20f7a5 Bug 1010206 - make the test webm-video/bug686957.html less likely to race when using async-video. r=padenot 2014-05-16 17:25:16 +02:00
Boris Zbarsky
d854d7d9f0 Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert 2014-05-15 10:26:53 -07:00
Masayuki Nakano
c73fb6d886 Bug 1008244 Don't consume Enter key at keypress event when <select size=1> has focus but its dropdown list is closed r=smaug 2014-05-16 18:45:25 +09:00
Daniel Holbert
721fc5a268 backout 179cea3a84da (bug 1010470) due to reftest failures, on a CLOSED TREE
--HG--
rename : layout/reftests/forms/button/disabled-2b.html => layout/reftests/forms/button/disabled-2.html
2014-05-15 22:13:07 -07:00
Jeff Muizelaar
bc7f54a5b3 Bug 1011142 - fuzz Skia diagonal linear gradient tests. r=gw280
--HG--
rename : toolkit/devtools/transport/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : cbd306c5d6cd483dad1af9c97d4281b2d72bad59
2014-05-15 15:47:50 -04:00
Daniel Holbert
d1515ca8cd Bug 1010470: Use :disabled pseudoclass instead of [disabled] attribute-selector to style disabled form controls on B2G & Android. r=fabrice
--HG--
rename : layout/reftests/forms/button/disabled-2.html => layout/reftests/forms/button/disabled-2a.html
rename : layout/reftests/forms/button/disabled-2.html => layout/reftests/forms/button/disabled-2b.html
2014-05-15 16:29:21 -07:00
Ryan VanderMeulen
c53951f788 Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE.
Backed out changeset 28ecab881472 (bug 1008719)
Backed out changeset 7eebcecb7e26 (bug 1004458)
Backed out changeset 17ea7f2276ac (bug 1010344)
Backed out changeset 184ead7f6e37 (bug 1008236)
2014-05-15 14:24:12 -04:00
Boris Zbarsky
47ab97d07a Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert 2014-05-15 10:26:53 -07:00
Christoph Kerschbaumer
e6344ed05a Bug 951457 - Create C++ CSP Parser and policy classes, part 1 - backend stubs r=sstamm, r=grobinson 2014-04-01 09:35:22 -07:00
Benoit Jacob
458b23dd1c Bug 1004483 - Adjust WebGL reftest.list for the fact that Skia blending doesn't handle superluminant pixels - r=jrmuizel 2014-05-15 11:50:16 -04:00
Frédéric Wang
2ec405ffcc Bug 930504 - When possible, use character substitution for basic mathvariants. r=karlt 2014-05-15 02:50:00 -04:00
Nick Lebedev
c49e263d0f Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Arnaud Bienner
78e74640b8 Bug 1009714: Fix <button disabled> style on B2G. r=dholbert 2014-05-14 23:42:03 +02:00