Commit Graph

40105 Commits

Author SHA1 Message Date
Boris Zbarsky
bbe206097b Bug 610733. Vertically center the text in the combobox display area when a non-default height is set for the combobox. r=dbaron 2014-03-25 22:48:46 -04:00
Brian Birtles
6fb124d929 Bug 986367 - Make paint_listener.js check for paint suppression; r=mattwoodrow
This patch adds an extra check for paint suppression when waiting for paint
events. This is because on some platforms (notably B2G) we can think all paints
have completed because paint suppression is in effect and as a result call the
callback too soon.

This patch use window.setTimeout(..., 0) to wait for paint suppression to finish
before preceding to check for pending paint events.

When the refresh driver is under test control, if we detect that paint events
are pending we need to force a refresh driver tick. This patch adds that tick.
I suppose we had previously never hit this situation before and never noticed
this.

This patch also rearranges the main loop so that early returns appear first and
calling the callback appears at the end.
2014-03-26 09:20:07 +09:00
Jeff Muizelaar
6636e330e1 Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : layout/reftests/abs-pos/table-internal-5-ref.html => layout/reftests/abs-pos/table-internal-1-ref.html
rename : layout/reftests/abs-pos/table-internal-6-ref.html => layout/reftests/abs-pos/table-internal-3-ref.html
rename : layout/reftests/abs-pos/table-internal-7-ref.html => layout/reftests/abs-pos/table-internal-4-ref.html
rename : webapprt/test/chrome/mozpay-failure.html => webapprt/test/chrome/mozpay-success.html
extra : rebase_source : 903979ef854d1c1737ed4b2eb21be26b2bcb7017
2014-03-07 15:38:48 -05:00
Jonathan Griffin
05107f9406 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Bobby Holley
a82fe6e195 Bug 987672 - Use a more reliable Function constructor and |bind| implementation for marquee event handler compilation. r=bz 2014-03-25 12:36:39 -03:00
Birunthan Mohanathas
bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Nicolas E. Bordenabe
1ff851fd6f Bug 973345 - Include gradient values in the return value of getCSSValuesForProperty() for properties that can have an <image> value specified. r=bz 2014-03-25 11:36:48 -04:00
Carsten "Tomcat" Book
e8531239e2 Backed out changeset b6c3d52bf61e (bug 791480) for breaking B2G ICS Emulator Reftest - 8 2014-03-25 14:36:48 +01:00
Carsten "Tomcat" Book
e67b16b3e7 Backed out changeset 259991514082 (bug 791480) 2014-03-25 14:36:16 +01:00
Kartikaya Gupta
86f2de786f Bug 984548 - Ifdef APZ overflow:hidden behaviour so it doesn't regress Fennec pending a proper fix. r=tn 2014-03-25 09:25:56 -04:00
Gorman Ho
2f3c5ba795 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Jonathan Kew
eb0a2e7f1e bug 827779 - reftest for modified hyphen-break rules. r=masayuki 2014-03-25 09:29:18 +00:00
Robert O'Callahan
0eb0ab05ad Bug 791480. Reenable test on Windows 7. r=dbaron 2014-03-25 22:15:49 +13:00
Robert O'Callahan
99f62675e1 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : c545bfbfd4a449c4e880052da0e1e046e37eaf83
2014-03-25 22:11:27 +13:00
Jonathan Watt
cc1cdf2048 Bug 959128 - Fix transforms of clipPath content for clipPath being used within SVG-in-OpenType glyph. r=heycam 2014-03-25 08:51:10 +00:00
Matt Woodrow
be161f1c7c Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron 2014-03-25 11:45:43 +13:00
Ryan VanderMeulen
d48879548e Bug 948389 - Replace mozilla-banner.gif with a plain blue image in 405577-1.html since we aren't trying to test individual pixel differences in resized image painting there. r=roc 2014-03-24 17:44:01 -04:00
Simon Montagu
ff1a91f1ec Aways use the root span's writing mode when recursing into child spans in nsLineLayout::ApplyFrameJustification. Bug 986899, r=jfkthame 2014-03-24 10:50:13 -07:00
Simon Sapin
20769aaaa3 Bug 984728 - Refactor grid-auto-flow parsing to use ParseBitmaskValues; r=dholbert 2014-03-24 14:26:04 +01:00
James Kitchener
6511efece4 Bug 986799 - Handle rtl mtable padding properly. r=fredw 2014-03-24 08:58:29 -04:00
Simon Montagu
babaf4f2f3 Correction to typo in checkin for bug 789096. Bug 983691, r=jfkthame 2014-03-24 02:23:12 -07:00
L. David Baron
25bb875138 Bug 986807 patch 2 - Sync APZC/viewport prefs from bug 975931 from desktop reftest code to Android/B2G reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
5be07cd43e Bug 986807 patch 1 - Sync lower-risk prefs over from desktop reftest code to Android reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
ba666ea10e Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
45a1e29229 Bug 986406 - Don't skip entire reftest directories on Android. r=roc 2014-03-23 18:44:49 -07:00
L. David Baron
930083ccf9 Bug 986404 - Mark test as failing due to scrollbars showing up. 2014-03-22 22:07:15 -07:00
L. David Baron
43c31de838 Bug 986404: Disable fade-out of overlay scrollbars during reftest. r=mstange 2014-03-22 21:55:04 -07:00
Boris Zbarsky
2cb93a4388 Bug 955860 followup to add a pointer to the source of the tests. 2014-03-21 23:07:12 -04:00
Simon Sapin
6f19092d3e Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert 2014-03-21 23:06:16 +08:00
Simon Sapin
98db16b1af Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert 2014-03-21 23:06:13 +08:00
Simon Sapin
58006b1242 Bug 981752 part 3: Add the grid shorthand. r=dholbert 2014-03-21 23:06:12 +08:00
Simon Sapin
9034f0f8ec Bug 981752 part 2c: Add the grid-template shorthand. r=dholbert 2014-03-21 23:06:12 +08:00
Simon Sapin
2a8908079a Bug 981752 part 2b: Refactor grid-template-{columns,rows} parsing, preparing for the grid-template shorthand. r=dholbert
... and a bit of grid-auto-flow, for the grid shorthand.

