Граф коммитов

12449 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 868bc3704a Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
MozReview-Commit-ID: DudrJuO4pFM

--HG--
extra : source : a9468a25f1b937c49c5f801069d2cdc2cd610bdd
extra : histedit_source : 18d04bcb32288c7713a162f0ee33650f6f10926f
2016-04-04 17:46:12 -04:00
Matt Woodrow 3fcbb65a38 Bug 852754 - Part 3: Share the implementation of ConfigureLayer. r=mstange 2016-04-07 18:54:33 +12:00
Matt Woodrow 7dc61d9b46 Bug 852754 - Part 2: Share the implementation of GetContainer. r=mstange 2016-04-07 18:53:15 +12:00
Matt Woodrow 46ff4c4fc7 Bug 852754 - Part 1: Share the code for limiting scale factors to all image types. r=mstange 2016-04-07 18:52:35 +12:00
Timothy Nikkel 42e0b26d3f Bug 1261698. Make ReparentFrameViewTo return void because it always returns NS_OK. r=mats 2016-04-06 01:26:42 -05:00
Timothy Nikkel d94e6fb6a4 Bug 1261698. Remove comment that is not relevant in nsContainerFrame.cpp.
And one that is very obvious.
2016-04-06 01:26:42 -05:00
Timothy Nikkel 6414e49434 Bug 1261698. Don't descend into child frames looking for views in ReparentFrameViewTo if the frame doesn't have the NS_FRAME_HAS_CHILD_WITH_VIEW bit set. r=mats 2016-04-06 01:26:41 -05:00
Jonathan Kew a088c94f54 Bug 1140268 - Set up mCBReflowState for the 'bogus' parent reflow state used for RestyleManager::RecomputePosition. r=dbaron 2016-04-06 00:37:31 +01:00
Jonathan Kew 299f0af79a Bug 1140268 - Crashtest. r=dbaron 2016-04-06 00:36:35 +01:00
Xidorn Quan 7fc0c87369 Bug 1220438 - Correct baseline offset computation of text decoration for vertical-rl. r=jfkthame
MozReview-Commit-ID: 5VHapeQ6mBU

--HG--
extra : rebase_source : 9814a77550a0d2125f6d3ba7e55594929b65fd8b
2016-04-01 16:29:31 +11:00
Kartikaya Gupta fa1dfb6fc1 Bug 1262151 - Back out bug 1259593 for causing worse checkerboarding in some cases. r=backout 2016-04-05 10:28:28 -04:00
Seth Fowler 46fd7ee495 Bug 1261553 - Don't return from OnVisibilityChanged implementations without calling the superclass implementation. r=mstange
--HG--
extra : rebase_source : 425d910fb712a11359ec8e79134acd94a092824d
2016-04-05 01:11:14 -07:00
Timothy Nikkel 29f5dca707 Bug 1261718. In nsSubDocumentFrame when getting the document from a view go through the view manager because it is more like to succeed. r=mats
The view is not guaranteed to have a frame (and won't during the early parts of the presshell's existence). It will have a view manager, and that will have a presshell during this time period.

Anytime a view has a frame it will also have a view manager and a pressshell so this is strictly better.
2016-04-05 01:33:36 -05:00
Jeremy Chen 49cb886e74 Bug 1261568 - part1: take -webkit-text-fill-color into consideration while
building displaylist for text frame. r=jfkthame

--HG--
extra : commitid : 6qd1b5QuedD
extra : rebase_source : 4a445ebb92610944ad1b131fb4ba262d4b3cfc8b
2016-04-05 12:35:44 +08:00
Daniel Holbert 1089cfca11 Bug 1257688 part 5: Change "-webkit-box-flex" to alias its -moz equivalent, & change nsFlexContainerFrame to use it instead of flex-shrink & flex-grow in a -webkit-box. r=mats
MozReview-Commit-ID: DMA8cAoYMWq
2016-04-04 18:32:12 -07:00
Daniel Holbert 660ffa5f39 Bug 1257688 part 3: Change "-webkit-box-ordinal-group" to alias its -moz equivalent, & change nsFlexContainerFrame to respect it in a -webkit-box. r=mats
MozReview-Commit-ID: DMB8dk0q11T
2016-04-04 18:32:12 -07:00
Daniel Holbert 0394b69896 Bug 1257688 part 1: Change "-webkit-box-pack" & "-webkit-box-align" to alias their -moz equivalents, & change nsFlexContainerFrame to respect them in a -webkit-box. r=mats
MozReview-Commit-ID: HtwVbtaVf8v
2016-04-04 18:32:12 -07:00
Daniel Holbert 49f7f8a10d Bug 1257688 part 0: Add an "IsLegacyBox" accessor to nsFlexContainerFrame, to enable special handling of display:-webkit-box & display:-webkit-inline-box. r=mats
MozReview-Commit-ID: Dt5Zx2sHN99
2016-04-04 18:32:12 -07:00
Timothy Nikkel eda8fbb9ea Bug 1261230. r=mats 2016-04-02 01:54:00 -05:00
Botond Ballo 5753e3da83 Bug 1259301 - Remove GeckoContentController::RequestFlingSnap(). r=kats
MozReview-Commit-ID: DRntzo1hohv

--HG--
extra : rebase_source : 5e9c5c43202fb48c5cad5ab95b05fd0bc1be021e
2016-03-30 21:11:00 -04:00
Botond Ballo a2ee8407e4 Bug 1219296 - Scroll snap directly in APZ instead of going through the main thread. r=kats
MozReview-Commit-ID: 3qAdSWXwOsu

--HG--
extra : rebase_source : 1c746af11c620e4bc27d1163980db361c239ae5e
2016-03-28 18:36:02 -04:00
Botond Ballo 895380f52c Bug 1219296 - Ship scroll snap information to the compositor. r=kats
MozReview-Commit-ID: 2aCaAEC5Csu

--HG--
extra : rebase_source : 840fa9478c32932c40cf3f9222d14da567f9d41b
2016-03-11 22:04:53 -05:00
Botond Ballo 04587ba3aa Bug 1219296 - Move the layout.css.scroll-snap.proximity-threshold pref to gfxPrefs, so it can be queried on the compositor thread. r=kats
MozReview-Commit-ID: 6apoF0810Ea

--HG--
extra : rebase_source : 7860ad185b7c131ef19faa2befb3a09f75b7ad6e
2016-03-18 21:15:45 -04:00
Botond Ballo c2325214db Bug 1219296 - Factor out the algorithm that computes a scroll snap destination into a reusable form. r=kats
MozReview-Commit-ID: KyU67pXEJus

--HG--
extra : rebase_source : c1dfbe948dd8d98e549612287ca48e507adf5aee
2016-03-21 21:32:28 -04:00
Botond Ballo e33fc6e896 Bug 1219296 - Fix an include-what-you-use error. r=kats
MozReview-Commit-ID: KBizLnMEXG4

--HG--
extra : rebase_source : 045f571e67b8a1046cbc1c98e9ab2f7716964a96
2016-03-16 21:46:33 -04:00
Botond Ballo 4690842281 Bug 1219296 - Factor out scroll snap information into a form that's usable by the compositor. r=kats
MozReview-Commit-ID: DTvu7UsKsBg

--HG--
extra : rebase_source : 71831d884d128bc9e50aac55c7a8302f7ffe74f8
2016-03-18 20:07:27 -04:00
Botond Ballo a74ec8c79b Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
MozReview-Commit-ID: DymHOSI6yYK

--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
L. David Baron 01abdf308c Bug 1182247 - Only RegisterPluginForGeometryUpdates in nsPluginFrame::EndSwapDocShells if mInstanceOwner is non-null. r=tnikkel
Having a non-null mInstanceOwner corresponds to when registration
normally happens (from nsPluginInstanceOwner::SetFrame), and it's
disconnecting the instance owner that leads to unregistration.

