Chris Peterson
68d33ca9b5
Bug 1235186 - Part 1: Fix -Wformat warnings in layout/. r=dholbert
...
layout/base/AccessibleCaret.cpp:129:48 [-Wformat-extra-args] data argument not used by format string
layout/generic/nsContainerFrame.cpp:425:71 [-Wformat] more '%' conversions than data arguments
layout/style/FontFaceSet.cpp:798:10 [-Wformat] format specifies type 'int' but the argument has type 'size_type' (aka 'unsigned long')
layout/style/Loader.cpp:1817:12 [-Wformat] format specifies type 'unsigned int' but the argument has type 'nsICSSLoaderObserver *'
layout/style/Loader.cpp:1817:35 [-Wformat] format specifies type 'unsigned int' but the argument has type 'mozilla::css::SheetLoadData *'
layout/style/Loader.cpp:1827:12 [-Wformat] format specifies type 'unsigned int' but the argument has type 'nsICSSLoaderObserver *'
layout/style/Loader.cpp:1827:23 [-Wformat] format specifies type 'char *' but the argument has type 'mozilla::css::SheetLoadData *'
2015-12-24 16:04:20 -07:00
Thinker K.F. Li
7022b0f440
Bug 1226904 - Fix boundary checking for leaves collecting. r=roc
...
--HG--
extra : rebase_source : 6338083654b2ad0de0ef7aa4987de1323f44c4b5
2015-12-22 19:17:00 -05:00
Markus Stange
ccf4cdd575
Bug 1152049 - Apply all scroll clips when computing plugin clips in content. r=tn
...
--HG--
extra : commitid : INSbCLlrdE7
extra : rebase_source : 27433278adbb4d5252044dd2566391f7ca241ca6
2015-12-24 12:02:05 +01:00
Mats Palmgren
a460027765
Bug 1151243 part 4 - Some code cleanup in nsHTMLReflowState::CalculateHypotheticalPosition, and make a few methods 'const' (idempotent patch). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
1d8b5ec5e7
Bug 1151243 part 3 - [css-grid] Add a generic nsHTMLReflowState::STATIC_POS_IS_CB_ORIGIN flag to place the static-position at the CB origin, and make nsAbsoluteContainingBlock use it in Grid containers where the placeholder is a child too. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
cb6c791e80
Bug 1151243 part 2 - [css-grid] Add a eIsGridContainerCB flag for nsAbsoluteContainingBlock::Reflow to trigger Grid specific code (rather than checking GetType()). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
953043bd52
Bug 1151243 part 1 - Replace three bool params for nsAbsoluteContainingBlock::Reflow with a flag param (idempotent patch). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
aa1a02ded6
Bug 1118820 part 5 - [css-grid] Remove any empty 'repeat(auto-fit)' tracks at the end of its range and adjust affected grid area line numbers accordingly. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6c3dc42815
Bug 1118820 part 4 - [css-grid] Provide the sizes to use for CalculateRepeatFillCount. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6db102a5d8
Bug 1118820 part 3b - [css-grid] Implement the CalculateRepeatFillCount method that calculates the number of 'repeat(auto-fill/auto-fit)' tracks to use for the given sizes. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
0fa25cd68c
Bug 1118820 part 3a - [css-grid] Modify TrackSizingFunctions to take a dynamic number of 'repeat(auto-fill/auto-fit)' tracks taking into account. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6a0b77effc
Bug 1118820 part 2c+2d - [css-grid] Modify the LineNameMap::FindLine/RFindLine/FindNamedLine methods to take line names associated with 'repeat(auto-fill/auto-fit)' tracks into account. Instantiate and pass around a LineNameMap object instead of an array of line name arrays. r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
1d19f2a174
Bug 1118820 part 2b - [css-grid] Move the static functions FindLine/RFindLine/FindNamedLine into the LineNameMap class (idempotent patch). r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
8c1437aebd
Bug 1118820 part 2a - [css-grid] Add a LineNameMap class that lets us lookup line names with a dynamic number of 'repeat(auto-fill/auto-fit)' tracks taken into account. r=dholbert
2015-12-22 23:03:15 +01:00
Markus Stange
b22db3eab2
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Markus Stange
30bf0a5627
Bug 1147673 - Use ancestor clip for root scrollable framemetrics clips. r=tn
...
--HG--
extra : commitid : Do9D8ZPMoLv
extra : rebase_source : 558a5311c4f2bceaf301a6c0c5e1233effdc2bd4
2015-11-05 17:54:44 +01:00
Carsten "Tomcat" Book
717016fa6e
Merge mozilla-central to mozilla-inbound
2015-12-22 11:47:56 +01:00
Kartikaya Gupta
4a4a0bcf45
Bug 1234242 - Keep a RefPtr to the refresh driver to unregister the ScrollEvent, rather than relying on a chain of pointers remaining non-null. r=mstange a=KWierso
...
--HG--
extra : commitid : JouJUWdzJl6
2015-12-21 14:40:20 -05:00
Markus Stange
8d6e827631
Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
...
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.
Patch by Markus Stange, test fixes by Kartikaya Gupta
--HG--
extra : commitid : 7nnkRC8afAJ
2015-12-17 17:19:30 -05:00
Morris Tseng
3e61e4b4cf
Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug
...
--HG--
extra : commitid : J5ynF4BHVHV
2015-12-18 14:52:17 +08:00
Phil Ringnalda
83bca6f9cf
Back out changeset 698cda645acb (bug 1209970) for Gu failures in tag_visibility_monitor_test.js
2015-12-17 19:44:55 -08:00
Ting-Yu Lin
d477595b16
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
fd9c9b233f
Backed out changeset 9f30d3caa231 (bug 1221459)
2015-12-22 14:03:21 +05:30
Ting-Yu Lin
0fd840e0d8
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Wes Kocher
29e422e6ea
Backed out changeset 0b616948a0f3 (bug 1214261) for 379461-3-container-xhtml.html failures CLOSED TREE
...
--HG--
extra : commitid : 3DxZrFjobHp
2015-12-17 16:38:49 -08:00
Markus Stange
8449f0d092
Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
...
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.
Patch by Markus Stange, test fixes by Kartikaya Gupta
--HG--
extra : commitid : DpIZ6B0IF0c
2015-12-17 17:19:30 -05:00
David Anderson
4d4d47ca92
Fix crash trying to allocate textures for oversize scrollbars. (bug 1214261, r=mstange)
2015-12-17 11:13:45 -08:00
Mats Palmgren
bf96241100
Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert
2015-12-17 04:12:09 +01:00
Avi Halachmi
9b56ccfb99
Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats
2015-12-16 20:06:40 +02:00
Wes Kocher
0f6a2a587a
Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
...
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)
--HG--
extra : commitid : Atv8AVyyd9h
2015-12-16 09:27:37 -08:00
Avi Halachmi
7762c6b58a
Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats
2015-12-16 17:18:45 +02:00
Kartikaya Gupta
edc45db293
Bug 1232048 - Fix breakage in scroll snapping when snapping twice in a row to the same thing with non-smooth-scrolls in between. r=botond
...
--HG--
extra : commitid : HOoM79IZd2u
2015-12-16 10:42:49 -05:00
Carsten "Tomcat" Book
b2138a4f83
Backed out changeset 2391e16acb15 (bug 1226697) for android r14 test failures in clipPath-html-06.xhtml
2015-12-16 12:03:13 +01:00
Carsten "Tomcat" Book
66e5f0c4ab
Backed out changeset 04b102bec363 (bug 1147673)
2015-12-16 11:52:39 +01:00
Carsten "Tomcat" Book
27bbe6ec93
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Markus Stange
bf668586d7
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Markus Stange
9079fbe047
Bug 1147673 - Use ancestor clip for root scrollable framemetrics clips. r=tn
...
--HG--
extra : commitid : 8i9bmvj9S6Y
extra : rebase_source : 6316afb1c7967fd944281f0686b2c6ba7379606f
extra : histedit_source : 1289a445613a59b213b79396a60076ebc4e83beb
2015-11-05 17:54:44 +01:00
Mats Palmgren
d91ea7b40a
Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert
2015-12-16 04:27:12 +01:00
Nicholas Nethercote
b05b423429
Bug 1231256 (part 6) - Remove unused parameter from Damage functions. r=roc.
...
--HG--
extra : rebase_source : 1c5bce4cde56ce7cd63aa719d9952bf72164e634
2015-12-07 15:23:34 -08:00
Nicholas Nethercote
43de6de5c5
Bug 1231256 (part 1) - Remove unused nsBoxLayoutState parameters from many functions. r=roc.
...
--HG--
extra : rebase_source : d9b86154d4cfc8f195e7cd86b6e8e60af52efaa9
2015-12-07 10:17:47 -08:00
Kartikaya Gupta
0dcf99f8a4
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Kartikaya Gupta
6b0c32286a
Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout
2015-12-14 15:52:31 -05:00
Kartikaya Gupta
fcb193563c
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Botond Ballo
afe315b114
Bug 1176395 - When an element is both position:sticky and transformed, apply the position:sticky outside the transform. r=roc
...
Conceptually, the transformed content is position:sticky. position:fixed
behaves similarly.
--HG--
extra : rebase_source : 59a7ad3f86deb8249ed2d54bf56bdee7dbe375f9
extra : source : 0009daf6b443c80c4423fca7e3275277ca2f012a
2015-12-09 15:24:39 -05:00
Botond Ballo
1cb64f6960
Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
...
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Mats Palmgren
d7d5269f4c
Bug 1230695 - [css-grid] abs.pos. child spanning from an 'auto' start position to an end line should end on the start side of the gutter. r=dholbert
2015-12-09 23:46:58 +01:00
Mats Palmgren
0b4f94271c
Bug 1229999 - [css-grid] Clamp auto-placed lines to where kMaxLine is in the translated grid. r=dholbert
2015-12-09 23:46:58 +01:00
Tobias Schneider
df13650f35
Bug 978212 - [css-grid] Resolved value of grid-template-{columns,rows} in px units. r=mats
2015-11-24 17:27:54 -08:00
Brian Birtles
885593747b
Bug 1230056 part 2 - Remove nsLayoutUtils::HasAnimationsForCompositor and call EffectCompositor::HasAnimationsForCompositor directly; r=dholbert
2015-12-09 16:28:10 -05:00
Kartikaya Gupta
6c7c3b6adf
Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
...
--HG--
extra : commitid : 6YhRu80eZzC
2015-12-09 10:13:34 -05:00