Commit Graph

21432 Commits

Author SHA1 Message Date
Brian Birtles
50db82f829 Bug 1018862 part 4 - Move omta_is and friends to animation_utils.js; r=dholbert
This patch simply moves code from test_animations_omta.html to
animation_utils.js so that we can use it for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
5358815649 Bug 1018862 part 3 - Fix the order of arguments to omta_is_approx; r=dholbert
This patch simply re-arranges the order of arguments to omta_is_approx so that
the delta sits along side the values being compared.

This, I think, makes more sense and also is more consistent when converting
tests from test_animations.html to test_animations_omta.html since the
"RunningOn" parameter is consistently inserted in the second-to-last position
just before the description for both omta_is and omta_is_approx.
2014-06-12 13:17:47 +09:00
Brian Birtles
d72c83769e Bug 1018862 part 2 - Make new_div no longer secretly flush styles; r=dholbert
This patch removes the line from new_div that forced a style flush. This was
very confusing because:
* It behaved differently to new_div in test_animations.html so copying tests
  over was more complex (particularly when registering for events is involved).
* It meant after setting up initial style using new_div you could just call
  waitForPaints but if you updated style using elem.style you'd need to call
  waitForPaintsFlushed.

In adjusting test_animations_omta.html we are able to simplify the tests
somewhat. This patch also adds a few additional checks that waiting to update
the compositor does not produce different results.
2014-06-12 13:17:47 +09:00
Brian Birtles
873ce438a9 Bug 1018862 part 1 - Factor out common async animation test methods; r=dholbert
This patch moves some test utility methods from test_animations_omta.html to
animation_utils.js. It also renames addAsyncTest to addAsyncAnimTest and
likewise for a few other methods.
2014-06-12 13:17:46 +09:00
Seth Fowler
81898fc75d Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Wes Kocher
bcb140bc6f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
02d217e9e4 backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
1fe4adc9cb Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
0d8943c0db Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
Daniel Holbert
9f3f65a9bf Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Jonathan Watt
0b5ed58163 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Jonathan Watt
e9faab1c1b Bug 1018324 - Restore inIFlasher, but with drawElementOutline and repaintElement as no-ops. r=bz 2014-06-11 21:29:15 +01:00
Olli Pettay
2672babef6 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ed Morley
3ec4e3a87b Backed out changeset 21a9c0fde1db (bug 467442) for crashes 2014-06-11 18:06:44 +01:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Jonathan Watt
4bfe09e6ca Bug 989230 follow-up to increase fuzziness for reftest on Windows. r=orange 2014-06-11 12:14:19 +01:00
Jonathan Watt
0193137a96 Bug 1016680, part 2 - Report the memory used by PresShell::mVisibleImages and PresShell::mFramesToDirty. r=dholbert
--HG--
extra : rebase_source : 0d348e97861917c67862271c4c4ee9f51b007255
2014-06-11 11:20:52 +01:00
Jonathan Watt
d47675ca22 Bug 1016680, part 1 - Report the memory used by RuleCascadeData::mKeyframesRuleTable. r=dholbert
--HG--
extra : rebase_source : 97bd8b0ddef514e9eb218eac783c3af892a8014e
2014-06-11 11:20:50 +01:00
Simon Montagu
16bbd0f24e Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Jonathan Watt
f2c9f69fad Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr 2014-06-11 10:38:44 +01:00
Ryan VanderMeulen
8c33e2b23c Bug 1023472 - Disable test_bug935876.html on Android for perma-failing when pushed to a different chunk.
CLOSED TREE
2014-06-10 14:54:46 -04:00
Giovanni Sferro
b7a2ac3cac Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz
--HG--
rename : layout/style/nsICSSRuleList.cpp => layout/style/CSSRuleList.cpp
rename : layout/style/nsICSSRuleList.h => layout/style/CSSRuleList.h
2014-06-09 22:11:00 -04:00
John Daggett
9a6d05aa32 No bug. Add Fira Sans to reftest fonts, no effect on build. r=me 2014-06-11 16:32:53 +09:00
Geoff Brown
fbb7bd8495 Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3, again, for intermittent failures 2014-06-10 09:44:02 -06:00
Geoff Brown
477d664685 Bug 982917 - Broaden expected assertion range for layout/forms/crashtests/378413-1.xhtml; r=dholbert 2014-06-10 09:44:01 -06:00
Geoff Brown
859ec9814d Bug 1021998 - Broaden expected assertion range for layout/generic/crashtests/1015563-1(2).html; r=dholbert 2014-06-10 09:44:01 -06:00
Geoff Brown
24c80e356b Bug 982958 - Change expected assertion range for layout/generic/crashtests/798020-1.html on Android; r=dholbert 2014-06-10 09:44:01 -06:00
Jonathan Watt
d6e530fc8e Bug 1018324 - Remove inIFlasher. r=roc 2014-06-10 07:02:21 +01:00
Cameron McCormack
e7c8e1f024 Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
Cameron McCormack
6b817440b4 Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
Nathan Froyd
10bcb1367a Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher 2014-06-09 13:37:21 -04:00
Kartikaya Gupta
a7844bf3d0 Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis 2014-06-09 14:02:39 -04:00
Ed Morley
50941b0b48 Backed out changeset 00c2ba04f8d4 (bug 879475) 2014-06-09 11:27:58 +01:00
"Kan-Ru Chen (陳侃如)"
473118ca3c Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:12 +08:00
Neil Rashbrook
c16e751e37 Bug 1018324 Add scrollElementIntoView to inIDOMUtils as inIFlasher is going away r=roc 2014-06-09 08:35:13 +01:00
Ryan VanderMeulen
59aa388e2e Merge inbound to m-c. a=merge 2014-06-08 22:10:12 -04:00
Daniel Holbert
df276175e6 Bug 1021992: Drop decl for never-defined function 'NS_NewVideoFrame'. r=cpearce 2014-06-08 15:36:58 -07:00
Ting-Yu Lin
047804b5f4 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ryan VanderMeulen
611ba29905 Bug 891840 - Disable test_pixel_lengths.html on all platforms for intermittent crashes.
CLOSED TREE
2014-06-07 01:08:16 -04:00
Botond Ballo
64ebf81674 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Ryan VanderMeulen
490eb67b9f Bug 981477 - Mark menclose-6 reftests as random on B2G OOP. 2014-06-08 13:08:10 -04:00
Gijs Kruitbosch
cad933f41c Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel
--HG--
extra : rebase_source : fd3acd246c9bee79feba59ac382048848b059866
2014-06-09 12:40:48 +01:00
Simon Montagu
7cc694ded9 Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats 2014-06-11 08:57:25 -07:00
Simon Montagu
ad53e2769d Back out wallpaper patch from bug 1007067 in favour of real fix from bug 1015128, r=mats 2014-06-11 08:57:24 -07:00
Markus Stange
71f375bf75 Bug 1023464 - Add support for the --setpref argument to mach reftest. r=gps 2014-06-11 14:44:42 +02:00
"Kan-Ru Chen (陳侃如)"
da1abf1e93 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
Brian Birtles
c03d7ecfc6 Bug 1004365 part 5 - Add tests for zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
Brian Birtles
dc9a1323de Bug 1004365 part 4 - Make nsAnimationManager.cpp no longer skip zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00