Xidorn Quan
d0d79bd774
Bug 1039541 part 1 - Unprefix text-align-last. r=heycam
...
MozReview-Commit-ID: 4Lj04tY8CqR
2016-05-30 14:52:01 +10:00
Ethan Lin
4d1f215f4f
Bug 548372 - Part2. background-repeat round/space rendering. r=mstange
2016-05-25 02:29:00 +02:00
Carsten "Tomcat" Book
3824a21197
Backed out changeset af8d93926a96 (bug 1263349) for causing crashes in nsDisplayListBuilder::UpdateCurrentScrollParent on a CLOSED TREE
2016-05-24 11:14:29 +02:00
Seth Fowler
e4b2ca8723
Bug 1263349 (Part 1) - Add some utility functions for dealing with scrolling-related tasks. r=botond
2016-05-24 01:12:47 -07:00
Kartikaya Gupta
293850fcb3
Bug 1271432 - Optimization to avoid recomputing the same Matrix over and over. r=tnikkel
...
MozReview-Commit-ID: 28lV5ZRswxu
2016-05-17 11:05:46 -04:00
Kartikaya Gupta
564a901e6f
Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
...
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Botond Ballo
a8eb3b8312
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
2016-05-04 20:07:42 -04:00
Ting-Yu Lin
ca8be97f59
Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
...
MozReview-Commit-ID: 4IFOlP9oVHl
2016-04-27 12:01:54 +08:00
CJKu
dbb4e7a74a
Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
...
MozReview-Commit-ID: 1jkJOOH8KCi
2016-04-26 00:26:40 +08:00
Botond Ballo
df67cdab6d
Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
...
MozReview-Commit-ID: 4AJUVDLAYrc
2016-04-25 14:21:24 -04:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Timothy Nikkel
9d6e02c11b
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
bc64ac8994
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
7dfc00eaca
Bug 1097499 part 11 - Set width variant for text-combined frame. r=jfkthame
...
MozReview-Commit-ID: 60QB0PGtOKM
2016-04-22 09:18:41 +10:00
Xidorn Quan
0b1ae1ba76
Bug 1097499 part 1 - Control support of 'text-combine-upright: digits' via a separate pref. r=heycam
...
MozReview-Commit-ID: JerTsxaQCL4
2016-04-22 09:18:41 +10:00
Kartikaya Gupta
1bb3da941b
Bug 1263347 - When checking if displayport changes should schedule a paint, make sure to use the proper displayport. r=mstange
...
MozReview-Commit-ID: IVcNSbEiESa
2016-04-18 17:00:52 -04:00
Botond Ballo
6ca089f738
Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
...
MozReview-Commit-ID: DudrJuO4pFM
2016-04-04 17:46:12 -04:00
Timothy Nikkel
4e5f04dcaf
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
aa2fd58a6a
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
2016-03-28 19:14:52 -04:00
Seth Fowler
0f24c44100
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
ba620a636b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
2016-03-17 13:55:48 +08:00
Xidorn Quan
289ca1f35e
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
2016-03-17 12:07:47 +08:00
Robert O'Callahan
160ba37ce4
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
67ffec25f7
Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
...
MozReview-Commit-ID: K5PTxUqU9E6
2016-03-14 11:50:55 -04:00
Ting-Yu Lin
ccf44ea4f8
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
2016-03-10 17:38:31 +08:00
L. David Baron
f57b2437ab
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
35a1a6f191
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)
2016-02-23 13:10:40 -08:00
L. David Baron
b2207d6cb4
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
32cdf253b7
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
2016-02-17 21:37:00 +01:00
Timothy Nikkel
c37fab9118
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
2139025336
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
d1728fb5bf
Bug 1194466. Use the table-outer frame's margin when requesting the margin for table element with getBoxQuads. r=mats
2016-02-02 22:47:15 +13:00
L. David Baron
3ef080e413
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.
2016-02-07 08:43:48 -08:00
Kartikaya Gupta
23b63e0d6f
Bug 990916 - On displayport expiry, trigger another round of expiry up the ancestor chain. r=tnikkel
2016-02-03 19:13:35 -05:00
Kartikaya Gupta
ba4a7c0c09
Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel
2016-02-03 19:13:35 -05:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Xidorn Quan
b2c10ecc29
Bug 1229437 part 1 - Add a helper function to get the float containing block of a given frame. r=dbaron
2016-01-27 16:58:53 +11:00
Randall Barker
4b7b60835b
Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond
2016-01-20 16:24:57 -08:00
Nicholas Nethercote
aac1d8d18f
Bug 1238846 (part 1) - Remove some dead code in nsLayoutUtils. r=mattwoodrow.
2016-01-12 13:42:01 -08:00
Nicholas Nethercote
a2622a288c
Bug 1237902 (part 3) - Change the gfxContextMatrixAutoSaveRestore in PaintTableBorderBackground() to an AutoRestoreTransform. r=roc.
2016-01-07 20:21:40 -08:00
Randall Barker
c6c126a994
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
bf3ae99610
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
a2c4d77fbc
Bug 1194851. Rename GetDisplayPortRelativeToScrollPort back to GetDisplayPort. r=botond
2016-01-07 18:27:49 -06:00
Timothy Nikkel
8d4a783640
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
5f85f69547
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
6fa0bb3d8e
Bug 1194851. Introduce GetDisplayPortRelativeToScrollFrame. r=botond
2016-01-07 18:27:49 -06:00
Timothy Nikkel
981bd0e808
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
5b8f2f1d4b
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
98de782723
Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc
2016-01-05 17:51:04 +08:00
Botond Ballo
c69b7a6219
Bug 1194851 - Remove the second parameter of IsFixedPosFrameInDisplayPort(). r=kats
...
No one was using it.
2015-12-16 17:58:52 -05:00