* Avoid using CheckEndProperty() when possible
* Distinguish between "error" and "not a <track-size>"
* Split out parsing of a <track-list>, given its initial [<line-names>?]
2014-03-21 23:06:12 +08:00
Simon Sapin
8d091ccef4 Bug 981752 part 1: Add the grid-column, grid-row and grid-area shorthands. r=dholbert 2014-03-21 23:06:12 +08:00
Jonathan Watt
06a79a3b5a Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Brian Birtles
fc51a00f13 Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc 2014-03-22 05:59:58 +08:00
Brian Birtles
843cf9276a Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.

This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
Brian Birtles
ed5bad699b Bug 975261 part 4 - Add test for starting OMTA animations with backwards fill; r=dzbarsky
This test reproduces a bug where we don't send an animation to the compositor
thread. The important step is the sample precisely at the start of the animation
interval.
2014-03-22 05:59:58 +08:00
Brian Birtles
0750783e1b Bug 975261 part 3 - Add test for transforms; r=dzbarsky
Adds a test for transform animations with a delay where there is already
a transform specified on the element.

This test used to fail but bug 828173 fixed it. It is included here as
a regression test.

(Prior to bug 828173 we were able to fix this by triggering
ForceLayerRerendering inside nsAnimationManager::nsFlushAnimations whenever we
detected *different* style rules but canThrottleTick=true)

The issue stemmed from the fact that when an element has a transform property,
LayerIsPrerenderedDataKey would get set on the layer because in
nsDisplayTransform::ShouldPrerenderTransformedContent we would only check for
the *presence* of an animation, not whether it is running. Then in
RestyleManager::DoApplyRenderingChangeToTree we wouldn't do an invalidating
paint because TryUpdateTransformOnly() returns true since it looks at
LayerIsPrerenderedDataKey.

Bug 828173 fixes this, at least in part, by checking if an animation is running.
This bug may resurface if we put animations with a delay on the compositor
thread hence it is worth including here.
2014-03-22 05:59:57 +08:00
Brian Birtles
97f46c1cf2 Bug 975261 part 2 - Trigger animations with a delay; r=dzbarsky
Animations with a delay are not put on the compositor thread until the end of
the delay phase. However, there is currently nothing that explicitly triggers
this transaction. It may occur due to flushes that arise from UI events but it
is not guaranteed.

This patch detects the end of a delay phase and turns off throttling for that
sample. It re-uses the mLastNotification member which is not ideal but
a subsequent patch in this queue removes this and replaces it with the approach
used for transitions.
2014-03-22 05:59:57 +08:00
Brian Birtles
4348ab3768 Bug 975261 part 1 - Add test for OMTA animations that start with a delay; r=dzbarsky 2014-03-22 05:59:57 +08:00
Chadd Williams
29c628c5eb Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Alessio Placitelli
d61fac3e5a Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00
James Kitchener
9715635b3f Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt 2014-03-21 08:49:51 -04:00
Edwin Flores
eb1306a137 Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce 2014-03-21 19:35:15 +13:00
Masatoshi Kimura
26f4814ffd Bug 980307 - Remove DataContainerEvent dependency from accessibility. r=tbsaunde 2014-03-21 12:59:59 +09:00
Srirakshith Betageri
67824e20dd Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
Robert O'Callahan
70162bd5b3 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
--HG--
extra : rebase_source : e50c41da1a3cfc66f37e540b26fb8c9353ab5321
2013-09-20 22:22:11 +12:00
Robert O'Callahan
37aa0c39f6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
a89f4549c0 Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
--HG--
extra : rebase_source : deade5e87ae77b3fe9efdfde9ba2f3254318f387
2014-03-12 09:11:38 +08:00