MozReview-Commit-ID: 3X15t9zoXIj
2016-03-17 17:57:53 -07:00
Masayuki Nakano e6be470f50 Bug 1259664 part.12 Rename WidgetWheelEvent::overflowDeltaY to WidgetWheelEvent::mOverflowDeltaY r=smaug
MozReview-Commit-ID: GGvQZlvc4sl

--HG--
extra : rebase_source : 9673aea11cbc752cfbc3c7b48fa68e2a4143266f
2016-04-01 00:36:55 +09:00
Masayuki Nakano a597026bd6 Bug 1259664 part.11 Rename WidgetWheelEvent::overflowDeltaX to WidgetWheelEvent::mOverflowDeltaX r=smaug
MozReview-Commit-ID: CVKbougU4uT

--HG--
extra : rebase_source : 0beb961e696e114321db819ac68dab7d54cf7e28
2016-04-01 00:27:45 +09:00
Ryan VanderMeulen 24435a6f0b Bug 1261195 - Make the Windows fuzzing in test_selection_underline.html conditional on D2D being enabled. r=mattwoodrow
--HG--
extra : rebase_source : 117883ae8aa21e477e962bee71d3635797094581
2016-04-01 08:25:27 -04:00
Kartikaya Gupta 10461a4696 Bug 1259593 - Trim the displayport base rect to the size of the transformed root composition bounds, but without doing an intersection. r=tnikkel
MozReview-Commit-ID: G1CeplN7Mks
2016-03-31 23:51:38 -04:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Masayuki Nakano e9a1bcb370 Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
MozReview-Commit-ID: 7avEiqKfaHA

--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Masayuki Nakano b085de0c5a Bug 1259671 part.5 Rename InternalScrollPortEvent::orient to InternalScrollPortEvent::mOrient r=smaug
MozReview-Commit-ID: HHWPSAeeaPr

--HG--
extra : rebase_source : 3d2dccb0e0e3d4bddcd34086c8f6f2906ba01177
2016-03-30 17:48:23 +09:00
Masayuki Nakano cc3e2af5cc Bug 1259671 part.4 Rename InternalScrollPortEvent::both to InternalScrollPortEvent::eBoth r=smaug
MozReview-Commit-ID: HL5phKZVYin

--HG--
extra : rebase_source : 7c9f6e870a94e9a028d4a13eac523bfcbf9bdf15
2016-03-30 17:39:56 +09:00
Masayuki Nakano fe377694e5 Bug 1259671 part.3 Rename InternalScrollPortEvent::horizontal to InternalScrollPortEvent::eHorizontal r=smaug
MozReview-Commit-ID: JkT44G2FpUH

--HG--
extra : rebase_source : 316342c1ab53a4994dba371d49b12406b7b97a03
2016-03-30 17:33:16 +09:00
Masayuki Nakano 76133ed4d3 Bug 1259671 part.2 Rename InternalScrollPortEvent::vertical to InternalScrollPortEvent::eVertical r=smaug
MozReview-Commit-ID: 6OxTYqgZVUD

--HG--
extra : rebase_source : 0803047d4c397622bf783a69653e87378a88824c
2016-03-30 17:24:57 +09:00
Masayuki Nakano 12eb436dc2 Bug 1259671 part.1 Rename InternalScrollPortEvent::orientType to InternalScrollPortEvent::OrientType r=smaug
MozReview-Commit-ID: 4EmyQoIKdDy

--HG--
extra : rebase_source : 91065be4b6d9ce69455e696a2f1a7600a7ec8099
2016-03-30 17:16:01 +09:00
Mats Palmgren fee61ecb6c Bug 1260614 - Cleanup grid item iterator Reset() calls. r=dholbert 2016-04-01 02:08:15 +02:00
Mats Palmgren 1977ca7749 Bug 1216001 - Fix a typo that eliminated a possible paint optimization. r=xidorn 2016-04-01 02:08:15 +02:00
Mats Palmgren 709991c29d Bug 1259949 - Set the CARET_ASSOCIATE_AFTER hint also when we collapse just after a text node that ends with a significant newline. r=ehsan
nsCaret::GetFrameAndOffset may return a text frame also when aParentNode
is the container of a text node and aOffset is just after it.  In this
case we also want CARET_ASSOCIATE_AFTER if the text ends with
a significant newline.  (follow-up from bug 1258308)
2016-04-01 02:08:15 +02:00
Markus Stange aa9962666e Bug 1255068 - Add a check for null scrollid. r=kats
MozReview-Commit-ID: 15lbTMb76np

--HG--
extra : histedit_source : a8ada9b5ad5d3c46bcf464a144756ac18bc632ef
2016-03-24 16:19:14 -04:00
Daniel Holbert 20fb101da6 Bug 1259561: Increase CRAZY_COORD (threshold for debug build layout warnings) by an order of magnitude. r=mats
MozReview-Commit-ID: 23M5LIW14Li
2016-03-25 15:09:04 -07:00
Seth Fowler 5973113f1b Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange 2016-03-25 14:49:43 -07:00
Jeremy Chen ac81ba2c95 Bug 1247777 - Part2: implement -webkit-text-fill-color rendering. r=jfkthame
--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Benoit Girard 4e40cd1d1a Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
MozReview-Commit-ID: KdWCkXHjHzZ

--HG--
extra : rebase_source : ca15390be1d003c50e41ef89f40f5e7f543e8676
2016-03-23 17:16:38 -04:00
Daniel Holbert 37e8c9d5cc Bug 1236400 part 1: Add internal enum values to represent "display: -webkit-box" & "display: -webkit-inline-box". r=mats
These new enum values are added with same behavior as their modern flexbox
equivalents -- they're hooked up to NS_NewFlexContainerFrame, and they're
listed alongside the modern flexbox enums in 'switch' & 'if' statements.

There's one exception, which I call out with a comment at the end of the patch:
we don't treat -webkit-box the same as flexbox in IsFlexOrGridDisplayType(),
because that method is used to determine whether we should blockify
inline-level children of a flex/grid container, and we don't want to blockify
any children of a -webkit-box. (Instead, we want to wrap them in an anonymous
flex item. That happens in the next patch.)

MozReview-Commit-ID: 9BB4Ib2KpvE
2016-03-24 09:55:11 -07:00
Ting-Yu Lin 6276d59933 Bug 1245424 Part 1 - Fix assert for a display:none summary on debug build. r=bz
If the main summary element has 'display: none' style, it won't
generates a summary frame as the first child of the details.

However, if a details element have two summaries and the first summary
has 'display: none', the second summary still generates a SummaryFrame
event if it isn't the main summary. So instead of checking on the
SummaryFrame as before, I check the content tree for the main summary by
using the idea in bug 1245424 comment 8. Another reason might be the
potential removal of SummaryFrame in bug 1258657.

MozReview-Commit-ID: H0evZ17zj5k

--HG--
extra : rebase_source : 1aad3ad1d31dc277771013f92eace5cefa7d6112
2016-03-24 15:05:29 +08:00
Xidorn Quan d0fc466aa2 Bug 1258636 part 2 - Use struct to pass params for nsTextFrame::PaintDecorationLine. r=jfkthame
MozReview-Commit-ID: CICgNSPRrLM

--HG--
extra : rebase_source : 2901710ea2806a98b3520dc729c4f4d4ba2d56b2
2016-03-22 17:42:18 +08:00
Xidorn Quan c1a6d087c3 Bug 1258636 part 1 - Use structs to pass params for decoration-related functions in nsCSSRendering. r=jfkthame
MozReview-Commit-ID: 5EJJVmM1pyK

--HG--
extra : rebase_source : 290efcbe41f85fef3a577ff26b4553f195a7fde9
2016-03-22 16:51:15 +08:00
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Mats Palmgren c42a275582 Bug 1258308 - Lookup the frame (continuation) associated with aParentNode/aOffset instead of assuming it's always the primary frame (follow-up from bug 1237236). r=ehsan 2016-03-22 22:49:57 +01:00
Xidorn Quan 60bcaa5c0b Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
MozReview-Commit-ID: 6xrHYbgHGVd

