Ehsan Akhgari
0ea96fc715
Bug 1335070 - Switch the PresShell::Paint profiler marker to use GetPrimaryContentDocument to annotate using the content document; r=tn
2017-02-02 18:22:53 -05:00
Boris Zbarsky
f9cb78afdc
Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv
2017-02-02 10:32:58 -05:00
Markus Stange
683672b065
Bug 1298218 - Use DisplayItemClipChain for tracking clips on display items. r=mattwoodrow,tnikkel
...
This is the bulk of the changes.
- DisplayItemScrollClip is removed. Instead, we will have 1) ActiveScrolledRoot
and 2) DisplayItemClipChain.
- ActiveScrolledRoot points to a scroll frame and allows traversing up the
scroll frame chain.
- DisplayItemClipChain is a linked list of clips, each clip being associated
with the ActiveScrolledRoot that moves this clip.
- Each display item has an ActiveScrolledRoot and a clip chain.
- nsDisplayItem::GetClip returns the item of the clip chain that scrolls with
the item's ASR. The separation between "regular clip" and "scroll clips"
mostly goes away.
- Tracking clips in the display list builder's clip state happens very
similarly to how regular clips used to be tracked - there's a clip chain for
content descendants and a clip chain for containing block descendants. These
clip chains are intersected to create the combined clip chain.
- There are strict rules for the ASR of a container item: A container item's
ASR should be the innermost ASR which the item has finite clipped bounds with
respect to.
- At some point in the future, ASRs and AGRs should be reunified, but I haven't
done that yet, because I needed to limit the scope of the change.
MozReview-Commit-ID: KYEpWY7qgf2
2017-01-31 17:07:35 -05:00
Ehsan Akhgari
d5e2febafe
Bug 1334218 - Add a profiler annotation to PresShell::Paint that gives the URL of the document being painted; r=dholbert
...
This essentially copies what we do for the PresShell::DoReflow marker.
2017-01-27 10:15:46 -05:00
L. David Baron
03fdb51fe9
Bug 1333951 - Unbreak dumping of style contexts. r=bzbarsky
...
Prior to this patch, dumping of style contexts in the layout
debugger would only dump the subtree associated with the root
frame, which just covers the viewport, canvas, and associated
scrollbars.
I think this has been broken since bug 236921 (2004) and
bug 378693 (2007) properly disconnected the root element from the
styles for the viewport and canvas.
This patch just manually dumps the root frame and the root
element's frame, since the style set no longer maintains a list
of all of the style context roots.
MozReview-Commit-ID: 5LEnbNtngN2
2017-01-25 22:05:16 -08:00
Mats Palmgren
7b1c2b5cc8
Bug 1323777 part 3 - Ensure that collecting telemetry on user font usage don't have unwanted side effects. r=smaug
2017-01-25 23:34:22 +02:00
Mats Palmgren
a5d7e89d2e
Bug 1323777 part 2 - make PresShell::Destroy() return immediately if it's already been called. r=smaug
2017-01-25 23:34:03 +02:00
Nicholas Nethercote
d2434a7cc6
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
2017-01-24 14:15:12 +11:00
Julian Seward
ce27f2a170
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (3 of 5, fixes for layout/). r=dholbert.
2017-01-24 17:11:13 +01:00
Bill McCloskey
0755f6a473
Bug 1331966 - Don't assert against content JS during painting on Android (r=dvander)
...
MozReview-Commit-ID: HU8V8jeBFX
2017-01-23 17:01:18 -08:00
Carsten "Tomcat" Book
c0e7ed5917
Backout bug 1316330 on developers request
2017-01-20 14:16:13 +01:00
Neil Deakin
b7cb2dd75f
Bug 1321472, when the capturing content is inside a popup, use the popup as the root frame when searching for a mouse target rather than the root frame, otherwise the capturing content's frame won't be found, r=smaug
2017-01-19 10:04:04 -05:00
Wes Kocher
e05c5a9c50
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Stone Shih
bf14e7b562
Bug 1323976 - Part 2: Refine button and buttons value of WidgetPointerEvent for touch. r=smaug
...
MozReview-Commit-ID: KGL1Hq2iIOW
2017-01-12 17:26:43 +08:00
Stone Shih
1169fc52aa
Bug 1323976 - Part 1: Add eNoButton to WidgetMouseEventBase::buttonType. r=smaug
...
MozReview-Commit-ID: FYUhdfKj5wT
2017-01-12 17:53:38 +08:00
Jan Beich
b368444e75
Bug 1330359 - Fix building with -Werror for non-SPS platforms. r=mstange
...
MozReview-Commit-ID: Ifb3zyGHn7U
2017-01-11 17:22:19 +00:00
Bill McCloskey
501b7a00be
Bug 1328423 - Add AutoAssertNoContentJS to PresShell::Paint (r=dvander)
...
MozReview-Commit-ID: 4M4pYZSygPH
2017-01-17 13:29:04 -08:00
Jessica Jong
16eab3833d
Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
2016-12-02 15:35:28 +08:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
William Chen
8d80e9d577
Bug 1307675 - Part 1: Record time from first paint to time of first input. r=baku,jwatt
2016-11-08 17:39:28 -08:00
Michelangelo De Simone
3d60535bc8
Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
...
MozReview-Commit-ID: 5jkBVon3ZSz
2016-12-20 16:32:12 -08:00
Masayuki Nakano
f6777acf5e
Bug 1322736 part.4 Remove pref to enable BeforeAfterKeyboardEvent and permission to allow to handle the event r=smaug
...
MozReview-Commit-ID: BcYcN4soTvg
2016-12-16 16:50:17 +09:00
Masayuki Nakano
a45a88118b
Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug
...
MozReview-Commit-ID: Eyz2HjIdQEW
2016-12-16 16:25:22 +09:00
Masayuki Nakano
1f94e2fe88
Bug 1322736 part.2 Remove "after keydown" and "after keyup" events r=smaug
...
MozReview-Commit-ID: ICFPyDhgfh7
2016-12-16 16:01:51 +09:00
Masayuki Nakano
820c8ef01e
Bug 1322736 part.1 Remove "before keydown" and "before keyup" events r=smaug
...
MozReview-Commit-ID: 3umPBwTowLc
2016-12-16 15:59:25 +09:00
Wes Kocher
f52d956025
Merge m-c to autoland, a=merge
2016-12-19 16:48:50 -08:00
Olli Pettay
87372114dc
Bug 1322107 - Scope local presshell variable in less error prone way. r=mccr8
2016-12-19 16:48:23 -05:00
Cameron McCormack
244c8f4be3
Bug 1324341 - Part 2: Redo the cascade when CSSOM methods modify style sheets. r=xidorn
...
MozReview-Commit-ID: AIkwBaUlxD7
2016-12-19 14:30:14 +08:00
Stone Shih
591a2f1137
Bug 1323132 - PointerUp's buttons should be 0 when it's generated from touch. r=smaug
...
MozReview-Commit-ID: 36FFFPhaChb
2016-12-12 21:44:13 +08:00
Stone Shih
0a1630f428
Bug 1315245 - Part 1: Don't dispatch event to AccessibleCaretEventHub when the event status is nsEventStatus_eConsumeNoDefault. r=smaug
2016-11-29 14:07:12 +08:00
Jessica Jong
8e34fa1651
Bug 1321245 - Request native key bindings for delayed keypress events. r=smaug
2016-12-02 00:41:00 -05:00
Ting-Yu Lin
f3ed4deadf
Bug 1304598 Part 3 - Rename nsPresShell.h/cpp to PresShell.h/cpp, and move exported header to mozilla/ subdir. r=dholbert
...
The class PresShell doesn't have ns-prefix, so it's better to drop ns-prefix
in the file names to avoid confusion.
MozReview-Commit-ID: IljxsF5CVjh
2016-11-30 11:14:28 +08:00