Markus Stange
ea8e203822
Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
...
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.
MozReview-Commit-ID: 8HPT53MX6bO
--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Xidorn Quan
2bb1280ba1
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
--HG--
extra : source : 84878dbedf8c2efe2221d7562fd69a7c4cf20971
2016-05-03 17:58:57 +10:00
Xidorn Quan
1327931cba
Bug 1267568 part 2 - Add helper method to nsIPresShell to get the RefreshDriver. r=smaug
...
MozReview-Commit-ID: Cxbmr2CVXJz
--HG--
extra : source : fbf8cd895abbb69d3b5d3c2b3afe36984db5f985
2016-05-03 17:58:57 +10:00
Phil Ringnalda
5387bf0160
Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
...
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
1a6baf6d28
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 8093b69502ad849a4b8bb6d254967a6051f1909d
2016-04-28 14:09:06 -04:00
Markus Stange
2fc65c65af
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 334ea74abc71041246fcf9cbf25ff642c9e92b67
2016-04-27 17:39:25 -04:00
Markus Stange
6ae2cdbdd0
Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
...
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.
MozReview-Commit-ID: 8HPT53MX6bO
--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
f7bc47d59b
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Mats Palmgren
7364d9ac57
Bug 842853 - Follow-up to fix a test typo. r=me
2016-05-01 00:38:32 +02:00
Kartikaya Gupta
0858e31ab6
Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
...
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.
MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
Markus Stange
45015d5109
Bug 550426 - Use background-position-x/y in ActiveLayerTracker. r=dbaron
...
MozReview-Commit-ID: 4gBWTOLfX0i
--HG--
extra : rebase_source : b89a35fef04ed990d67c05ebd79528d9c4b4462b
2016-04-20 23:34:46 -04:00
Wes Kocher
6521757101
Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
...
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)
MozReview-Commit-ID: AlUihrLtlhL
--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Markus Stange
1dbcb6b940
Bug 550426 - Use background-position-x/y in ActiveLayerTracker. r=dbaron
...
MozReview-Commit-ID: 4gBWTOLfX0i
--HG--
extra : rebase_source : bbda2f43f1cb2430a93c86b03a1f94cc4a1a932f
2016-04-20 23:34:46 -04:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Cameron McCormack
3aadcf811c
Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley
2016-04-29 14:01:44 +10:00
Cameron McCormack
2617364266
Bug 1268390 - Part 1: Factor out most of nsStyleSet::AddDocStyleSheet for re-use. r=bholley
2016-04-29 14:01:44 +10:00
Daniel Holbert
774f83d738
Bug 1030952 part 3: Add a frame property to allow flex container to impose a different main-size on a flex item for aspect ratio calculations. r=mats
...
MozReview-Commit-ID: HZylbVhO1Iv
2016-04-28 20:17:02 -07:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Mantaroh Yoshinaga
240de53183
Bug 1134163 - Part1.Modify animationstart event timing in order to fire event after end of pending task. r=birtles
...
MozReview-Commit-ID: 8BwLRIKe1kV
--HG--
extra : transplant_source : %B0%C7f%92pi%E9cR%A8%A7%D2%EB%AEF0%A9%278%1E
2016-04-28 16:29:12 +09:00
Ting-Yu Lin
f24a9b7431
Bug 1266782 - Use RefPtr to hold document and selection in ExtendPhoneNumberSelection. r=mats
...
MozReview-Commit-ID: 3zAgKt7r8TO
--HG--
extra : rebase_source : 1ee468762812a955a41908bd0ce7f4b41aee8859
2016-04-28 13:59:39 +08:00
Matt Woodrow
8a17b3e85d
Bug 1266380 - Don't try to untransform visible regions for inactive perspective layers. r=thinker
2016-04-28 17:05:46 +12:00
Botond Ballo
80791b18a4
Bug 1267470 - Move more fields from FrameMetrics to ScrollMetadata. r=kats
...
MozReview-Commit-ID: zxtt1NNcDe
--HG--
extra : rebase_source : 65cdc94615ccbb51901e8c4ac086987ff2183719
2016-04-27 16:06:34 -04:00
Nathan Froyd
5672bb749c
Bug 1259733 - use forward declarations for nsIDocument in a few places; r=dholbert
...
This is sufficient for nsCSSFrameConstructor.h's needs, and the
corresponding C++ file already includes nsIDocument.h.
2016-04-27 14:48:36 -04:00
Ting-Yu Lin
b8bf17b6b3
Bug 1267929 - Bail out from ExtendPhoneNumberSelection if GetAnchorFocusRange() is nullptr. r=mats
...
MozReview-Commit-ID: HvNhZ5o0owh
--HG--
extra : rebase_source : d003f7fc6d065bb439d24e0364fe34086f14ad88
2016-04-27 17:19:51 +08: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
L. David Baron
65891d5c0e
Fix temporary debugging patch for bug 1265280 so we'll hit the condition. r=khuey
...
MozReview-Commit-ID: 11gaY1Fz9nf
--HG--
extra : rebase_source : 0d75310f5c8700d503b2ea5308d4f661302dedd1
2016-04-26 13:33:28 -07:00
Matt Woodrow
083b9cd7fc
Bug 1265256 - Use the canvas positioning area when computing the background-attachment:fixed rect for canvas frames. r=mstange
2016-04-22 17:50:11 +12:00
CJKu
f934d566c4
Bug 1265715 - Part 3. Use nsLayoutUtils::PaintFrame in ClipBackgroundByText; r=jfkthame
...
MozReview-Commit-ID: LRh54GNT0qW
--HG--
extra : rebase_source : ad03f0a22b6eb285f6abb622396caf1da48021b7
2016-04-26 00:26:51 +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
CJKu
3059aafb03
Bug 1265715 - Part 1. Pull Mode out of nsDisplayListBuilder; r=jfkthame
...
MozReview-Commit-ID: BBIoHfcJ6hz
--HG--
extra : rebase_source : c21cc10558a2a6c44b601bdfd087edd52d37c3df
2016-04-26 00:26:28 +08:00
Botond Ballo
992cbd5b93
Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange
...
MozReview-Commit-ID: 1lnQoD98xv3
--HG--
extra : rebase_source : 0cfd2c2a7926210775b6a1beff69ba32f2a10d6c
2016-04-25 17:20:13 -04: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
Mats Palmgren
9f53935bce
Bug 1266131 part 2 - [css-grid] Remove unused nsDisplayList::SortByCSSOrder() function. r=dholbert
2016-04-25 18:43:04 +02:00
Lee Salzman
81e6150f5c
Bug 1244918
- avoid using Infs for line start and end when painting gradients. r=mstange
2016-04-23 20:54:07 -04:00
L. David Baron
5036e4c66e
Bug 1265280 - Temporary debugging code to crash with a useful abort message. r=khuey
...
MozReview-Commit-ID: G1XOUcfwY20
--HG--
extra : transplant_source : %3E%09%CFW%F0%7E%EA%3A0%F3AU%B1%89%F8%A0%24%07%86%BC
2016-04-23 14:17:24 -07:00
Timothy Nikkel
e78e313fa5
Bug 1259246. Simplify nsDocumentViewer::FindContainerView. r=dholbert
...
Turn a series of nested if's into early return if's with no nesting so it is easier to follow.
2016-04-04 02:59:15 -05: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
Masayuki Nakano
eb041d2df7
Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
...
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.
This patches add eKeyDownOnPlugin and eKeyUpOnPlugin. nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event. Note that these events won't be fired on content in the default event group and won't be sent to the remote process.
MozReview-Commit-ID: H5OKPLtVdr6
--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Jeremy Chen
f7a19af3e7
Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame
2016-04-23 01:40:39 +08:00
Botond Ballo
25a9b005e6
Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
...
MozReview-Commit-ID: ITLeksQzvVM
--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Ben Kelly
67cfa5a9ee
Bug 1265795 P4 Always call nsDocument::SetScriptGlobalObject(nullptr) from nsDocument::Destroy(). r=bz
...
Currently there are certain paths in nsDocumentViewer that can call
nsDocument::Destroy(), but fail to call SetScriptGlobalObject(nullptr). This
results in the global never being cleared.
This patch refactors things so nsDocument::Destroy() always clears the global.
This ensures a more consistent document teardown since we don't rely on
external callers to get multiple method calls correct.
2016-04-21 16:10:40 -07:00
Ting-Yu Lin
bcbf8175b8
Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
...
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.
The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.
In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.
The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.
MozReview-Commit-ID: 8NGvDLPbtNY
--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Timothy Nikkel
7157850587
Bug 1251150
. Back out crash annotations used to try to diagnose crash.
...
They didn't find any problems.
2016-04-22 00:17:15 -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
Bobby Holley
37c8b13e17
Bug 1266249 - Remove mHasCachedOutline. r=dbaron
2016-04-21 17:44:32 -07:00
Seth Fowler
ea6f023ffe
Bug 1261554 (Followup) - Fix memory reporting for PresShell::mVisibleRegions. r=me
...
--HG--
extra : rebase_source : ae1a692b5b89738720c728a23a81d9f71cb83e28
2016-04-21 17:38:09 -07:00
Cameron McCormack
cd6a2cb8f8
Bug 1266324 - Rename style const macro for unicode-bidi:bidi-override to be consistent with other style consts. r=jfkthame
2016-04-22 10:37:21 +10: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
68af7e6457
Bug 1097499 part 4 - Adjust computed value of writing-mode on text frames when text-combine-upright is used. r=heycam
...
MozReview-Commit-ID: KNRe0ZpzxGr
--HG--
extra : source : dfd24ab49704b6542207aaab5b1283a4db355e60
2016-04-22 09:18:41 +10:00
Xidorn Quan
d5599a3104
Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
...
MozReview-Commit-ID: 1GfoFEGhyka
--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
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
Wes Kocher
e80ed17c41
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 5AQXGbI0ke2
2016-04-21 15:02:19 -07:00
Wes Kocher
aac511837d
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: GW9vcSRPgYc
2016-04-21 14:41:08 -07:00
Bobby Holley
1c7f68df06
Bug 1258017 - Cleanup fixes for trunk. r=me
2016-04-21 13:56:40 -07:00
Seth Fowler
4b0251d526
Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond
2016-04-21 01:22:10 -07:00
Seth Fowler
82aae6c3ed
Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange
2016-04-21 01:22:10 -07:00
Seth Fowler
0847460298
Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange
2016-04-21 01:21:58 -07:00
L. David Baron
5cb5f30041
Bug 1053986 - Rename nsBox::GetParentBox to GetParentXULBox. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.
MozReview-Commit-ID: FqTrLBFZMF5
2016-04-20 21:28:32 -07:00
L. David Baron
376413eeb5
Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
But with additional manual changes in accessible/.
MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Mark Capella
a5dadf5639
Bug 1265750 - Some word cannot be selected via long pressing, r=TYLin, mats
2016-04-21 08:53:13 -04:00
Masayuki Nakano
da3898bcb7
Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
...
MozReview-Commit-ID: L0GnVR6NcAe
--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
726b05f89b
Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
...
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Mats Palmgren
8cea5ff5f7
Bug 1258476 - Optimize CreateRangePaintInfo by generating display lists for the minimum amount of range subtrees rather than for the range common ancestor. r=tn
2016-04-19 22:12:16 +02:00
L. David Baron
7ddb4d5d7b
Bug 1265591 patch 3 - Make the comment describing RestyleForCSSRuleChanges match reality. r=heycam
...
MozReview-Commit-ID: 9CT2k59cYP2
2016-04-19 11:38:35 -07:00
L. David Baron
b1db407049
Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
...
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
L. David Baron
368f3bb46f
Bug 1265591 patch 1 - Remove Internal/External versions of ReconstructStyleData. r=heycam
...
This Internal/External difference was added in bug 253889 in the year
2004, when we build layout as a library separate from things like
editor. It is no longer needed now that we have libxul, and should not
be used by any external callers.
MozReview-Commit-ID: 7354lCl3hN8
2016-04-19 11:38:34 -07:00
CJKu
fec446cef3
Bug 1264949 - Ensure that the display list does not contain any background-image/background-color display item; r=jfkthame
...
MozReview-Commit-ID: LikPnuMxeMc
--HG--
extra : rebase_source : 177134421941ed144bd7e37271f2e25018a0c403
2016-04-19 13:41:03 +08:00
Daniel Holbert
c5c19672a7
Bug 1255180 part 3: Update test_bug370436.html to use SpecialPowers for privileged "rangeParent" access, & drop now-obsolete checks for SOWs in chrome. r=bholley
...
This patch also enables the test by uncommenting it in mochitest.ini, since it should now run successfully.
MozReview-Commit-ID: 36ZvUYA7sDi
2016-04-18 20:26:36 -07:00
Daniel Holbert
2ea3c08df4
Bug 1255180 part 2: Update script/style paths in test_bug370436.html to point to mochitest-plain resources. r=bholley
...
MozReview-Commit-ID: ElBfZMQOjSl
2016-04-18 20:26:35 -07:00
Daniel Holbert
3780efe576
Bug 1255180 part 1: Move test_bug370436.html out of its mochitest-chrome subdirectory. r=bholley
...
This patch also temporarily disables the test by commenting it out in mochitest.ini, its new home. (I'm disabling it temporarily because it won't pass until later patches in this queue have landed.)
MozReview-Commit-ID: 2CixMWUin8W
--HG--
rename : layout/base/tests/chrome/test_bug370436.html => layout/base/tests/test_bug370436.html
2016-04-18 20:26:33 -07: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
Markus Stange
789850e1f0
Back out bug 1164227, because bug 1236043
fixes the original problem in a better way.
...
MozReview-Commit-ID: F4bD1MvOWDR
--HG--
extra : rebase_source : 43a53b31eea4f945b2cca647514e073603d44e75
2016-03-28 18:37:07 -04:00
Markus Stange
2e917fb8fa
Bug 1236043
- Adjust reftests and reftest annotations for new invalid region simplification. r=jrmuizel
...
Make the test_transformed_scrolling_repaints* tests taller so that the top and the bottom of the scrolled area don't share the same tile.
Fuzz layout/reftests/text/wordwrap-03.html on Linux because the native textbox gradient is painted in a slightly different position depending on the invalid area.
Mark layout/reftests/forms/select/out-of-bounds-selectedindex.html as fuzzy on Android because some listbox rounded corner pixel differs with the new invalidation behavior.
Mark layout/reftests/bugs/456219-1c.html as fuzzy on Linux, reasons unknown. :-(
Disable flexbox-widget-flex-items-3.html because of bad file input drawing on Linux, see bug 1260965.
MozReview-Commit-ID: B5c1a8D0G8F
--HG--
extra : rebase_source : 3e281d035831c77246d0e439246fdab9395dc884
2016-04-18 14:18:44 -04:00
Xidorn Quan
6ad4420e52
Bug 1264910 followup - Include the pref for background-clip: text.
2016-04-18 19:19:16 +10:00
Xidorn Quan
6694da2b67
Bug 1264910 - Simplify pref callback register/unregister in nsLayoutUtils. r=dholbert
...
MozReview-Commit-ID: 39XQHJULIRb
--HG--
extra : source : d210a7a5cb6d46e7546f68c7813b053333373cdc
extra : amend_source : 60628ebad0e6dd318d55bd9eb960117c290306cc
2016-04-18 19:11:15 +10:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Mike Conley
1cff2809c8
Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
...
MozReview-Commit-ID: 7wCYif8F6ws
--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Carsten "Tomcat" Book
c4445ccd33
merge mozilla-inbound to mozilla-central a=merge
2016-04-15 11:41:41 +02:00
Carsten "Tomcat" Book
0a47ef22ae
Merge mozilla-central to fx-team
2016-04-14 11:39:50 +02:00
Mark Capella
88cc5b6c9a
Bug 1235508 - Re-implement fast Phone number selection on long-press, r=TYLin
2016-04-14 02:14:16 -04:00
Mats Palmgren
d4dfb9f81d
Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert
2016-04-14 01:32:12 +02:00
Ting-Yu Lin
727557d79f
Bug 1258657 Part 2 - Remove SummaryFrame. r=bz
...
We can use nsBlockFrame to render summary elements.
This change undoes "Bug 591737 - Add SummaryFrame" and remove
summaryFrame usage in DetailsFrame and nsCSSFrameConstructor.
MozReview-Commit-ID: 4aJvHVPfsBb
--HG--
extra : rebase_source : 8e197fa61cfcbaf066a8a510aef7c92adddd30f2
2016-04-13 13:34:14 +08:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Sebastian Hengst
2a9bc780d3
Backed out changeset 7ec8bfb9bbd4 (bug 759568) for failures in test_all_shorthand.html and more. r=backout
2016-04-12 17:55:52 +02:00
Sebastian Hengst
c9828de0c3
Backed out changeset e64951d74d2a (bug 759568)
2016-04-12 17:55:44 +02:00
Sebastian Hengst
44ca9afaa7
Backed out changeset 6c4a34241df5 (bug 759568)
2016-04-12 17:55:13 +02:00
CJKu
3571e41961
Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; r=jfkthame
...
MozReview-Commit-ID: 88jIDJ65ALf
2016-04-12 21:58:23 +08:00
CJKu
70f4e828d2
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-12 21:58:22 +08:00
CJKu
a5da82483b
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-12 21:58:21 +08:00
Jonathan Watt
de4c3d11fe
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Jonathan Watt
3a3ceffce3
Bug 1263773 - Mark a bunch of classes in layout as MOZ_RAII. r=dholbert
2016-03-28 13:34:26 +01:00
Boris Chiou
6a9f22bcfe
Bug 1182856 - Part 2: Let AnimationsWithDestroyFrame destroy transitions. r=heycam
...
We also want to cancel transitions with destroyed frames, so the simplest way
is to extend the ability of AnimationsWithDestroyFrame to cancel transitions as
well.
--HG--
extra : rebase_source : 87d09b6204240b51d425269cbdc07103df5d24ef
2016-04-10 21:28:00 +02:00
CJKu
4bfb2bf540
Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; r=jfkthame
...
MozReview-Commit-ID: 88jIDJ65ALf
2016-04-14 16:28:07 +08:00
CJKu
2afb6ec588
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 16:28:07 +08:00
CJKu
d2552e50a5
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycam
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 16:28:06 +08:00
Carsten "Tomcat" Book
ff1d585b2e
Backed out changeset b68e6d1cf93a (bug 759568) for reftest failures
2016-04-14 08:57:57 +02:00
Carsten "Tomcat" Book
48bbe10c12
Backed out changeset 6a2e62e8c861 (bug 759568)
2016-04-14 08:57:41 +02:00
Carsten "Tomcat" Book
e5e0e59c3a
Backed out changeset a6cd4eaf2d21 (bug 759568)
2016-04-14 08:57:35 +02:00
CJKu
d6470a3040
Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; r=jfkthame
...
MozReview-Commit-ID: 88jIDJ65ALf
2016-04-14 12:45:39 +08:00
CJKu
3edbcce808
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 12:45:38 +08:00
CJKu
eb3d4dc948
Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
...
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 12:45:37 +08:00
Ting-Yu Chou
964d4d12f1
Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander
2016-04-13 09:51:34 +08:00
Cameron McCormack
672aaef5a4
Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
0718df89c3
Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert
2016-04-12 15:52:42 +10:00
Cameron McCormack
6f4ce86293
Bug 1261754 - Part 7: Move pointer-events from nsStyleVisibility to nsStyleUserInterface. r=dholbert
2016-04-12 15:52:41 +10:00
Cameron McCormack
d7db2f5ade
Bug 1261754 - Part 5: Move text-rendering from nsStyleSVG to nsStyleText. r=dholbert
2016-04-12 15:52:41 +10:00
Cameron McCormack
5bd6866210
Bug 1261754 - Part 4: Move image-rendering from nsStyleSVG to nsStyleVisibility. r=dholbert
2016-04-12 15:52:40 +10:00
Cameron McCormack
6883fc4b42
Bug 1261754 - Part 3: Move quotes from nsStyleQuotes to nsStyleList and delete nsStyleQuotes. r=dholbert
2016-04-12 15:52:40 +10:00
Cameron McCormack
d340c36d57
Bug 1261754 - Part 2: Make quotes computed values shareable between different structs. r=dholbert
2016-04-12 15:52:40 +10:00
Ting-Yu Lin
152cf5d714
Bug 1168891 Part 2 - Allow one caret to be dragged across the other caret. r=mats
...
This behavior matches the Android convension and the built-in selection
on all desktop platforms.
MozReview-Commit-ID: 2kNm8UZnqH0
--HG--
extra : rebase_source : 097918c7c49e7cd545af52e9b3f3c540475ec589
2016-04-11 17:57:29 +08:00
Ting-Yu Lin
0f764ef889
Bug 1168891 Part 1 - Refine two functions related to caret positioning. r=mats
...
FindFirstNodeWithFrame() and CompareRangeWithContentOffset() share a lot
of code duplication. I refactor and rename the two functions to improve
the readability.
MozReview-Commit-ID: CyetLHOGT23
--HG--
extra : rebase_source : e026acc87347253bcc795538ea06cbbd68634227
2016-04-11 17:57:29 +08:00
Xidorn Quan
15be78d195
Bug 1236828 part 2 - Make frame constructor support absolutely-positioned top layer frame. r=bz
...
MozReview-Commit-ID: 4imCeroEaVi
--HG--
extra : rebase_source : fcdfc7b4a3b2a7536a980d6fa3318fdb4e3d1778
2016-04-11 15:30:48 +10:00
Daniel Holbert
cfd458ff95
(no bug) whitespace cleanup in test_bug370436.html. (no review & DONTBUILD because whitespace-only)
...
MozReview-Commit-ID: ipuEKve7PF
2016-04-11 09:52:12 -07: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
Andreas Pehrson
c742b9dadf
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Jonathan Kew
0d6a32ee9b
Bug 1249279 - Let subdocuments' presContexts inherit the DPI setting of their parent, instead of retrieving it from their widget, to avoid using stale values from a currently-hidden widget on a screen with a different DPI. r=bz
2016-04-07 10:01:30 +01:00
Tobias Schneider
7fa6b225c8
Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron
2016-04-06 09:53:00 +02:00
Matt Woodrow
8cf134c70f
Bug 852754 - Part 4: Reduce max downscaling allowed to <3. r=mstange
2016-04-07 18:54:57 +12: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
Kartikaya Gupta
8a19d2889b
Bug 1151102 - Remove logging from f98e6bf59631 since the issue seems to have gone away. r=me
...
MozReview-Commit-ID: HoAMKfQrypD
2016-04-06 12:17:52 -04: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
Bobby Holley
479711a580
Bug 1261552 - Introduce StaticPresData and hoist some shared functionality into it. r=heycam
...
The complexity around the font pref cache stuff is really annoying. If we
think it's unnecessary, we could remove it in a followup.
2016-04-04 23:14:27 -07:00
Seth Fowler
0254e71692
Bug 1223751 - Assume all frames are visible in subdocuments of a top level content document that's assuming all frames are visible. r=tn
...
--HG--
extra : rebase_source : cf935669d36c8c0a62b71e582fa457a57b2fd0e2
2016-04-04 15:11:43 -07:00
Seth Fowler
3b11d00caf
Bug 1223747 - Don't assume all frames are visible in XUL documents. r=tn
...
--HG--
extra : rebase_source : a2a5e9f6e16379a6ff6e689f769ddbb512c29b7b
2016-04-04 15:11:43 -07:00
Edgar Chen
25174c3544
Bug 1257742 - Part 3: Support using floating point in sizes descriptor; r=jdm
...
MozReview-Commit-ID: ESTk2x2VqnD
2016-03-23 18:46:36 +08:00
Timothy Nikkel
8915fda5f6
Bug 1259246. Simplify nsDocumentViewer::FindContainerView. r=dholbert
...
Turn a series of nested if's into early return if's with no nesting so it is easier to follow.
2016-04-04 02:59:15 -05: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
Kartikaya Gupta
e939861411
Bug 1246290 - Add a pref to allow disabling APZ on documents which have scroll-linked effects. r=botond
...
MozReview-Commit-ID: HQkHUiEWaWc
2016-04-03 13:13:59 -04:00
Tobias Schneider
62cefcead8
Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
2016-03-08 09:44:00 -05:00
Masayuki Nakano
57445d0047
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Bobby Holley
5790b832fa
Bug 1261452 - do_AddRef shouldn't require an rvalue-reference. r=froydnj
2016-04-01 19:14:42 -07: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
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
Kartikaya Gupta
1627b885bb
Bug 1261062 - When constraining the displayport by the max texture size, maintain the relative distribution of the margins. r=dvander
...
MozReview-Commit-ID: GsQBy0rIlP5
2016-04-01 08:03:28 -04:00
Carsten "Tomcat" Book
f0e5f9de55
Backed out changeset 11f8ba2d1e85 (bug 1209273)
2016-04-01 11:57:56 +02:00
Tobias Schneider
f8e31827b6
Bug 1209273 - Part 2 - Force printing background if color-adjust: exact. r=dbaron
2016-03-08 09:44:00 +01:00
Kartikaya Gupta
2dccededc8
Bug 1255022 - Make the test_transformed_scrolling_repaints* tests mochitest-plain instead of mochitest-chrome. r=mstange
...
MozReview-Commit-ID: F0CiZlIrWuk
--HG--
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints.html => layout/base/tests/test_transformed_scrolling_repaints.html
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints_2.html => layout/base/tests/test_transformed_scrolling_repaints_2.html
rename : layout/base/tests/chrome/test_transformed_scrolling_repaints_3.html => layout/base/tests/test_transformed_scrolling_repaints_3.html
rename : layout/base/tests/chrome/transformed_scrolling_repaints_3_window.html => layout/base/tests/transformed_scrolling_repaints_3_window.html
2016-03-31 23:55:06 -04:00
Matt Woodrow
55c68da930
Bug 1238928 - Don't assume that our child list is unchanged in nsDisplayPerspective::BuildLayer. r=tnikkel
...
--HG--
extra : rebase_source : 1bbfa00636efed5733c6cdf918f1a0e982c1ac17
2016-04-01 14:37:15 +13: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
Mats Palmgren
de075da893
Bug 1259949 - Caret reftests.
2016-04-01 02:08:15 +02:00
Nathan Froyd
443d2b6637
Bug 1259734 - use AppendElements in DisplayItemClip::AppendRoundedRects; r=dholbert
...
It is shorter and nicer than writing out the loop ourselves.
2016-03-25 09:34:37 -04:00