--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan 8acf32453c Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
MozReview-Commit-ID: 4KMLCz6wQHQ

--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Xidorn Quan f4ef02b391 Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
MozReview-Commit-ID: FTJlYS3bbTa

--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Jesse Ruderman 75d474c228 Bug 1233191 part 3 - crashtest. 2016-03-18 19:52:08 +01:00
Mats Palmgren dd08684969 Bug 1233191 part 2 - Remove anon flex item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Mats Palmgren 62b5045e23 Bug 1233191 part 1 - Implement sanity checks on the flex/grid container child frame list. Remove the anon grid item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Kyle Machulis 869a7a0a24 Bug 1171182 - Browser Zoom Query for NPAPI; r=bsmedberg r=jaas 2016-03-18 10:50:50 -07:00
Robert O'Callahan be8e355f36 Bug 1242172. Invalidate intrinsic ISizes that depend on viewport BSize when the viewport is resized. r=dbaron
MozReview-Commit-ID: INEHo7ghGyz
2016-02-29 18:49:34 +13:00
Matt Woodrow dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Kartikaya Gupta 8f157afb9e Bug 1256727 - Don't allow paint-skipping on pages with scroll-linked effects. r=mstange
MozReview-Commit-ID: I05EXDWOt6b
2016-03-17 15:43:17 -04:00
Mats Palmgren 1ef2b15815 Bug 1237236 - When collapsing the selection to the end of textframe that ends in a significant newline then set mHint to CARET_ASSOCIATE_AFTER so that the caret is rendered at the start of the next line if any. r=ehsan 2016-03-17 17:27:56 +01:00
Mike Hommey 0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Markus Stange e41f4e8c1a Bug 1255068 - Do not allow empty transaction transform changes if the scroll position has changed since the last paint. r=kats, r=mattwoodrow
MozReview-Commit-ID: 7exuhuf3HTJ

--HG--
extra : rebase_source : b131cdc68e07ab8dfdc6ae56caa24cc0ced5102e
2016-03-11 16:09:16 -05:00
Kartikaya Gupta 531a753e23 Bug 1255856 - Don't allow paint-skipping if there are windowed plugins on the page. r=mstange,jimm
MozReview-Commit-ID: BzQcUrSqCr5
2016-03-15 15:12:11 -04:00
Chris H-C 550ae0a515 Bug 1249664 - Make stateful frames responsible for their own keys r=dbaron
nsFrameManager::CaptureFrameStateFor generates keys for stateful frames that
only take into account the document and element. This precluded saving pieces
of information coming from different frames responsible for the same element.

MozReview-Commit-ID: 29x3Gj66wAy

--HG--
extra : rebase_source : 9f6fc24ce88009b31dae9fc37bb2187cad8164f2
2016-03-10 10:14:37 -05:00
L. David Baron 19b419056a Bug 1145218 followup - Properly parenthesize macro argument. No review.
MozReview-Commit-ID: EZ5zX4L6z6W
2016-03-14 10:27:05 -07:00
Mats Palmgren 9f5f38e8d7 Bug 1256040 - Follow-up fix for nsGridContainerFrame.h/cpp compile errors in non-unified build. r=me 2016-03-13 09:12:00 -04:00
Mats Palmgren c71ca081ec Bug 1256040 - Bustage fix. r=me 2016-03-13 00:47:41 +01:00
Mats Palmgren 7f3197f8cc Bug 1256040 - Fix some nsGridContainerFrame.h/cpp compile errors in non-unified build. r=dholbert 2016-03-13 00:30:36 +01:00
Kartikaya Gupta b809d22d38 Bug 1255705 - Add some useful logging that can be enabled at compile time. r=botond
MozReview-Commit-ID: KgjQMlY09Mn
2016-03-11 17:42:49 -05:00
Mats Palmgren 3fa78bc392 Bug 1144096 part 25 - [css-grid] Enable fragmentation to occur by reporting our actual reflow status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren 3ab9def464 Bug 1144096 part 24 - [css-grid] Move the child frame merging code at the start of ReflowOverflowContainerChildren into a new method: DrainExcessOverflowContainersList. Make both take a param so that we can override how the OC child lists are merged together (normally just an Append; MergeSortedFrameLists for Grid). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren a808043f13 Bug 1144096 part 23 - [css-grid] A grid container fragment that is an overflow container can't be INCOMPLETE, only OVERFLOW_INCOMPLETE and it should always have zero BSize. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren c46f94cf01 Bug 1144096 part 22 - [css-grid] Check NS_INLINE_IS_BREAK_BEFORE before checking other completion status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren 49b7f696e3 Bug 1144096 part 21 - [css-grid] Deal with dynamically inserted/appended/removed child frames. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren 8a0ee1c101 Bug 1144096 part 20 - [css-grid] Sanity check our child lists before starting a Reflow (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren d44ff85401 Bug 1144096 part 19 - [css-grid] Sanity check the initial child lists we get from the frame constructor (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren 6e7fad07b8 Bug 1144096 part 18 - [css-grid] Fix a couple of bugs in how we handle child existing continuations when pushing/pulling children. r=dholbert
There were two problems in the existing code (which was exposed by tests
that dynamically insert/remove items).  First, the situation when
we have some pushed items two or more fragments away and then pull up
those.  This creates a "hole" in the child next-in-flow chain like so:
grid-container-frag-0
  child1-frag-0
  ...
grid-container-frag-1
  ...
grid-container-frag-2
  child1-frag-1

After we reflow grid-container-frag-0 and it's still incomplete we will
reflow its NIF, grid-container-frag-1, but it will "stall" since it
doesn't have a continuation for child1.  We need to make sure to
always pull up a fragment for that child.  That's what the first hunk
is about in the patch.

Second problem is the opposite problem of pushing a child into a NIF
container that already has an OC child continuation, like so:
grid-container-frag-0
  OverflowList = { child1-frag-0 }
grid-container-frag-1
  OverflowContinuationsList = { child1-frag-1 }

When we reflow grid-container-frag-1 we'll pull in child1-frag-0
like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  OverflowContinuationsList = { child1-frag-1 }

This is bad since we'll consume BSize twice here.  The fix is
to move it our ExcessOverflowContinuationsList instead, like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  ExcessOverflowContinuationsList = { child1-frag-1 }

