Robert O'Callahan
bfceba047b
Bug 975931. Part 2: Add more async scrolling tests. r=kats
...
--HG--
extra : rebase_source : eb86d75c6c6d2fffda4b32f1407f158c7a48383a
2014-02-26 17:17:23 +13:00
Robert O'Callahan
147d6aaf9c
Bug 975931. Part 9: Add basic reftests for async scrolling. r=tnikkel
...
--HG--
extra : rebase_source : 007307088ab09dd3811a74cb4782fdee320252f4
2014-02-24 21:57:29 +13:00
Robert O'Callahan
9dcbcf3034
Bug 975931. Part 7: Enable APZC in reftests. r=dbaron
...
--HG--
extra : rebase_source : 74c33e5b5f4e8aa59199e488cb7606527d7beaec
2014-02-24 20:17:58 +13:00
Robert O'Callahan
22fd2a7033
Bug 975931. Part 4: Support reftest-async-scroll attributes. r=dbaron
...
--HG--
extra : rebase_source : 2f87486f71f6e670df0999e75ac96cc43123921e
2014-02-24 18:09:47 +13:00
Robert O'Callahan
7d08110a4c
Bug 975931. Part 3: When the reftest-async-scroll attribute is present, allow reftest-displayport to be set on any element. r=tnikkel
...
--HG--
extra : rebase_source : 1cd4607ec6e789f55eb19e156cf7d6657424ca31
2014-02-24 18:08:47 +13:00
Robert O'Callahan
18f9442cc0
Bug 975931. Part 2: Update README with complete documentation of all attributes, and put the attribute name in the section heading. r=dbaron
...
--HG--
extra : rebase_source : e5a4790fd9ea2a0c5318901c55314d2751b8a5e7
2014-02-24 18:08:34 +13:00
Robert O'Callahan
6a2a74cd42
Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
...
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Chris Peterson
e16a6e4390
Bug 980810 - Part 2: Fix clang -Wstring-conversion warning in layout. r=dbaron
2014-03-07 00:53:03 -08:00
Daniel Holbert
ece24222e4
Bug 981110 part 2: Remove a bunch of 'skip-if' annotations for B2G, in SMIL reftests. r=jwatt
2014-03-09 17:45:56 -07:00
Daniel Holbert
4451871ae8
Bug 981110 part 1: Remove some random, skip, and fuzzy annotations in SVG / SMIL reftests. r=jwatt
2014-03-09 17:45:55 -07:00
Bas Schouten
9acb8da5c6
Bug 963073 - Followup: Mark tests as no longer failing on B2G due to tiling being enabled (see bug 916112). r=orange
2014-03-08 03:48:21 +01:00
Masayuki Nakano
2c3296d1bb
Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
...
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Daniel Holbert
f823197be5
Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam
2014-03-07 15:58:38 -08:00
Daniel Holbert
f363dbb577
Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam
2014-03-07 15:58:37 -08:00
Wes Kocher
24fd4d4e34
Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE
2014-03-07 13:57:06 -08:00
Mike Conley
4611b5bdb4
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Ryan VanderMeulen
add6a567df
Merge m-c to inbound.
2014-03-07 15:45:57 -05:00
Jeff Muizelaar
b1f83f8af6
Bug 980186. Tell automation.environment about the debugger. r=jgriffin
...
This lets it set the crash reporting envs properly.
--HG--
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/subdir.ini => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/empty.ini
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/moz.build => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/moz.build
extra : rebase_source : 1e4cbc0dedab57629e120c4d35bd8270c4f44892
2014-03-07 15:38:48 -05:00
Ryan VanderMeulen
d76583a0fc
Merge inbound to m-c.
2014-03-07 15:38:19 -05:00
Benoit Jacob
9b658d0e51
Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz
2014-03-07 12:14:26 -05:00
Benoit Jacob
91655cdf5c
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-07 12:14:25 -05:00
Benoit Jacob
9c93a3d8aa
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Daniel Holbert
3d2b7f8eff
Bug 980783: Make reftest scale-1.svg use MozReftestInvalidate for dynamic tweak, and make its reftest.list annotations more strict. r=jwatt
2014-03-07 09:48:56 -08:00
Ed Morley
0ddf702725
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00:00
L. David Baron
5edf98e9eb
Bug 978712 - Prevent non-running transitions and animations (animations or transitions during their delay period, and animations after they finish) from repeatedly poking layer activity because we think we can run them on the compositor. r=heycam
...
This changes the behavior of the CanPerformOnCompositorThread methods of
both ElementAnimations and ElementTransitions to check that the
respective animations or transitions are actually running. This is ok
because:
- The main caller is nsLayoutUtils::HasAnimationsForCompositor, and all
of its callers pretty clearly want the more restricted behavior (they're
concerned with layer activity)
- The only other callers of these functions are
nsAnimationManager::FlushAnimations and
nsTransitionManager::FlushTransitions (determining when to do
throttling), nsAnimationManager::GetAnimationsForCompositor (whose
only caller,
nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer, also checks
IsRunningAt). I think these also all want or are fine with having
the IsRunningAt check.
As to the actual changes:
- In the animation manager, I think it's a mistake that
ElementAnimation::IsRunningAt didn't already check
mIterationDuration, since we throw out animations with a bad
iteration-duration in ElementAnimations::EnsureStyleRuleFor. So this
makes that change as well.
- In the transition manager, IsRunningAt already checks
!IsRemovedSentinel().
I've confirmed in gdb on a device that this fixes the repeated
nsIFrame::SchedulePaint calls that were the symptom of this bug.
I believe this patch also makes it so that a short animation of a
property that can't be animated on the compositor doesn't prevent the
entire duration of the animation of a property that can from being
throttled (having the main thread style updates suppressed).
2014-03-06 22:08:57 -08:00
L. David Baron
359a10be0c
Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
...
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
L. David Baron
bfbcf864da
Bug 979760 - Pull out a BeginTransaction call common to the start of all three branches of if/else logic. r=mattwoodrow
...
I don't see any particular reason for them to logically be in each
branch, and it seems the code was originally written with the
BeginTransaction in one place, but later had to be refactored into its
current form.
Note that this separates the comment from one of the EndEmptyTransaction
calls below it, but the comment was actually associated primarily with
the further EndEmptyTransaction call, and with the if above it, based on
the history pointing to
https://hg.mozilla.org/mozilla-central/rev/b4e9a17e7fe2
2014-03-06 22:08:57 -08:00
Matt Woodrow
e1320c476a
Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc
2014-03-07 16:24:32 +13:00
Seth Fowler
451d4a93d4
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Timothy Nikkel
089a441c60
Bug 980256. nsDisplayZoom items need some adjustments if they are going to generate a scrollable layer. r=roc
...
Specifically GetBounds should use nsDisplaySubDocument::GetBounds (and not nsDisplayWrapList::GetBounds) before converting it to the right app units.
Similarly for ComputeVisibility except with the added wrinkle that nsDisplaySubDocument::ComputeVisibility won't properly handle coordinates if we are not generating a scroll layer. Namely it calls nsDisplayWrapList::ComputeVisibility which uses mVisibleRect (which is the visible rect of the scroll frame), when it needs to be using the visible rect of the contained list, which is for the scrolled content inside.
2014-03-06 17:40:31 -06:00
Matt Woodrow
9d2ab6314e
Bug 978911 - Add the entire visible region to the layers invalid region when we invalidate the whole thing. r=roc
2014-03-07 12:31:47 +13:00
Matt Woodrow
dff354bb2a
Bug 978911 - Add reftest for correct invalidation when changing the scale factors of an inactive transform. r=dholbert
2014-03-07 12:30:42 +13:00
Ed Morley
bd22dac370
Merge backout; CLOSED TREE
2014-03-07 15:53:02 +00:00
Gijs Kruitbosch
6b86dcbe64
Bug 970404 - don't let users affect document colors for chrome images, r=bz
2014-03-06 23:02:59 -05:00
Alex Henrie
947750bfd5
Bug 963970 - Place combobox button where a scrollbar would be. r=roc
2014-03-06 16:24:01 -07:00
Kartikaya Gupta
63e52fccd3
Bug 975962 - Allow panning/zooming around the initial viewport for overflow:hidden elements. r=botond,tn
2014-03-07 08:41:00 -05:00
Jonathan Kew
0a81eb0543
bug 970891 - reftest for font fallback on the <space> character. r=roc
2014-02-11 22:17:25 +00:00
Vaibhav Agarwal
417b7f2e77
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
9a59a5c96d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Ryan VanderMeulen
02ecb5a5d6
Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
...
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
f9fdea2963
Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz
2014-03-06 11:38:21 -05:00
Benoit Jacob
05c4cd6575
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-06 11:38:19 -05:00
Benoit Jacob
323054beb0
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-06 11:38:17 -05:00
Ryan VanderMeulen
f92dcbf5b8
Backed out changesets e7c4304d45d7 and 75d3146ac0d3 (bug 970891) for Android reftest failures.
...
CLOSED TREE
2014-03-06 11:00:26 -05:00
Jonathan Kew
9f36213043
bug 970891 - reftest for font fallback on the <space> character. r=roc
2014-02-11 22:17:25 +00:00
Jonathan Kew
73fcec8ebe
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Mats Palmgren
be95c28b5a
Bug 971955 - Make overflow-clip-box:content-box the default for all <input> @type values except type=file/button/reset/submit. r=roc
2014-03-06 10:03:38 +00:00
Matt Woodrow
cf2d089996
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Timothy Nikkel
3744208d24
Bug 980062. Make nsDisplaySubDocument use the visible rect of the contained list because it contains the enlarged area. r=roc
...
mVisibleRect contains the bounds after the scrolled content has been clipped to the scrollport. The visible rect on the contained list (mList) contain the bounds for all pre-drawn content in the displayport.
2014-03-05 20:52:54 -06:00
Wes Kocher
940c754a48
Backed out changeset 3b3d4ad70da0 (bug 660224) for turning textarea-focus.html permaorange on Windows
2014-03-05 18:01:32 -08:00
Simon Sapin
c90f672b1a
(no bug) Add labels to the various is() checks in test_initial_storage.html, to aid in diagnosing test-failures. r=dholbert
2014-03-05 16:53:08 -08:00
Jonathan Watt
e2d1db00e0
Bug 660224 - Test whether using MozReftestInvalidate and MozAfterPaint fixes the orange for layout/reftests/css-ui-invalid/default-style/textarea-focus.html. r=dholbert
...
--HG--
extra : rebase_source : a4134334ad32e4c8334856167f440d769c9b5643
2014-03-06 00:35:23 +00:00
Robert Longson
2b77c42b66
Bug 979407 - Fix ASSERTION: viewport height must be nonnegative, with negative markerHeight or markerWidth attribute. r=dholbert
2014-03-05 21:28:12 +00:00
Ryan VanderMeulen
a82c72c6ca
Merge m-c to inbound on a CLOSED TREE.
2014-03-05 16:08:02 -05:00
Ehsan Akhgari
a2897a0771
Bug 979816 - Backout bug 977701 because of a Talos regression
...
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Yuan Xulei
51a5ebf8e6
Bug 910412 - WebIDL and DOM binding for filesystem API. r=baku, r=smaug, f=dhylands, f=jonas
2014-03-05 11:26:39 +08:00
Simon Montagu
423901ddaf
Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame
2014-03-04 23:31:47 -08:00
L. David Baron
0253d42661
Bug 828173 bustage fix for non-unified builds: add using declaration.
2014-03-04 21:05:18 -08:00
L. David Baron
0ff448bbbf
Bug 979557: CanAnimatePropertyOnCompositor should return early when there's no OMT compositing, whether or not logging is enabled. r=dzbarsky
...
This shouldn't behave differently depending on whether or not logging is
enabled; that difference was introduced in bug 785648.
2014-03-04 20:13:22 -08:00
L. David Baron
503c4c2bbe
Bug 828173 patch 6: Remove calls to ForceLayerRerendering from the miniflush code (UpdateThrottledStyles, which flushes animations whose main thread updates are throttled without updating any other styles). r=mattwoodrow
...
I've been wanting to remove this code for a while. I think this code is
problematic for three reasons:
(1) It's in the middle of code where it doesn't belong, and which ought
to be handling purely-style-system things. (This is blocking me
from reusing that code elsewhere, e.g., in bug 977991 and
bug 960465, both of which could use it in some form.)
(2) It defeats the optimization from bug 790505 whenever we do a
miniflush (in other words, whenever we have any style change,
whether or not it's related)
(3) It means the conditions for when we decide to ship a new set of
animation data to a layer doesn't cover all the cases the layer
needs it. In particular, we only run this miniflush code when we
have a currently running animation or transition that's running on
the compositor thread. On the other hand, the UpdateTransformLayer
style change handling in DoApplyRenderingChangeToTree depends on
whether the frame currently has a transform layer, which can
continue to be true for a bit after the animation stops. So if we
need to send animations to the layer because of a transform style
change that happens soon after an animation completes, our style
change handling will find the existing layer and call its
SetBaseTransformForNextTransaction method but never do anything
that triggers layer construction. The style throttling code, in
turn, will never stop doing main thread updates because the
animation generation on the layer is out-of-date, and these main
thread updates will keep the layer active, but they'll never show
up because the stale animation data overrides the new transform
that we've been setting. (At least, I think that's what was
happening; it makes sense to me and matches the behavior I was
observing. I didn't verify which main thread updates and which
layer updates were actually happening, though.)
This shows up, for example, in the animation in attachment 8384813
just halting at a corner if I'm careful not to disturb it. (I'm
testing on Linux, with both accelerated layers and OMT animations
explicitly enabled.)
I think there are probably some other things that can be removed as
followups to removing this code, because I think we made some boundary
conditions intentionally incorrect so that problem (3) above wouldn't be
as bad as it otherwise would have been.
2014-03-04 20:13:22 -08:00
L. David Baron
598c0d4122
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
L. David Baron
6a0c7b3f88
Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
6dd37cbb18
Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
33a1acf4a8
Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
...
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
0cc7253609
Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
a632cf17a5
Bug 978903: Fix some uninitialized variable warnings in the CSS parser. r=heycam
...
The first provides a reasonable default (failure to parse) for the case
of an unknown value type (which should never happen).
The second reorders two failure checks so that the one that returns
early when units is uninitialized happens before the one that looks at
units.
2014-03-04 20:13:20 -08:00
L. David Baron
99fe2c6a0f
Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam
2014-03-04 20:13:20 -08:00
Mihaela Velimiroviciu
1d73211714
Bug 959973 - Add tests for using variables in external style sheets. r=heycam,ted
2014-03-05 12:29:44 +11:00
Brian Birtles
eb542f3937
Bug 972199 part 3 - Fix comment in ElementAnimations::GetPositionInIteration; r=nrc
...
Make comment reflect current parameter names.
2014-03-05 10:19:16 +09:00
Brian Birtles
da2e87c2ff
Bug 972199 part 2 - Add a crashtest for restoring the refresh driver after an advance; r=nrc
...
In this crash test we restore the refresh driver after manually advancing it.
This causes a situation where a layer has an animation that has yet to start.
Prior to modifying ElementAnimations::GetPositionIteration this test case would
trip an assertion there that rejected negative elapsed times when called from
the compositor thread.
2014-03-05 10:19:15 +09:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Daniel Schattenkirchner
70a03075f7
Bug 921761 - margin-collapsing test suite, wave 8; dynamic and additional cases for margins of a BFC; Multi-column margins; margins given in percent and em; r=dholbert
...
--HG--
rename : layout/reftests/margin-collapsing/block-abs-pos-1.html => layout/reftests/margin-collapsing/block-abs-pos-1-dyn.html
rename : layout/reftests/margin-collapsing/block-abs-pos-2.html => layout/reftests/margin-collapsing/block-abs-pos-2-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1a.html => layout/reftests/margin-collapsing/block-float-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1b.html => layout/reftests/margin-collapsing/block-float-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2a.html => layout/reftests/margin-collapsing/block-float-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2b.html => layout/reftests/margin-collapsing/block-float-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1a.html => layout/reftests/margin-collapsing/block-no-content-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1b.html => layout/reftests/margin-collapsing/block-no-content-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1c.html => layout/reftests/margin-collapsing/block-no-content-1c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2a.html => layout/reftests/margin-collapsing/block-no-content-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2b.html => layout/reftests/margin-collapsing/block-no-content-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2c.html => layout/reftests/margin-collapsing/block-no-content-2c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2d.html => layout/reftests/margin-collapsing/block-no-content-2d-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a.html
rename : layout/reftests/margin-collapsing/block-overflow-1.html => layout/reftests/margin-collapsing/block-overflow-1-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-2.html => layout/reftests/margin-collapsing/block-overflow-2-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-3.html => layout/reftests/margin-collapsing/block-overflow-3-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-4.html => layout/reftests/margin-collapsing/block-overflow-4-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5a.html => layout/reftests/margin-collapsing/block-overflow-5a-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5b.html => layout/reftests/margin-collapsing/block-overflow-5b-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5c.html => layout/reftests/margin-collapsing/block-overflow-5c-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5d.html => layout/reftests/margin-collapsing/block-overflow-5d-dyn.html
rename : layout/reftests/margin-collapsing/block-percent-1.html => layout/reftests/margin-collapsing/block-percent-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-child-1.html => layout/reftests/margin-collapsing/fieldset-child-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1a.html => layout/reftests/margin-collapsing/fieldset-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1b.html => layout/reftests/margin-collapsing/fieldset-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1c.html => layout/reftests/margin-collapsing/fieldset-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2a.html => layout/reftests/margin-collapsing/fieldset-sibling-2a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2b.html => layout/reftests/margin-collapsing/fieldset-sibling-2b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2c.html => layout/reftests/margin-collapsing/fieldset-sibling-2c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-1.html => layout/reftests/margin-collapsing/inline-block-child-1-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-2.html => layout/reftests/margin-collapsing/inline-block-child-2-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1a.html => layout/reftests/margin-collapsing/inline-block-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1b.html => layout/reftests/margin-collapsing/inline-block-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1c.html => layout/reftests/margin-collapsing/inline-block-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-2.html => layout/reftests/margin-collapsing/inline-block-sibling-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1a.html => layout/reftests/margin-collapsing/table-caption-1a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1b.html => layout/reftests/margin-collapsing/table-caption-1b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2a.html => layout/reftests/margin-collapsing/table-caption-2a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2b.html => layout/reftests/margin-collapsing/table-caption-2b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2c.html => layout/reftests/margin-collapsing/table-caption-2c-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-1.html => layout/reftests/margin-collapsing/table-caption-bottom-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-2.html => layout/reftests/margin-collapsing/table-caption-bottom-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-1.html => layout/reftests/margin-collapsing/table-caption-top-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-2.html => layout/reftests/margin-collapsing/table-caption-top-2-dyn.html
2014-03-04 14:09:37 -08:00
Geoff Brown
c374245688
Bug 936226 - Update test manifests for Android x86
2014-03-04 17:02:04 -07:00
Andrew McCreight
6d6e9c420b
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
55ae71a452
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Olli Pettay
feda56aef2
Bug 979314, fix pointer events pref handling in presshell, r=mccr8
...
--HG--
extra : rebase_source : 9ce2767a077bfdf623186580d4793b73907e69bd
2014-03-04 23:49:02 +02:00
Andrew McCreight
dc81f67e51
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Daniel Holbert
25bd4e0e40
Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats
2014-03-04 11:08:54 -08:00
Milan Sreckovic
000e6f1c01
Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard.
2014-03-04 12:26:33 -05:00
Ed Morley
3e2008f2fd
Backed out changeset fa5e92d8eb82 (bug 946618) for frequent test failures
2014-03-04 16:36:47 +00:00
Paul Adenot
4a6d5a5ad6
Bug 946618 - Add native tests for cubeb (build system bits). r=glandium,kinetik
2014-02-25 14:21:59 +01:00
Phil Ringnalda
f7d318aa86
Merge m-c to m-i
2014-03-03 19:50:07 -08:00
Seth Fowler
750ecf0bd4
Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron
2014-03-03 19:40:31 -08:00
Seth Fowler
c731aa8fb7
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-03-03 19:40:29 -08:00
Seth Fowler
d0c1e2f3fb
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-03 19:40:27 -08:00
Botond Ballo
52886c2f82
Bug 978997 - Fix a regression caused by bug 959847 where the root layer sometimes doesn't get an APZC. r=tnikkel on a CLOSED TREE
...
Root scroll frames in display root documents don't get a scroll info layer from ScrollFrameHelper::BuildDisplayList, so we always need to call RecordFrameMetrics from nsDisplayList::PaintForFrame.
2014-03-03 19:57:28 -05:00
Ryan VanderMeulen
ea7db637cd
Merge inbound to m-c.
2014-03-03 17:00:34 -05:00
James Kitchener
c0293f8c6b
Bug 975935 - Import rowlines/columnlines tests from MathJax. r=fredw
2014-03-03 10:37:24 -05:00
James Kitchener
ed09b3f79b
Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz
2014-03-03 10:37:08 -05:00
Ed Morley
eb5f4e4e6d
Merge mozilla-central and inbound
2014-03-03 14:50:56 +00:00
Ed Morley
a96a5e92b0
Merge latest green b2g-inbound changeset and mozilla-central
2014-03-03 14:45:43 +00:00
Ehsan Akhgari
52816268c3
Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
...
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
Markus Stange
012e376de7
Bug 975773 - Filter primitives in error states can have inputs. r=roc
2014-03-03 14:31:27 +01:00
L. David Baron
d38774f56a
Bug 978612: Ignore changes to offsets of static-positioned elements when they or their descendants have views. r=dholbert
...
We get slightly better optimization, and no loss of function, by putting
these checks in the opposite order.
2014-03-03 00:54:39 -08:00
L. David Baron
df9a01e6be
Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc
2014-03-03 00:54:39 -08:00
L. David Baron
23fc0999c0
Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc
2014-03-03 00:54:39 -08:00
Makoto Kato
ba3a895ec9
Bug 968647 - Part 1. Add position change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Jonathan Kew
6f211c72ed
bug 978313 - fix up existing reftests affected by improved joiner handling. r=jdaggett
2014-03-03 08:02:43 +00:00
Jonathan Kew
1b2eff125b
bug 978313 - reftest for initial ZWJ disrupting Arabic joining. r=jdaggett
2014-03-03 08:02:26 +00:00
Timothy Nikkel
4340c68e3b
Bug 978655. Simplify ContainerState::FindFixedPosFrameForLayerData. r=mattwoodrow
2014-03-03 00:04:59 -06:00
Makoto Kato
cf57cff4a8
Backed out changeset d06ee3f1e9a3 (bug 968647)
2014-03-03 11:53:43 +09:00
Makoto Kato
14038c6580
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
6bbec0c664
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Timothy Nikkel
7057743a64
Bug 974643. The displayport is not relevant to position: fixed content, only to scrolling content. r=roc
...
The relevant part of postion: fixed items lies within the viewport, which is the scroll position clamping scroll port size if one has been set.
2014-03-02 19:49:39 -06:00
Oleg Romashin
0f3424c689
Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug
2014-02-27 16:13:05 -08:00
Kearwood (Kip) Gilbert
607fa6edce
Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
...
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page. If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.
This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00
Ryan VanderMeulen
b00f0ba8d9
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
82c5205c1a
Bug 976533 - Add a reftest. r=roc
2014-02-28 09:11:37 -05:00
Horia Iosif Olaru
0e770e33c0
Bug 976533 - In case there is are both a MixBlendMode and BlendContainer wrapping the same stacking display list, reverse the order so that the BlendContainer comes first. This way, it will not isolate the legitimate MixBlendMode item. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
a927d781fe
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
649b31451f
merge mozilla-inbound to mozilla-central
2014-02-28 14:31:00 +01:00
Neil Deakin
5d9c2a4895
Bug 968039, Remove the first reflow flag when the popup is laid out but not open, force the uitour to generate frames so that its size is computed properly, r=bz,mattn
2014-02-28 08:18:22 -05:00
Carsten "Tomcat" Book
b698e9bf03
Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE
2014-02-28 09:30:34 +01:00
Makoto Kato
733278c657
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Wes Kocher
e4299dd8a6
Merge m-c to b2g-inbound
2014-02-27 17:47:32 -08:00
Wes Kocher
9da41647fe
Merge inbound to m-c
2014-02-27 16:52:51 -08:00
Ryan VanderMeulen
b1611fccd5
Merge m-c to b2g-inbound.
2014-02-27 17:34:25 -05:00
Timothy Nikkel
00358747ba
Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
c98b478ef2
Bug 959847. Part 10. Implement GetBounds, GetOpaqueRegion, and ShouldBuildLayerEvenIfInvisible for nsDisplaySubDocument items that are being used as scrollable layers like scroll layer items. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
7c6fe99703
Bug 959847. Part 9. Subdocument items for subdocuments that have displayports need to expand the visibility region. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
5d30b2243f
Bug 959847. Part 8. Don't let ProcessDisplayItems set the clip on subdocument items when they are being used to draw the display port content. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
bbe19b1635
Bug 959847. Part 7. Move ignoreViewportScrolling computation lower, where we actually use it. r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
a56df55cd5
Bug 959847. Part 6. Only call RecordFrameMetrics from PaintForFrame if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
33274d8cd4
Bug 959847. Part 5. Only call RecordFrameMetrics for subdocuments if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
b2fdd6bcf1
Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
...
We do this by creating a new display item type: nsDisplaySubDocument.
Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Timothy Nikkel
f391dc3f7b
Bug 959847. Part 3. Make zoom items be contained in resolution items for subdocuments if they occur together. r=roc
...
Wrap the zoom item in the resolution item if we have both because we want the resolution scale applied on top of the app units per dev pixel conversion. Resolution is just a scale transform and app units per dev pixel affect layout, so conceptually the resolution gets applied after.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
184dbd98bd
Bug 959847. Part 2. Don't ignore "ignore viewport scrolling" on subdocuments. r=roc
...
This means that the layer we create in nsSubDocumentFrame::BuildDisplayList becomes the scrollable layer for the document and we early early from ScrollFrameHelper::BuildDisplayList before it gets to the nsDisplayScrollLayer creation.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
2457fccf35
Bug 959847. Part 1. Retrieve the displayport of the root scroll frame the same way as everywhere else does in nsSubDocumentFrame::BuildDisplayList. r=roc
2014-02-27 16:01:52 -06:00
Ryan VanderMeulen
48d69f19f8
Merge inbound to m-c.
2014-02-27 16:55:18 -05:00
stefanh@inbox.com
6dacf6ac06
Bug 970079 - Native theming for MacOS X help buttons, widget part. r=mstange, roc.
2014-02-27 18:12:16 +01:00
Horia Iosif Olaru
a1363f590b
Bug 952051 - Add reftests. r=roc
...
* Add a reftest for checking that blending takes place between a blended child element that is clipped by a rounded rect and its parent element (which has overflow hidden, and rounded corners).
* Add a reftest to check the behavior described in bug 947121 no longer reproduces.
2014-02-27 11:56:48 -05:00
Kearwood (Kip) Gilbert
f24b9bf3d8
Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
...
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.
nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Mats Palmgren
b01df6060e
Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
...
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Arnaud Bienner
3aa4fb9a2f
Bug 977029 - when color value changes, refresh color control frame instead of (wrongly) changing value attribute. r=bz
2014-02-28 20:52:42 +01:00
Jesse Ruderman
6fe5378027
Bug 513110 - tests
2014-03-01 10:36:39 +00:00
Mats Palmgren
e626add88b
Bug 513110 - Adjust the maximum break type (only used in assertions) to reflect reality. r=dholbert
2014-03-01 10:36:39 +00:00
Timothy Nikkel
0072a23947
Bug 978348. PresShell::SetDisplayPort is dead code, remove it. r=dholbert
2014-02-28 20:16:06 -06:00
L. David Baron
84da5ff68d
Add bug number (bug 828173) to FIXME comment.
...
DONTBUILD.
2014-02-28 17:14:31 -08:00
Wes Kocher
b158b5183e
Backed out changeset c14980a16210 (bug 948265) so it can address review comments first, despite the CLOSED TREE
2014-02-28 14:48:31 -08:00
Geoff Brown
a2ad920de3
Bug 978265 - Disable layout/base/crashtests/522374-1.html on Android 2.3
2014-02-28 14:58:38 -07:00
Geoff Brown
f70fe858ca
Bug 978254 - Disable layout/base/crashtests/500467-1.html on Android 2.3
2014-02-28 14:58:37 -07:00
Geoff Brown
c9107bd5fd
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3
2014-02-28 14:58:34 -07:00
Carsten "Tomcat" Book
236427f5bf
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Kartikaya Gupta
a387c59ff5
Bug 975033 - If the displayport is too big, it's better to pretend it's not there at all. r=tn
2014-02-27 08:42:40 -05:00
Carsten "Tomcat" Book
c0379e0d9b
Backed out changeset 27f21343ffe5 (bug 687297) for mochitest-1 perma fail
2014-02-27 10:21:55 +01:00
Carsten "Tomcat" Book
4550825f00
Backed out changeset 1d16baf1f90a (bug 687297)
2014-02-27 10:21:29 +01:00
Mats Palmgren
439708e205
Bug 976411 - Use ConstructFramesFromItemList in more places, and some minor cleanup. r=bz
2014-02-27 09:15:16 +00:00
Simon Sapin
c999db9386
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00
Simon Sapin
30d41ba3a3
Bug 975501 part 1: Add a XUL prefix to existing internal GRID constants. r=dholbert
2014-02-26 23:43:18 -08:00
Daniel Holbert
be0595a818
(no bug) fix a few whitespace issues in nsFlexContainerFrame.cpp. whitespace-only, DONTBUILD
2014-02-26 23:28:38 -08:00