Commit Graph

20340 Commits

Author SHA1 Message Date
Simon Montagu
7c94db65dd Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu
5e7ae0913d Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu
3834bef695 Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Ehsan Akhgari
900b593d47 Bug 981292 - Move the CXXFLAGS variable in layout/build/Makefile.in to moz.build; r=mshal
--HG--
extra : rebase_source : 7c9e8dc076aeffe833d84c824be5e6771935373a
2014-03-10 20:13:57 -04:00
Daniel Holbert
9fb0a3d672 (no bug) fix trailing whitespace in test_flexbox_flex_shorthand.html. whitespace-only, DONTBUILD
Pusing on a CLOSED TREE with KWierso|sheriffduty's permission
2014-03-10 16:57:44 -07:00
Simon Sapin
1916414b92 Bug 976787 part 5: Add grid-{column,row}-{start,end} and grid-auto-position to the style system. r=dholbert 2014-03-10 15:54:17 -07:00
Simon Sapin
c7dab4e0c0 Bug 976787 part 4: Add the grid-auto-flow property to the style system. r=dholbert 2014-03-10 15:54:16 -07:00
Simon Sapin
d5e74775d3 Bug 976787 part 3: Add the grid-auto-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:15 -07:00
Simon Sapin
7d52218be2 Bug 976787 part 2: Add the grid-template-areas property to the style system. r=dholbert 2014-03-10 15:54:14 -07:00
Simon Sapin
64446c5b2e Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert 2014-03-10 15:54:13 -07:00
Daniel Holbert
5707650a26 Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Mac. rs=RyanVM 2014-03-10 15:46:31 -07:00
Seth Fowler
af4378176e Bug 63895 (Part 3) - Add tests for positioned internal table objects serving as absolute containing blocks. r=dbaron 2014-03-10 15:41:21 -07:00
Seth Fowler
567a08b8a4 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-10 15:41:17 -07:00
Seth Fowler
064ace58f4 Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron 2014-03-10 15:41:14 -07:00
Matt Woodrow
5f6ac4ba39 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
Matt Woodrow
97d8f90715 Bug 981252 - Initialize all values in MaskLayerUserData so that equality comparisons make sense. r=dbaron 2014-03-11 11:12:48 +13:00
Kartikaya Gupta
14e74e19a6 Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
856fce75aa Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Gregory Szorc
1d7ac7ea19 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Ryan VanderMeulen
9ced6c9188 Backed out changeset 88780b5a201e (bug 980015) for test_property_database.html failures.
CLOSED TREE
2014-03-10 15:31:23 -04:00
Ted Mielczarek
c0e5c0cfe5 Bug 980015 - Remove MOCHITEST_FILES et. al. r=gps
--HG--
extra : rebase_source : 3825abc63eb0901bc1422aa00aed3680dbe3e44c
2014-03-05 15:51:39 -05:00
Nathan Froyd
2632867fbf Bug 677653 - part 1 - indirect libogg memory allocations through variables; r=glandium,rillian 2014-03-05 10:58:29 -05:00
Max Vujovic
38ada69883 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Robert O'Callahan
f30bd3b5ac Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
a9d65513c8 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
61c721de61 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
db71625b54 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
008c48e1b8 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
1e5b0653a0 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
62da572d7f 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
e5f6bfb587 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
910eb057f1 Bug 980810 - Part 2: Fix clang -Wstring-conversion warning in layout. r=dbaron 2014-03-07 00:53:03 -08:00
Daniel Holbert
9cf3efea1d 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
43d224d84e 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
cfcf79d707 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
8bbf9836fa 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
774ef76723 Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam 2014-03-07 15:58:38 -08:00
Daniel Holbert
284d261cbc Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam 2014-03-07 15:58:37 -08:00
Wes Kocher
853f6e211d Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE 2014-03-07 13:57:06 -08:00
Mike Conley
23fcc345bc Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Ryan VanderMeulen
be8c199c93 Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Jeff Muizelaar
800239b052 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
238e2ab515 Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
e01f9a3958 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
c3679a9840 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
5690c8f7e0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Daniel Holbert
f48ac1cd5c 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
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
L. David Baron
a2f97c232b 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
f59fdc97c7 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