That's what the second hunk in this patch does.
2016-03-11 17:39:27 +01:00
Mats Palmgren 703a970a1e Bug 1144096 part 17 - [css-grid] Add helper methods that add a sorted list of child frames to the Overflow and ExcessOverflowContainers child lists. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren f68bdee058 Bug 1144096 part 16 - [css-grid] Implement fragmentation. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren 29fbc46336 Bug 1144096 part 15 - [css-grid] Compute our pre-reflow logical skip sides and cache the result of ComputedLogicalBorderPadding() with that applied. r=dholbert
Our "pre-reflow logical skip sides" assumes each fragment will be
the last and have a block-end border.  We then skip the block-end
side at the end of Reflow if we're INCOMPLETE.  This simplifies
the logic that checks how many rows fits in this fragment.
2016-03-11 17:39:26 +01:00
Mats Palmgren bbd8687f0d Bug 1144096 part 14 - [css-grid] Make ReflowInFlowChild() deal with a constrained available block-size. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 1dbca39b11 Bug 1144096 part 13 - [css-grid] Refactor ReflowChildren() by separating out the code that reflows normal flow children (grid items and placeholders) into a new method ReflowInFlowChild(). r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 7b283c23f7 Bug 1144096 part 12 - [css-grid] Collect and merge child frames we need for reflow. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 89b3d6e845 Bug 1144096 part 11 - [css-grid] Add a GetNearestFragmentainer() method that collects some data from the nearest enclosing fragmentainer needed for fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren db2d3d747c Bug 1144096 part 10 - [css-grid] Add a few helper methods to do a break before a row, and resize a row. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 7967ec17ab Bug 1144096 part 9 - [css-grid] Create a SharedGridData object owned by the first-in-flow Grid container to share state between its continuations. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 12979e91f6 Bug 1144096 part 8 - [css-grid] Add a new state flag, eBreakBefore, to record where breaks occur between tracks. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 9ea79df69f Bug 1144096 part 6 - [css-grid] Add support for creating Grid container continuations and deal with overflow containers. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 485174bd17 Bug 1144096 part 5 - [css-grid] Create a couple of Grid container frame bits. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 788aa99a4a Bug 1144096 part 4 - [css-grid] Move more local nsGridContainerFrame classes into .cpp file. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 1235d41a20 Bug 1144096 part 3 - [css-grid] Remove CellMap::ClearOccupied() since it's not needed anymore. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 44db3be14e Bug 1144096 part 2 - [css-grid] Make GridItemInfo::mFrame available also in non-DEBUG builds since we'll need it to support fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren 5d62d81f90 Bug 1144096 part 1 - [css-grid] Refactor nsGridContainerFrame state and methods. r=dholbert 2016-03-11 17:39:25 +01:00
Carsten "Tomcat" Book e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Seth Fowler c963068948 Bug 1255362 - Null-check GetContainer() before using it in image-related ConfigureLayer() methods. r=mstange a=Tomcat 2016-03-11 15:12:07 +08:00
Kartikaya Gupta a8f43cb473 Bug 1253860 - Don't update the scrollbar unless we're actually painting. r=mstange
MozReview-Commit-ID: 3JIcp2NFwRn
2016-03-09 22:57:15 -05:00
Kartikaya Gupta 2c7a5f6eaf Bug 1253860 - Skip paints for main thread scrolls if we can ask APZ to handle the scrolling for us. r=mstange
MozReview-Commit-ID: LqugzganLru
2016-03-09 22:57:15 -05:00
Kartikaya Gupta 0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Matt Woodrow 6ff9f85978 Bug 1220466 - Don't build event region display items for pseudo stacking contexts, unless they are also an AGR. r=mstange 2016-03-10 13:55:00 +13:00
Tobias Schneider 6b4432e4a6 Bug 1250674 - Don't print header/footer if larger than user defined margins. r=dbaron
--HG--
extra : rebase_source : 778ef2680cd72a5aa0056861f0d9214de698e78d
2016-02-23 13:55:00 -05:00
Shih-Chiang Chien d06a3c964a Bug 1255262 - convert test_selection_preventDefault.html to mochitest. r=smaug.
MozReview-Commit-ID: IPZKEA6082n

--HG--
extra : rebase_source : 47761c512e502cf8e0c73f3b9e03699e33f6b35d
2016-03-10 11:11:41 +08:00
Kyle Machulis fde34a472d Backout 6397f46b0628 and c6be87916507 (Bug 1171182) due to windows mochitest failures 2016-03-09 14:49:39 -08:00
Kartikaya Gupta 30f39f0a24 Bug 1205473 - Add a state bit to optimize building event regions. r=mattwoodrow
MozReview-Commit-ID: CPSgChJc92L
2016-03-09 17:29:41 -05:00
Ehsan Akhgari 9a3b4db938 Bug 1254991 - Port test_bug348681.html to mochitest-plain so that it runs under e10s; r=mrbkap 2016-03-09 16:41:51 -05:00
Kyle Machulis 75e71bb508 Bug 1171182 - CSS Zoom Query for NPAPI; r=jaas r=bsmedberg 2016-03-09 11:55:21 -08:00
Brian Birtles 065446fdcd Bug 1239945 part 7 - Move GetAnimationCollection to AnimationCollection; r=dholbert
By moving GetAnimationCollection to AnimationCollection itself, we can remove
a bunch of virtual methods on the animation managers, simplify call sites,
and provide better type safety by ensuring a correspondence between element
property names and concrete animation types.

One change in behavior, however, is that in doing this we can no longer
add any newly-created AnimationCollection to the corresponding manager's linked
list of collections inside GetAnimationCollection. Instead we take a bool
outparam to indicate if a new collection was created and leave managing the
linked list to the manager. This is just a temporary measure, however, since
by the end of this patch series will will eliminate this linked list altogether
along with this flag.

MozReview-Commit-ID: 1jsc4QcmVDg
2016-03-09 12:55:39 +09:00
Brian Birtles dd4f27f03e Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.

This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.

In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.

CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.

MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
Markus Stange 08e56286e7 Bug 1248913 - Build nsDisplayBlendMode items for background-blend-mode. r=mattwoodrow
MozReview-Commit-ID: 72IzlcgHFtd

--HG--
extra : rebase_source : fdc3fd31176e1177e04b224c9206858437ef7806
2016-03-08 14:22:36 -05:00
Markus Stange 5485807971 Bug 1248913 - Rename nsDisplayMixBlendMode to nsDisplayBlendMode. r=mattwoodrow
We're going to use it both for background-blend-mode and for mix-blend-mode.

MozReview-Commit-ID: 6zKCDSkLspc

--HG--
extra : rebase_source : 81b4691d2b74e56c634bdf08f85636ba2abbf486
2016-03-05 17:04:02 -05:00
Markus Stange 14975d0ba1 Bug 1248913 - Add a constructor argument to nsDisplayMixBlendMode that lets you specify the blend mode. r=mattwoodrow
MozReview-Commit-ID: 9MqjLKjRmeh

--HG--
extra : rebase_source : 11ebc2d8fa1939ba079bdf09e916d3da1e68d6d7
2016-03-05 16:39:25 -05:00
Markus Stange cd7fa4800f Bug 1248913 - nsDisplayListBuilder doesn't need to know what blend modes it contains, just whether it contains any. r=mattwoodrow
MozReview-Commit-ID: 5yQcGnXBKKp

--HG--
extra : rebase_source : 176c96a0b5d67a539e8f7e0c72e4ee541cbf1686
2016-03-05 12:46:14 -05:00
Nathan Froyd 777c075f0e Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu 2015-12-05 11:03:27 -05:00
Markus Stange 57c501e338 Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow
MozReview-Commit-ID: BgySqVGG43R

