Botond Ballo
810a495c93
Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
...
MozReview-Commit-ID: LlibhRhbyVO
--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Botond Ballo
89c6c3b097
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Ting-Yu Lin
3256e20da1
Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
...
MozReview-Commit-ID: 4IFOlP9oVHl
--HG--
extra : rebase_source : 012b15e5e7b7489cf8ea9a2c812719ed009ef72e
2016-04-27 12:01:54 +08:00
CJKu
f75bface0f
Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
...
MozReview-Commit-ID: 1jkJOOH8KCi
--HG--
extra : rebase_source : c3a67cf66bb1f19cb3a0acc0cab3a45f1f02ea00
2016-04-26 00:26:40 +08:00
Botond Ballo
76d7859745
Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
...
MozReview-Commit-ID: 4AJUVDLAYrc
--HG--
extra : rebase_source : a84cda133f64388c496e035f018d27fb197001ee
2016-04-25 14:21:24 -04:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Timothy Nikkel
4fa1d92384
Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
...
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.
This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-23 15:18:26 -05:00
Timothy Nikkel
d5ab4ae492
Back out changesets 4bbf54c1bcd9 and ffcc3708103a from bug 1259246.
...
Backed out to see if they caused bug 1262027.
2016-04-21 23:14:37 -05:00
Xidorn Quan
d2e9e4f2b9
Bug 1097499 part 11 - Set width variant for text-combined frame. r=jfkthame
...
MozReview-Commit-ID: 60QB0PGtOKM
--HG--
extra : source : 914b8a7151bbd7ed385abb2696e6d5cefc3fadcb
2016-04-22 09:18:41 +10:00
Xidorn Quan
b1521c643f
Bug 1097499 part 1 - Control support of 'text-combine-upright: digits' via a separate pref. r=heycam
...
MozReview-Commit-ID: JerTsxaQCL4
--HG--
extra : source : 999d1d2997591935fa1259fa42a91658da8ee078
2016-04-22 09:18:41 +10:00
Kartikaya Gupta
51255cfde4
Bug 1263347 - When checking if displayport changes should schedule a paint, make sure to use the proper displayport. r=mstange
...
MozReview-Commit-ID: IVcNSbEiESa
--HG--
extra : rebase_source : 3bfc8926b8059ea74bcb3e77d3f25c5800d0e71a
2016-04-18 17:00:52 -04:00
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
Timothy Nikkel
59adfe3545
Bug 1259246. Move nsIPresShell::GetRealPrimaryFrameFor to nsLayoutUtils::GetRealPrimaryFrameFor. r=dholbert
...
The function doesn't need to be a non-static member of nsIPresShell: it only checks if the document of the passed in element matches the presshell's document, and then the remaining code could be static. It has only one user, nsDocumentViewer::FindContainerView, and it doesn't care about the specific presshell, it just wants the primary frame, so it doesn't need the document check.
This lets us simplify nsDocumentViewer::FindContainerView because it had to jump through hoops to get the presshell.
2016-04-04 02:59:15 -05: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
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
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
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
Benoit Girard
a08807e27f
Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
...
MozReview-Commit-ID: K5PTxUqU9E6
--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Ting-Yu Lin
459c649699
Bug 1251519 Part 2 - Remove nsLayoutUtils::IsRectVisibleInScrollFrames(). r=mats
...
nsLayoutUtils::IsRectVisibleInScrollFrames() was used only by
SelectionCarets which was removed in bug 1221459.
MozReview-Commit-ID: 4dQAq1umHY7
--HG--
extra : rebase_source : 9c35effc9ac44bb9de5df1e4ddfc0d32edcfb9c9
2016-03-10 17:38:31 +08:00
L. David Baron
1182aed626
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-24 10:40:30 -08:00
Wes Kocher
42c013e034
Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
...
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)
--HG--
extra : commitid : Gme2p6OagcA
2016-02-23 13:10:40 -08:00
L. David Baron
ec4c382804
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-23 09:41:48 -08: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
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
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
Robert O'Callahan
ffe62188d9
Bug 1194466. Use the table-outer frame's margin when requesting the margin for table element with getBoxQuads. r=mats
...
--HG--
extra : commitid : B0oDQPEJLRh
extra : rebase_source : 8ac8d10d9dae01b9c44b8b531c56d065e1a54d50
2016-02-02 22:47:15 +13:00
L. David Baron
c774a187fd
Bug 1245075 patch 1 - Remove assertion, since it can fire during frame destruction. r=dholbert
...
Without this patch, patch 2 will cause assertions since
nsFrame::DestroyFrom calls nsFrame::HasCSSAnimations (at a time when the
child frame has been destroyed), which calls into the code modified in
patch 2 to call GetStyleFrame.
--HG--
extra : commitid : EkhtcNIf7ye
2016-02-07 08:43:48 -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
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Xidorn Quan
3d2d63b674
Bug 1229437 part 1 - Add a helper function to get the float containing block of a given frame. r=dbaron
...
--HG--
extra : source : 68184623d2b2f1eeaa17fd6d2a5114fb7caa65f8
2016-01-27 16:58:53 +11:00
Randall Barker
725817b232
Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond
2016-01-20 16:24:57 -08:00
Nicholas Nethercote
534a872e52
Bug 1238846 (part 1) - Remove some dead code in nsLayoutUtils. r=mattwoodrow.
...
--HG--
extra : rebase_source : adbb1840cdf2a9f454b0ab4c4c6e0f163df4dc3c
2016-01-12 13:42:01 -08:00
Nicholas Nethercote
f573bf4e6c
Bug 1237902 (part 3) - Change the gfxContextMatrixAutoSaveRestore in PaintTableBorderBackground() to an AutoRestoreTransform. r=roc.
...
--HG--
extra : rebase_source : a09c694360b2fc1215b5697a886947a3be46ddd6
2016-01-07 20:21:40 -08:00
Randall Barker
3a71488eda
Bug 1233056 - Long tapping on a link will select a different link from the page r=tnikkel
...
Long tapping would fail when Java Pan-Zoom was enabled in Fennec.
2016-01-08 20:22:07 -08:00
Timothy Nikkel
6a24899c5f
Bug 1194851. Change the GetDisplayPort API to take an optional RelativeTo parameter, instead of having that expressed in the function name. r=botond
2016-01-07 18:27:49 -06:00
Timothy Nikkel
4e74899f7a
Bug 1194851. Rename GetDisplayPortRelativeToScrollPort back to GetDisplayPort. r=botond
2016-01-07 18:27:49 -06:00
Timothy Nikkel
3c7c901321
Bug 1194851. Split GetDisplayPort callers into GetDisplayPortRelativeToScrollPort and GetDisplayPortRelativeToScrollFrame. r=botond
...
Temporarily rename GetDisplayPort to GetDisplayPortRelativeToScrollPort for the duration of this patchset.
This means that every caller of GetDisplayPort is guaranteed to be touched by this patchset (assuming it compiles), and thus each call site can be checked in review to make sure it is relative to the correct coordinate system.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
a83245ddd4
Bug 1194851. Change GetDisplayPortForVisibilityTesting into GetDisplayPortRelativeToScrollFrameForVisibilityTesting since it has only one user. r=botond
...
Also update the other image visibility GetDisplayPort. It will get changed to GetDisplayPortRelativeToScrollFrameForVisibilityTesting in another bug.
2016-01-07 18:27:49 -06:00
Timothy Nikkel
859f318413
Bug 1194851. Introduce GetDisplayPortRelativeToScrollFrame. r=botond
2016-01-07 18:27:49 -06:00
Timothy Nikkel
f42493831a
Bug 1194851. Change GetOrMaybeCreateDisplayPort into just MaybeCreateDisplayPort, and make it only return a bool, and not the displayport rect. r=botond
...
This makes the one caller that needs the displayport rect have to ask for it seperately.
The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name GetOrMaybeCreateDisplayPort.
2016-01-07 18:27:48 -06:00
Timothy Nikkel
bf347397f1
Bug 1194851. Make ViewportHasDisplayPort only return a bool, not the displayport rect. r=botond
...
This makes the one caller that needs the displayport rect have to ask for it seperately.
The reason for this is later in the patch series we need to add "RelativeToScrollFrame/Port" to all displayport getters, but there is no semantically good way to do that to the name ViewportHasDisplayPort.
2016-01-07 18:27:48 -06:00
Morris Tseng
084b138ad2
Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc
...
--HG--
extra : commitid : E5x4DxqzQ3k
2016-01-05 17:51:04 +08:00
Botond Ballo
b65904a270
Bug 1194851 - Remove the second parameter of IsFixedPosFrameInDisplayPort(). r=kats
...
No one was using it.
--HG--
extra : source : cf1a0a7146c18850f7619974bad31f888e7e1402
2015-12-16 17:58:52 -05:00
Botond Ballo
b9aee9ebb5
Bug 1194851 - Add helper functions HasDisplayPort() and HasCriticalDisplayPort(). r=kats
...
This makes it clearer whether we're just checking if a displayport exists,
or we're actually consuming its value.
--HG--
extra : source : 70bb222e860669a6cf6e803dbd57f088ca4fbc04
2015-12-16 17:22:23 -05:00
Nicholas Nethercote
06e901cb9f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Lee Salzman
9a71f879e0
Bug 1230686 - use RefPtr<DrawTarget>& instead of DrawTarget* to track changes in SurfaceFromElement. r=jmuizelaar
2015-12-29 10:41:43 -05:00
Morris Tseng
25c5294a43
Bug 1172796 - Part 5: Implements OffscreenCanvas::TransferImageBitmap. r=roc r=smaug
...
--HG--
extra : commitid : 4XzkGVfRcHJ
2015-12-18 14:52:17 +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