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
Bobby Holley
9a4350598d
Bug 1261552 - Add FFI hooks to construct, copy, and destroy gecko style structs from servo. r=heycam
2016-04-04 23:14:31 -07:00
Bobby Holley
a5883b607d
Bug 1261552 - Introduce StyleStructContext, and make all style struct constructors take it. r=heycam
2016-04-04 23:14:29 -07: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
Bobby Holley
9e30bdaebc
Bug 1261552 - Reimplement default placement-new for style structs. r=heycam
...
We require a pointer of the class type, rather than void*, to reduce
the risk of accidentally calling this overload instead of the PresContext
one.
2016-04-04 23:14:26 -07: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
Andrew Halberstadt
273f8a751c
Bug 1243083 - Enable e10s by default when running reftests, r=jmaher
...
MozReview-Commit-ID: NlTGwdQ2nw
--HG--
extra : rebase_source : 524578da02c2c84487bfe497783a6ea9de594ed9
2016-04-01 11:00:37 -04:00
Markus Stange
9513183f86
Bug 1248913 - Reftest.
...
MozReview-Commit-ID: Ajblt5KyZvp
--HG--
extra : rebase_source : 89ee6c51f15d10334700e815f4081bc20d465601
extra : histedit_source : 96286438e072c4f7f46ee408cf0ef7e5b76fa44d
2016-03-30 16:08:05 -04:00
Markus Stange
fd1c9c165d
Bug 1254834 - Set the display port on the right element in fast-scrolling.html. r=kats
...
MozReview-Commit-ID: 4xnwZwabtIV
--HG--
extra : rebase_source : 0108a35e49d0f9087d79504ced7d1149de58daa9
extra : histedit_source : 6d5c7dc7b04941d5088e78bebe291293b11bf966
2016-03-28 19:08:33 -04:00
Markus Stange
60ef932ecf
Bug 1260335 - On perspective ContainerLayers, the clip deferred from their child layer needs to be affected by the perspective layer's async transforms. r=botond
...
MozReview-Commit-ID: EEgsdFXGI1E
--HG--
extra : rebase_source : b5b69e94054ee4f0aae6d407d6dbf6b02ba0655a
extra : histedit_source : 81638f619eb1745898c8ecb279c10f1f133a9fba
2016-04-04 23:21:31 -04:00
Daniel Holbert
5a156f963a
Bug 1257688 part 6: Add reftest for -webkit-box-flex inside of display:-webkit-box. r=mats
...
MozReview-Commit-ID: C9qZBHqrwNB
2016-04-04 18:32:12 -07: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
37b9bed836
Bug 1257688 part 4: Add reftests for -webkit-box-ordinal-group inside of display:-webkit-box. r=mats
...
MozReview-Commit-ID: 3B8RmfApAkN
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
7336391a29
Bug 1257688 part 2: Enable "-webkit-box-pack: justify" sections of -webkit-box reftests, & fix reference cases to use 'space-between' (the modern equivalent). (no review)
...
MozReview-Commit-ID: LIqNUL2oI3T
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
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
Ting-Yu Lin
7b794c38a3
Bug 1259889 Part 2 - Load html.css lazily for pref changes. r=heycam
...
We need to re-evaluate html.css whenever "dom.details_element.enabled"
is changed to make the disclosure triangle for summary elements show up.
Reftests for details and summary will need the a live pref to work.
MozReview-Commit-ID: 9SN1fQBuwA7
--HG--
extra : rebase_source : c8eafde9d3a97908c44099219603f76087d484b9
2016-04-01 21:11:11 +08:00
Ting-Yu Lin
219e330768
Bug 1259889 Part 1 - Add @supports -moz-bool-pref for internal-only style sheets. r=heycam
...
This is a internal-only syntax for guarding rules from a boolean
preference. Nothing causes @supports rules to be re-evaluated except
html.css registered in Part 2.
This is needed for rendering the disclosure triangle of the
summary element by using "display: list-item".
Usage example:
@supports -moz-bool-pref("dom.details_element.enabled") {
/* css rules */
}
MozReview-Commit-ID: HDCa8zHxYTA
--HG--
extra : rebase_source : b7a72a48166edf1d486014ff37363ed8be9127d9
2016-04-01 21:11:11 +08:00
Kartikaya Gupta
8d77ca883d
Bug 1246290 - Add a reftest for the apz.disable_for_scroll_linked_effects pref. r=botond
...
MozReview-Commit-ID: CeZO6WwhRyR
2016-04-03 13:13:59 -04: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
Tobias Schneider
910b79dd54
Bug 1209273 - Part 1: Support for adjust-color CSS property. r=dbaron
2016-03-08 09:25:24 -08: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
Timothy Nikkel
eda8fbb9ea
Bug 1261230. r=mats
2016-04-02 01:54:00 -05:00
Daniel Holbert
2b4a73dcb5
Bug 1261284: Don't include <button>'s children in overflow areas, if we know we're going to clip them when painting. r=mats
...
MozReview-Commit-ID: BG1tGEQjFI2
2016-04-01 20:36:41 -07:00
Bobby Holley
5790b832fa
Bug 1261452 - do_AddRef shouldn't require an rvalue-reference. r=froydnj
2016-04-01 19:14:42 -07:00
Robert Longson
481a70b111
Bug 1158500 - make writing-mode a mapped CSS property. r=cam
2016-04-01 22:08:04 +01: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
Andrew Halberstadt
eaf4ca74c0
Bug 1245092
- Fix beta-only non-local network bustage on reftest, r=me, a=test-only
...
MozReview-Commit-ID: 1N6lsrbMNyI
--HG--
extra : commitid : MnX4BePWDx
extra : source : f902121e4d1b1c612b6a270743bf4830c8c8dcbf
extra : amend_source : 035d59b83e35cd72256ae079cdea5212273c7b82
2016-03-14 17:00:40 -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
Martijn Wargers
6cf6655ddf
Bug 1249061 - Improve property/attribute handling for marquees. r=smaug
2016-04-01 14:24:48 +02: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