--HG--
extra : rebase_source : 752d726fbc238b783b8e41b7bcd2b6735c4d3739
extra : histedit_source : 0684a2b440de008fb24c7f82b270b9d69b6d77c5
2016-03-05 11:27:54 -05:00
Markus Stange 668ec29ed6 Bug 1238564 - When building a fixed/sticky display item, don't restore the clip until we're ready to build that item so that inner items aren't unnecessarily clipped. r=roc
This isn't really about regular clips, it's about scroll clips. If the inner
item has an unnecessary scroll clip (one that's already on the parent), this can
cause the inner item's bounds to be larger than necessary because, after the
first patch in bug 1238564, it will include the whole bounds of async-scrollable
scroll frames.
Also, if e.g. the inner item is an opacity item, and it has a scroll clip that's
not just the innermost ancestor scroll clip of all of its children, then
FrameLayerBuilder's mContainerBounds == mAccumulatedChildBounds assertion can
fail if the opacity item gets flattened away, because the child bounds won't
have been enlarged for the scroll clip.

There must be a better way to do the clip resetting in
nsFrame::BuildDisplayListForStackingContext - the code is not pretty at all.
But I'd rather get the tests passing first before we figure out how to clean it
up.

MozReview-Commit-ID: E1DdpN546va

--HG--
extra : rebase_source : ecf4774a47978fb0aa5ebde9346cf464ebc60ab6
extra : histedit_source : 9395ca5f74413d887df3b7fa54cad726742dca30
2016-02-23 18:22:21 +01:00
Markus Stange 0636b4dae1 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa

--HG--
extra : rebase_source : e570f16ecedd80cba16051f0e1ac66764bc95815
extra : histedit_source : fcfbcbc254aaf93594d9d80c117d6ec945805993
2016-03-04 15:05:58 -05:00
Markus Stange fe4bbe304b Bug 1238564 - Anticipate async scrolling when computing the scroll clipped bounds of a display list. r=roc
This makes sure that for example the bounds of an opacity item are not empty if
the opacity item contains a scroll frame whose contents are currently scrolled
offscreen but still inside that scroll frame's display port.

On its own, this changeset causes test failures due to missed optimizations
because the bounds of many opacity items are now too large. That's because of
the way we're setting scroll clips on opacity items at the moment: Even if the
opacity is inside a scroll frame, we're currently only setting that scroll
frame's scroll clip on the opacity item's contents, not on the opacity item
itself, because the opacity item might also contain other items that are not
scrolled by this scroll frame.
The next patch in this bug will make us only do that when necessary.

MozReview-Commit-ID: 9TtcJ7eQE7U

--HG--
extra : rebase_source : 51cab60bd27e1a7e3c2d6b8d791b79fe3b3baa94
extra : histedit_source : ba421898e442d08f7f711d13f71a693c34d908bb
2016-02-22 16:17:16 +01:00
Sebastian Hengst c3651e35dd Backed out changeset 3ad367f04970 (bug 1242781) for reftest failures. r=backout 2016-03-08 12:43:19 +01:00
Shing Lyu 0fc7aee5e1 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Sebastian Hengst 6c3f333103 Backed out changeset 2bd6d33ad128 (bug 1242781) for reftest failures. r=backout 2016-03-08 10:48:15 +01:00
Shing Lyu 4099eeaee2 Bug 1242781 - Add 1 appunit in BRFrame::AddInlinePrefISize to match the 1 appunit added during reflow. r=dbaron 2016-03-08 16:06:50 +08:00
Xidorn Quan b022cd37f8 Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
MozReview-Commit-ID: 5Wa9U0Ile4L

--HG--
extra : source : 95464b236e0e5c52495445a94301791a25668094
2016-03-08 15:56:18 +08:00
Xidorn Quan 40f8859cc1 Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
MozReview-Commit-ID: NTEUm8TY8N

--HG--
extra : source : d1f1d14ddf9df26f07a28a36e54216b8ad6ff5fb
2016-03-08 15:56:18 +08:00
Xidorn Quan e1002ffcb3 Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
MozReview-Commit-ID: BK7j6y7lBV3

--HG--
extra : source : 4403438493793ddfa7356cab2438d050f8a66da1
2016-03-08 15:56:18 +08:00
Xidorn Quan 8ade98d572 Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
MozReview-Commit-ID: LYshkPDrqYl

--HG--
extra : source : 5de24f7944a12e0d20ca83b4b2eceeaf56fc5efd
2016-03-08 15:56:18 +08:00
Xidorn Quan 1a5d64446b Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan ab357753a9 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
Seth Fowler f5a0ea9226 Bug 1251804 - Use the ImageContainer's size and not the intrinsic size when computing the transform in nsDisplayImage::ConfigureLayer. r=tn
--HG--
extra : rebase_source : df3cfd946dd08a67284d0091b1b7ce0131fff47e
2016-03-07 17:06:04 -08:00
Wes Kocher e555862651 Followup to bug 1225005 to adjust assertion expectations for android r=me a=me CLOSED TREE
MozReview-Commit-ID: KEMYMak6ZsF


MozReview-Commit-ID: 6Cpqku0vonY

--HG--
extra : source : 9a446438d3a4e9279b776d3e296e7a7209acab77
extra : histedit_source : 1a9ba250a6f280a9e797cd4138387bf58519fd8c%2Cedeb86a13a12327a35c879ec08487ba275bfe113
2016-03-07 17:04:03 -08:00
Kartikaya Gupta b107477fd5 Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
MozReview-Commit-ID: 4bgvqEZcSWy

--HG--
extra : rebase_source : 3aafaffa34b9e7afba81bbec52793eedb8f425ac
2016-03-07 16:25:00 -05:00
Jonathan Watt 3032d8365b Bug 1253094, part 5 - Stop using DebugOnly for class/struct members in layout/. r=mats
MozReview-Commit-ID: 3a49kqA4A9
2016-02-26 15:52:07 +00:00
Carsten "Tomcat" Book 41a0c1ddb8 Backed out changeset d88221aad093 (bug 1251995) for reftest failures 2016-03-07 12:18:40 +01:00
Carsten "Tomcat" Book b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Carsten "Tomcat" Book 1d0a6281ac Backed out changeset 3f9fbbef0294 (bug 1251995) 2016-03-07 12:18:17 +01:00
Carsten "Tomcat" Book f30e50acc7 Backed out changeset 9b31d6fb1fcb (bug 1251995) 2016-03-07 12:18:16 +01:00
Carsten "Tomcat" Book 26ad32ef03 Backed out changeset ac1d42c669be (bug 1251995) 2016-03-07 12:18:14 +01:00
Carsten "Tomcat" Book cf20e3d145 Backed out changeset c36e12ded845 (bug 1251995) 2016-03-07 12:18:13 +01:00
Carsten "Tomcat" Book 128137c7a9 Backed out changeset 734559c25cb1 (bug 1251995) 2016-03-07 12:18:11 +01:00
Xidorn Quan e64f114346 Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
MozReview-Commit-ID: 5Wa9U0Ile4L

--HG--
extra : rebase_source : a568bb94fd7d51ed5308e2a1e13c308b67b143f2
2016-03-02 09:41:43 +08:00
Xidorn Quan a6408cb861 Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
MozReview-Commit-ID: NTEUm8TY8N

--HG--
extra : rebase_source : 134dd6abcb3cbc61f61b9466be5675b1a0436684
2016-03-01 17:43:06 +08:00
Xidorn Quan 0a4c762195 Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
MozReview-Commit-ID: BK7j6y7lBV3

--HG--
extra : rebase_source : 38b5544d3e572927b64d8066a61bfa9711400199
2016-03-01 16:28:27 +08:00
Xidorn Quan 0f327ddc56 Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
MozReview-Commit-ID: LYshkPDrqYl

--HG--
extra : rebase_source : 9047819828a41df693fe9e8c663bd2113644ae7a
2016-03-02 13:27:17 +08:00
Xidorn Quan 11bea4b5a2 Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : rebase_source : de01c02d3baf3e8c648d6301bd6ff283d76ae212
2016-02-29 19:06:05 +08:00
Xidorn Quan 8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
Xidorn Quan 5b1f34e2f6 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : rebase_source : e967015366b727f199fe3febedc70f1f43f19725
2016-03-04 19:20:43 +08:00
Mats Palmgren 3078b89191 Bug 1225005 - Clamp negative values in containing block size. r=roc 2016-03-02 23:39:34 +01:00
Mats Palmgren ed62d7ab53 Bug 1251999 - [css-grid] Update <fixed-size> parsing to the latest spec. r=dholbert 2016-03-02 23:39:34 +01:00
Mats Palmgren f3bc22c342 Bug 1249913 - True overflow containers shouldn't have borders or background. r=dholbert 2016-03-02 23:39:34 +01:00
Jim Mathies 744331de7b Bug 1232181 - Add an image layer for plugin frames that represent windowed plugins on platforms that support scroll capture. r=roc 2016-03-01 12:48:26 -06:00
Jim Mathies e1dc9da3f2 Bug 1232181 - Notify plugins about scroll state. r=roc 2016-03-01 12:48:26 -06:00
Botond Ballo cb9e347c28 Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
Kartikaya Gupta d9094aa96a Back out cset 447498cdecee for landing the wrong patch (it was obsoleted by a new one).
MozReview-Commit-ID: HOLKux4OtCQ
2016-03-01 09:38:55 -05:00
Botond Ballo 5b55c16a8a Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
Gregory Szorc 57bde8258a Bug 1244006 - Use const instead of MOZ_CONSTEXPR to avoid startup crash; r=dbaron
PGO builds on Visual Studio 2015 Update 1 did not take kindly to
MOZ_CONSTEXPR in this file, causing a startup crash (for reasons
I can't explain). Switching to literal "const" makes the crash
go away.

MozReview-Commit-ID: K1A43NIa6lG

--HG--
extra : rebase_source : 16c57ae79cb642b5d2945425144c726c119371b4
2016-02-29 18:20:07 -08:00
Jamie Nicol 609f6141ab Bug 1247098 - Take document resolution into account when computing root composition bounds for displayport base. r=tnikkel
nsLayoutUtils::CalculateCompositionSizeForFrame() is not affected by the
document resolution when called for the root content document's root
scroll frame. When determining the root composition bounds in order to
calculate a displayport base, if the frame used is the RCD-RSF we must
be sure to scale the bounds ourselves by the document resolution.

MozReview-Commit-ID: ATctmEYvWIJ

--HG--
extra : rebase_source : ba96e7ecc2cefdbeacb08fbd3f5817819dd933c8
2016-02-24 15:30:10 +00:00
David Anderson 4de734947b Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange) 2016-02-23 10:11:43 -08:00
Alexander Surkov d26328b368 Bug 1250333 - do not create accessibles for trailing BRs, r=davidb, roc 2016-02-25 07:09:59 -05:00
Cameron McCormack 89cac5abd1 Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack 736a5f47e7 Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Wes Kocher a9ea5f6a56 Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)

--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson 6fba740086 Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange)
--HG--
extra : rebase_source : 004d42f760364cd18e16125fb04f5d22cba2d648
2016-02-23 10:11:43 -08:00
Kartikaya Gupta bbc14f488b Bug 1243267 - Guard against reentrancy into the dispatch of a scroll event. r=mats
MozReview-Commit-ID: 5saxPwxOuc8
2016-02-22 14:14:20 -05:00
Boris Chiou e436478f26 Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
Also, try to use forward declaraions for CSSPseudoElementType;

--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou 185a769719 Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Jonathan Kew ed3d3edf14 Bug 1248128 - The fallback caret-move handling from bug 1153237 should be more selective to avoid undesired side-effects. r=roc 2016-02-17 12:05:10 +00:00
Jamie Nicol 7a3d99d8ca Bug 1246443 - Only restrict displayport base to root composition bounds if content has displayport; r=tnikkel
Bug 1241917 made it so that a subframe's displayport base is restricted
to the root composition bounds (in addition to its previous
restrictions). This involved an expensive coordinate transformation
causing a scrolling performance regression.

This avoids restricting the displayport base to the root composition
bounds unless the frame has a display port, avoiding the expensive
computation unless necessary.

MozReview-Commit-ID: FVacUscAfu2

--HG--
extra : transplant_source : %F9%E9%19%06/%9C%EA%8C%D1%D5%BD%ED%26C%97y%15%92%7E%CB
2016-02-09 13:53:27 +00:00
Botond Ballo 45d03919dc Bug 1238137 - Telemetry pings for main thread scrolling to bring the caret into view after moving it in response to keyboard input. r=ehsan
--HG--
extra : commitid : 6E0SPxaKbMl
extra : rebase_source : ca82cafc8b462318ffc5030319546731d9e7a540
extra : histedit_source : 63c1e103a3aaf2ce340b1b4f2276763c16ac2237
2016-02-03 20:36:24 -05:00
Botond Ballo 51957870b3 Bug 1238137 - Telemetry pings for main thread keyboard-driven scroll input methods. r=ehsan
Pings are sent in the implementations of the nsISelectionController methods
ScrollLine, ScrollPage, ScrollCharacter, and CompleteScroll. It is assumed
that these methods are triggered by keyboard input.

A small number of false positives can occur if these methods are called
in response to something other than keyboard input; this is considered
acceptable.

--HG--
extra : commitid : JDXW8ptuXkF
extra : rebase_source : c45fe2b16484ad370edb852d8eafbc76ca7d0bac
extra : amend_source : b4af21228768221211a42c11a2ff306a6f2bb402
extra : histedit_source : 7cdc4b4df3579682fad194ddfc04c7a5d02c0d3e
2016-02-03 19:51:03 -05:00
Jamie Nicol bf038be32c Bug 1241078 - Only treat items as backface hidden if they are 3D-transformed. r=tlee
Add helper function nsIFrame::In3DContextAndBackfaceIsHidden() which
checks both if a frame is backface-hidden and whether it is within a
3D-transform context.

In FrameLayerBuilder, check this function rather than BackfaceIsHidden()
to determine whether a frame needs a backface-hidden layer. This will
avoid creating unnecessary extra layers for non-3d-transformed items
which for some reason have backface-hidden set.
2016-02-08 22:34:13 +00:00
Matt Woodrow 04f750f035 Bug 1245450 - Only setup AutoSaveRestorePerspectiveIndex for the descendants of the element with perspective. r=roc 2016-02-15 23:21:52 +13:00
Mats Palmgren fad51b17d9 Bug 1216001 part 3 - Cache the result of IsSelected() for the duration of painting. r=bz 2016-02-13 18:40:23 +01:00
Timothy Nikkel 43cf2abd48 Bug 1246443. Don't make nsLayoutUtils::MaybeCreateDisplayPort also set the displayport base anymore. r=botond
It's not obvious that it does this (unless you read the comment or the code), and we don't gain much by doing it.

Also we need to split it up for the next patch in this bug.
2016-02-12 16:58:34 -06:00
kearwood b1d8c6f915 Bug 1247082 - Suppress rendering of nsBackdropFrame for VR content r=dholbert
- The VR specific render path in ContainerLayerComposite does not
  handle nsBackdropFrame correctly, resulting in a alternate frame
  strobing effect in the Oculus Headset.  As VR content is composed
  of a Canvas element that is scaled to the extents of the surface,
  the backdrop would otherwise not have an effect for VR content,
  which means we can simply suppress the backdrop.

MozReview-Commit-ID: 3bCTOApiH8E

--HG--
extra : rebase_source : 015e15dee2ac3235e1e571642d3988b66b97dfd1
2016-02-12 11:14:05 -08:00
Phil Ringnalda 9d0e08b626 Back out 3 changesets (bug 1216001) for Win8 reftest failures in 1193519-sideways-lr-3.html and 1193519-sideways-lr-4.html and intermittent OS X failures in font-display-2.html
CLOSED TREE

Backed out changeset dbadb8fe5803 (bug 1216001)
Backed out changeset a30593ebd58e (bug 1216001)
Backed out changeset c1646ffa71b4 (bug 1216001)
2016-02-11 20:43:41 -08:00
Mats Palmgren 109f95dbe7 Bug 1216001 part 3 - Cache the result of IsSelected() for the duration of painting. r=bz 2016-02-12 02:13:57 +01:00
Matt Woodrow 5562523a43 Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc 2016-02-12 00:18:55 +13:00
Kartikaya Gupta 2970550b4e Bug 1245925 - Don't allow expiring the displayport on root scrollframes. r=tnikkel
MozReview-Commit-ID: 8LGsk9uKyL5

--HG--
extra : rebase_source : 9edf7c6a4ce795da670f1ad06c8f86f9f05e4850
2016-02-10 17:11:28 -05:00
Kartikaya Gupta 7c935ef5ba Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Jet Villegas 09b44a7efc Bug 974309: Fixes the IsEditable() logic for table cells. r=ehsan 2016-02-09 14:06:03 -08:00
Mats Palmgren b0439e98c3 Bug 1246405 - Declare mTextRun earlier to avoid alignment spill on 64-bit architectures. r=roc 2016-02-08 17:35:01 +01:00
Ting-Yu Lin d6a5df3abe Bug 1225752 - Localize the description of default summary. r=bz
--HG--
extra : commitid : 1fzJyvyuijQ
extra : rebase_source : ec39cfe4c4a147aaaa455071b9b70f008d5fbfe2
2016-02-04 01:48:00 +08:00
Matt Woodrow 7cd754d8cf Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-07 23:51:11 +13:00
Phil Ringnalda ec6b8aac53 Back out e751d638ab4b (bug 1229317) for reftest "Assertion failure: oldState < kReadMax" and crashes
CLOSED TREE
2016-02-05 22:42:55 -08:00
Matt Woodrow 8857b37db9 Bug 1229317 - Allow preserve-3d and opacity to be combined on the root element of a preserve-3d chain. r=roc 2016-02-06 17:57:34 +13:00
Thinker K.F. Li 94e1db456d Bug 1243282 - Wrap items having clips with a separator. r=mattwoodrow 2016-02-06 17:55:59 +13:00
Karl Dubost 371b14248e Bug 812899 part 3 - Make vertical 'auto' margins on absolutely positioned elements always center, even when the margins are negative. r=dbaron 2015-12-03 14:24:00 +09:00
Kartikaya Gupta b8b52c6f30 Bug 1104356 - When doing a smooth scroll on a non-APZ'd scrollframe, fall back to the main thread machinery. r=kip
--HG--
extra : commitid : K1IT8lsDmNl
2016-02-05 17:09:30 -05:00
Jamie Nicol d412b3daee Bug 1241917 - Restrict subframe's displayport base to root composition bounds. r=tn
Previously displayport bases were computed as the intersection of the
scrollport with the dirtyrect. However the dirtyrect covers what is
rendered, and with displayports what we render can be much larger than
what is visible. With displayport bases intended to represent what was
visible, this was a problem. By restricting them to the root composition
size this makes them more closely match what is visible. To do this more
properly we'd want to intersect the dirtyrect with the scroll clip of
every ancestor scroll frame, not just the root composition bounds.
2016-02-04 17:53:56 +00:00
Geoff Brown b058b9b1f2 Bug 1245634 - Skip layout/generic/crashtests/730559.html on Android Debug only, for being too slow; r=me 2016-02-04 07:37:20 -07:00
Ting-Yu Lin 1e5d352993 Bug 591737 - Add pref for details and summary elements. r=bz
--HG--
extra : commitid : C40ecHqSxrO
extra : rebase_source : 937479989a52b57f3dec07a74dd9dad17ff69db7
2016-01-20 23:20:43 +08:00
Ting-Yu Lin 01065150c0 Bug 591737 - Add crashtest for details and summary. r=bz
--HG--
extra : commitid : DoO0dxy1ehj
extra : rebase_source : c49a244cc8ce1326b114af62c720a57d0589d836
2016-01-20 23:20:42 +08:00
Ting-Yu Lin fd982b69ea Bug 591737 - Provide a default summary element by DetailsFrame. r=bz
If a <details> lacks a direct <summary> child, we need to construct a
default one.

--HG--
extra : commitid : ApnP20Mrr33
extra : rebase_source : 4b059f4e7fa32bac665487aa8a266ba58597b184
2016-01-20 23:20:41 +08:00
Ting-Yu Lin ea65853708 Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz
--HG--
extra : commitid : 7tnA5fqdD6L
extra : rebase_source : 452368859fb99183605edcf47fd48ff026bf3a50
2016-02-02 17:39:49 +08:00
Ting-Yu Lin 802d6dee0d Bug 591737 - Add SummaryFrame. r=bz
--HG--
extra : commitid : 61ZPHBOWyKH
extra : rebase_source : 860919e85da1fc1593f084dcc1e011e1e6cddba3
2016-02-02 17:39:06 +08:00
Ting-Yu Lin cff36a1352 Bug 591737 - Add DetailsFrame. r=bz
--HG--
extra : commitid : C6hHNXWpwO8
extra : rebase_source : 47b37776c4f029879bd02c0477e885104b2aaed5
2016-01-20 23:20:41 +08:00
Kartikaya Gupta 866dc20488 Bug 990916 - On displayport expiry, trigger another round of expiry up the ancestor chain. r=tnikkel
--HG--
extra : commitid : 4BykN0L0DC3
2016-02-03 19:13:35 -05:00
Kartikaya Gupta e7dd4d9941 Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel
--HG--
extra : commitid : 4u7JlPJLoFT
2016-02-03 19:13:35 -05:00
Kartikaya Gupta 34bce5bee6 Bug 990916 - Track if a scrollframe is a scroll parent for something else. r=tnikkel
--HG--
extra : commitid : KW9mVVtZikZ
2016-02-03 19:13:35 -05:00
L. David Baron c91a009cc5 Bug 823483 patch 2 - Add frame state bit to indicate frame classes that do replaced-element-like sizing. r=dholbert
This is needed for patch 3.

--HG--
extra : commitid : 6131XNAfYoQ
2016-02-04 09:43:02 +11:00
L. David Baron 82aa75776d Bug 1236745 - Fix infinite loop resulting from block formatting context entering resize oscillation due to considering floats over its whole height when sizing it. r=dholbert
What's happening here is that we enter an infinite loop by oscillating
between two states.  The code assumes that (a) the available space will
never grow, only stay the same or shrink, and (b) that we should break
out of the loop if it stays the same.  This also means we hit the
assertion about the available space growing every other time through the
loop.

This is in the inner loop in nsBlockFrame::ReflowBlockFrame that was
introduced in https://hg.mozilla.org/mozilla-central/rev/80ef9bb2c2e9 .

The problem is fundamentally a logic error in that code.  The makes the
assumption that if you reduce the width available to a block formatting
context or replaced block-level element, its height does not shrink.
(The "replaced block" (really block formatting context) in this case, as
in the original testcase, is a scroll frame.  I didn't debug the
original testcase enough to figure out what caused its sizing
characteristics, although a percentage-width image does seem like the
most likely candidate.)

Without the patch, the reftest test (but not reference) hangs, as does
the semi-simplified test in the bug (given a narrow window).

With the patch, neither the semi-simplified test in the bug nor the
reference hangs, and the reftest passes.

--HG--
extra : commitid : APy8PfXlvvz
2016-02-04 09:41:44 +11:00
Daniel Holbert 09939ec3c9 Bug 1245406: In ReflowBlockFrame, use Maybe<> to destroy & reconstruct a stack-allocated object, instead of an explicit call to destructor & placement 'new'. r=dbaron 2016-02-03 12:37:23 -08:00
Jonathan Kew a2574a52b6 Bug 1243125 - patch 2 - Don't ever set NS_FRAME_TRUNCATED for orthogonal flows. r=dholbert 2016-02-03 09:24:28 +00:00
Oriol 4fcfda5536 Bug 1243125 - patch 1 - Check block size instead of height when detecting truncated frames. r=jfkthame 2016-02-03 09:24:26 +00:00
Jonathan Kew cb9de60a4d Bug 1243125 - patch 0 - Relax overly-harsh writing mode assertions in nsReflowMetrics size accessors. r=dholbert 2016-02-03 09:24:24 +00:00
Timothy Nikkel a1bd256618 Bug 1238337. If the intrinsic size of the image hasn't changed then we don't need to do a new predictive image decode. r=mats
nsImageFrame::OnSizeAvailable will update the intrinsic ratio and ask for a reflow. Then nsImageFrame::NotifyNewCurrentRequest will be called when the image is finished loading. It previously would do a predictive decode if the intrinsic size hadn't changed.

This was a mistake in http://hg.mozilla.org/mozilla-central/rev/146f1bea4147 (bug 1151359).

OnSizeAvailable has this structure:

  if (intrinsicSizeChanged && gotInitialReflow) {
    if (!sizeConstrained) {
      requestReflow();
    }
  }

NotifyNewCurrentRequest has this structure:

  if (gotInitialReflow) {
    if (!sizeConstrained && intrinsicSizeChanged) {
      requestReflow();
    }
  }

Bug 1151359 added a predictive decode in a new else branch to both inner if statements. The meaning of this is obviously quite different.
2016-02-02 16:51:52 -06:00
Tobias Schneider f19e21de56 Bug 1207914: Add some debug logging to mochitest test_bug632379.xul, to help diagnose its timeouts. 2016-01-20 10:09:05 -08:00
Birunthan Mohanathas e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas 690e6fe38b Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Jim Mathies 7adc2da448 Bug 1243413 - Avoid hiding windowed plugins that aren't contained within the active scroll frame. r=roc 2016-02-01 16:50:57 -06:00
Alexander Surkov 08db3d66c1 Bug 1220502 - ignore not visible text nodes for tree update, r=tbsaunde, roc 2016-02-01 17:05:45 -05:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 720fce4f80 Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ting-Yu Lin 2f7ddb73d6 Bug 1227927 Part 4 - Add comment to nsFrameList::GetLength() to warn it's O(n). r=mats
--HG--
extra : commitid : H0nct5arwsJ
extra : rebase_source : c6810483931d49f730618815642e8a582c26e35f
2016-01-29 22:42:15 +08:00
Ting-Yu Lin 2d02ad0652 Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Ting-Yu Lin 0721bc459e Bug 1227927 Part 1 - Make nsIFrame::PrincipalChildList a const function. r=bz
Since nsIFrame::GetChildList() is a const function, PrincipalChildList()
should be a const function as well.

--HG--
extra : commitid : Hjvhy6cUWTF
extra : rebase_source : 0a998e5420b81827e478b403744cd9e5a11eb584
2016-01-29 22:42:13 +08:00
CJKu 7b577b9c98 Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron 2016-01-28 06:39:00 +01:00
CJKu 577578571f Bug 686281 - Implement CSS mask style; r=dbaron. 2016-01-28 06:28:00 +01:00
CJKu 538b854ad1 Bug 686281 - Rename *background* to *imagelayer*; r=dbaron. 2016-01-28 06:27:00 +01:00
CJKu 2d363d1b79 Bug 686281 - Implement nsStyleImageLayers; r=dbaron 2016-01-28 06:24:00 +01:00
Xidorn Quan 00b4af1798 Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
--HG--
extra : source : 19140dd4f1640c4600a0f9e0ff790b44f0cd83ca
2016-01-28 14:23:59 +11:00
Xidorn Quan d0bf371cc8 Bug 1230034 part 9 - Convert FrameLayerBuilder::LayerManagerDataProperty to be typed. r=dbaron
--HG--
extra : source : 3f863ed01beb63fa8bd5d09e9d3e4afa98ad4924
2016-01-28 14:23:59 +11:00
Xidorn Quan 55a9f1daba Bug 1230034 part 8 - Convert frame properties which assert on destructor to be typed. r=dbaron
--HG--
extra : source : a650ac35ed4ef4c247369b4dc54b741d92e3c779
2016-01-28 14:23:59 +11:00
Xidorn Quan a6ceca05bd Bug 1230034 part 7 - Convert nsIFrame::GenConProperty to be typed. r=dbaron
--HG--
extra : source : 5c803eae9303a390034dea7878beb48e6ffafbe2
2016-01-28 14:23:59 +11:00
Xidorn Quan 072dccd81f Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Xidorn Quan e397870be2 Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.

Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.

--HG--
extra : source : 808415985d3d446f18941eb007a9be9d69d180ce
2016-01-28 14:23:59 +11:00
Xidorn Quan 6ad1442a53 Bug 1230034 part 4 - Make FramePropertyDescriptor to be a template. r=froydnj,dbaron
This patch makes methods of FramePropertyTable and FrameProperties to be
simple template wrapper functions. Then it converts all references to
FramePropertyDescriptor to use "void" parameter to simulate the current
unsafe behavior.

SmallValueHolder is used for storing small values like int32_t, float,
which can fit in the size of a pointer directly, and thus no lifetime
management is needed.

--HG--
extra : source : 88b2723cddf119d73d8a442d8238b50406e9d604
2016-01-28 14:23:59 +11:00
Xidorn Quan 0b71314608 Bug 1230034 part 3 - Move some frame property declaration around. r=dbaron
--HG--
extra : source : d67dd26db9f0349d2e8ef71f8def9fad7856fe1e
2016-01-28 14:23:59 +11:00
Xidorn Quan 5832852fe0 Bug 1230034 part 1 - Remove NS_PROPERTY_DESCRIPTOR_CONST macro. r=dbaron
--HG--
extra : source : c5315005ec8f37968befb72cade91c1fe9f9a1da
2016-01-28 14:23:59 +11:00
Xidorn Quan 3006d3929b Bug 1064843 part 10 - Create and render backdrop frame for top layer frames. r=dbaron
--HG--
extra : source : 744e89b823a925df685d4d5e94b5e2bec4bedd6f
2016-01-28 10:11:00 +11:00
Xidorn Quan 3d1329f21c Bug 1064843 part 8 - Add frame class for backdrop frame. r=dbaron
--HG--
extra : source : 2418fec124dddb2268e7118e36d002904a1ede34
2016-01-28 10:11:00 +11:00
Xidorn Quan 3b95c44999 Bug 1064843 part 6 - Add backdrop frame list. r=dholbert
--HG--
extra : source : 695a16ba1cbb4e0e4f0a7e6b8ebf5c55ec62dab5
2016-01-28 10:11:00 +11:00
Xidorn Quan ab931a1326 Bug 1064843 part 5 - Ensure frames behave properly for unknown child list id passed into SetInitialChildList. r=dholbert
Note that nsMathMLContainerFrame and its subclasses are unchanged since
they are not target of fullscreen (and thus no backdrop frame), and they
have an assertion to ensure we really don't pass any unexpected list in.

--HG--
extra : source : a1f7ff18a69cc116120de33f14ae62f576a4b55a
2016-01-28 10:11:00 +11:00
Xidorn Quan 0dfd29d523 Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
--HG--
extra : source : 6a8aceee1829e243331cdf375163ae2696824a94
2016-01-28 10:11:00 +11:00
Xidorn Quan 51ff9057c4 Bug 1064843 part 3 - Make nsFormControlFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : 21dc6240648819dedd5f78e22fd4b637e539eb62
2016-01-28 10:11:00 +11:00
Xidorn Quan 3d7937e499 Bug 1064843 part 2 - Make nsSubDocumentFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : a1a7b2971d7099fa8dc3589f5b690399a624f0ff
2016-01-28 10:11:00 +11:00
Xidorn Quan 2a1e3dccc8 Bug 1064843 part 1 - Make nsImageFrame inherit nsContainerFrame. r=dholbert
--HG--
extra : source : 59f102831fceb2857c2209207abbf750ed90fdd2
2016-01-28 10:11:00 +11:00
Nicholas Nethercote 26360d6c45 Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Mats Palmgren 4256cf9ea7 Bug 1240795 - [css-grid] Refactor GetComputedTemplateColumns/Rows to return a self-contained value. r=dholbert 2016-01-27 17:02:13 +01:00
Mats Palmgren 54139b9f0f Bug 1237754 part 1 - [css-grid][css-align] Make 'align/justify-content:normal' behave as 'stretch' for Grid containers. r=dholbert
Change due to CSSWG decision:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html

Later clarified that the decision also applies to justify-content here:
https://lists.w3.org/Archives/Public/www-style/2016Jan/0130.html
2016-01-17 19:44:05 +01:00
Xidorn Quan c732ee5f50 Bug 1229437 followup 3 - Fix a mistake in RubyColumn::Iterator::SkipUntilExistingFrame(). a=me
--HG--
extra : amend_source : 759bee0572fdc77bb6f78fe91d14c68e6c7eb2eb
2016-01-27 19:04:57 +11:00