Commit Graph

14105 Commits

Author SHA1 Message Date
Kartikaya Gupta
347e9ff5d2 Bug 1184200 - Update a check for APZ enabled. r=dvander 2015-07-15 17:13:22 -04:00
Botond Ballo
acce0aee65 Bug 1180899 - Do not clobber frame metrics on the root layer added during a previous paint if there is no other frame metrics for the root scroll frame. r=tn
--HG--
extra : rebase_source : 25f54891b69373fd570ad86f9e2aaed852c10d03
extra : source : b0c9f2c474e9b446fb008023c6e7f423931e59cd
2015-07-13 17:48:14 -04:00
Masatoshi Kimura
52428897a6 Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
Ting-Yu Lin
ac0cb80ce5 Bug 1182963 - Use nsTHashTable::Iterator in nsPresContext. r=njn
--HG--
extra : commitid : L15dlyg2wWe
extra : rebase_source : 0e7677cebe5f4a8a530003567c45a7a22377f14a
2015-07-15 17:05:07 +08:00
Ting-Yu Lin
1b097a66dd Bug 1182963 - Use nsTHashTable::Iterator in nsPresShell. r=njn
--HG--
extra : commitid : JSylVWhFjWl
extra : rebase_source : dafda8c5719865a8d2acd58b435d96b0bca27278
2015-07-15 17:05:06 +08:00
Ting-Yu Lin
5d22ed8951 Bug 1182963 - Use nsTHashTable::Iterator in nsRefreshDriver. r=njn
--HG--
extra : commitid : JeCA0sg1XNf
extra : rebase_source : 5d7f3327b8f233d7db17466fbbe6da61d77a1cfe
2015-07-15 17:05:06 +08:00
Ting-Yu Lin
ffd909a0f6 Bug 1182963 - Use nsTHashTable::Iterator in nsPresArena. r=njn
--HG--
extra : commitid : DuQQI9pWHsg
extra : rebase_source : a6ab8377a5a61808aa593ff2dba8ad52d1e8834c
2015-07-15 17:05:06 +08:00
Ting-Yu Lin
26e85d0624 Bug 1182963 - Use nsTHashTable::Iterator in MaskLayerImageCache. r=njn
--HG--
extra : commitid : 6q0wp42tb3O
extra : rebase_source : d263bd4c0cec6ede872c23363c3ed8c1be40584c
2015-07-15 17:05:06 +08:00
Ting-Yu Lin
10aaca0ef1 Bug 1182963 - Use nsTHashTable::Iterator in FramePropertyTable. r=njn
--HG--
extra : commitid : 6i0btK6r2hV
extra : rebase_source : 61febc3863f0f87999d813a7c8afde43a6de161b
2015-07-15 17:05:06 +08:00
Ting-Yu Lin
dfa97f6d66 Bug 1182963 - Use nsTHashTable::Iterator in FrameLayerBuilder. r=roc,njn
Get rid of EnumerateEntries by inlining those enumerate functions. Also
move gPaintedDisplayItemLayerUserData, gColorLayerUserData, etc. to the
front of the file since LayerManagerData::Dump() references to one of
them.

--HG--
extra : commitid : K1KepLsdyS4
extra : rebase_source : 97543d7cb9c7333ae2b5b5a298afdd22f5fa249c
2015-07-15 17:05:06 +08:00
Boris Zbarsky
3dc492a257 Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
Alex Henrie
38880220ff Bug 941858 - Do not scale down elements passed to setDragImage. r=roc
--HG--
extra : rebase_source : de65096c15c4c4b22c8ae3a18143942e36adb3d9
2015-07-11 10:15:19 -06:00
Ting-Yu Lin
0f7cdb8a2e Bug 1183085 - Correct a typo in FrameLayerBuilder.h; r=roc
--HG--
extra : commitid : GtPZikTdQJe
extra : rebase_source : 4d4962230ef5cb7c05d1d24ad8bba6cd852a4e9f
2015-07-13 21:44:11 +08:00
Ting-Yu Lin
4517e0f01c Bug 1183085 - Update description for nsDisplayList methods; r=roc
AppendNewToTop and AppendNewToBottom do not return
NS_ERROR_OUT_OF_MEMORY now.

--HG--
extra : commitid : 1w49sx2aF6k
extra : rebase_source : b992c3c9733dd8236aafe9e03c69a6dbe68946f9
2015-07-13 21:44:11 +08:00
Ting-Yu Lin
ee58dd8b5f Bug 1183085 - Correct argument name for BuildContainerLayerFor; r=roc
--HG--
extra : commitid : 76wnnET4HQx
extra : rebase_source : bd2cbf256cd3286db66685b01baca6af87420eb3
2015-07-13 21:44:11 +08:00
Ting-Yu Lin
a74415002c Bug 1183085 - Correct the name for nsDisplayItem; r=roc
--HG--
extra : commitid : CDookJ6mja8
extra : rebase_source : b3fdef67d383e669053687bf7df3bad2efeb27ad
2015-07-13 21:44:11 +08:00
Botond Ballo
9eadc95b3f Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Neil Deakin
bf46cf123d Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
Birunthan Mohanathas
0a94911232 Bug 1167418 - Follow-up: Fix bustage 2015-07-12 23:46:04 -07:00
Michael Layzell
976a3a695b Bug 1182744 - Make MaskLayerImageKey::mLayerCount and its mutators private. r=dholbert 2015-07-12 21:13:42 -07:00
Michael Layzell
155069d388 Bug 1073219 - Use a simple RAII struct instead of nsRefPtr to manage mLayerCount for MaskLayerImageKey. r=dholbert 2015-07-12 21:09:57 -07:00
Xidorn Quan
33c1455032 Bug 1181890 - Center children of ruby content frame if necessary after the bidi reposition. r=jfkthame
--HG--
extra : source : db370ccfe5334eae5c4397a8ababab12f0794099
2015-07-13 09:32:15 +10:00
Xidorn Quan
d441030372 Bug 1179939 - Avoid crash if we destroy the pres context during flushing style or layout. r=roc
--HG--
extra : source : 07bd43449a372800137d3e82ff1064196e23ea70
2015-07-13 09:32:04 +10:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Masatoshi Kimura
6c8654865c Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Kyle
5b8548c41e Bug 1178971 - Added function to draw dashed table borders to replace loop currently used to individually draw each dash. r=mstange
--HG--
extra : rebase_source : cd89c11cbf33b21487e5196326faacbc78895257
extra : histedit_source : ae2dccf178acf4968157ee251a30d7832706cd0e
2015-07-03 15:22:22 -04:00
Kyle
4b077fd12e Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
--HG--
extra : rebase_source : bddeb31d488b74337889a874f7f60b47bf65ed2a
extra : histedit_source : 0dee20bd92d1f656bd8b97d06acf6b99febc7a02
2015-07-07 14:56:23 -04:00
Brian Birtles
37506d5652 Bug 1150810 part 6 - Rename Timeline() to GetTimeline(); r=smaug
This is in anticipation of adding Animation::SetTimeline(). Once we set the
timeline out of band, there's a chance that getting it could return null so
this patch makes the WebIDL and method name reflect that.

--HG--
extra : commitid : FSiwvrGRV1v
extra : rebase_source : 4c4004f58bbfd340642277b0a0b547a7de692dac
2015-04-28 16:25:07 +09:00
Brian Birtles
4159c4a595 Bug 1150810 part 5 - Handle Timeline() returning null; r=jwatt
--HG--
extra : commitid : K6pABHL7QRC
extra : rebase_source : ba96781d897d28db1d2db83f73ce8c31b89638cd
2015-04-28 12:49:12 +09:00
Brian Birtles
1926b13212 Bug 1150810 part 1 - Move DocumentTimeline methods up to AnimationTimeline; r=jwatt
This is not strictly necessary yet but we will want to implement methods
like GetAnimations() on the base class, AnimationTimeline, so we may as well do
that now rather than adding that code to DocumentTimeline and moving it later.

--HG--
extra : commitid : 7GU6Dr9lnPO
extra : rebase_source : d5e788874c72c422b57efbdb81404c79df6d505b
2015-04-28 11:17:10 +09:00
Benoit Girard
31cb6e3f30 Bug 1103106 - Change will-change to be first-come, first-served. r=roc
--HG--
extra : transplant_source : %1E%93%D4%3A%9C%BD%AE%3EI%C1C%A6%E5%E6%E7E2%1C%EE%EF
2015-07-06 16:32:53 -04:00
Cameron McCormack
9835a50961 Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Carsten "Tomcat" Book
f5a2bf64b3 Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 4a68bf83cc2939f899b0c6f92efa58e3d5aab6a2
2015-07-08 09:44:16 +02:00
Cameron McCormack
f086e12dcb Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
--HG--
extra : rebase_source : 119e78e4798a8044531f6fa288be7a0fc3ce9e43
2015-07-08 15:57:31 +10:00
Ryan VanderMeulen
de7e734bc6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
Hiroyuki Ikezoe
8763061ac2 Bug 1175751 - Apply playback rate to compositor animations. r=bbirtles 2015-07-06 19:05:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Phil Ringnalda
900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kevin Wern
c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
dominique vincent
6edc702182 Bug 1176453 - Do not increment the cluster counter for input elements with label. r=kats 2015-07-02 21:16:25 +02:00
Markus Stange
69ce2d9220 Bug 1178745 - Respect scroll clips when flattening. r=roc
--HG--
extra : rebase_source : 40f024056c16347cf5796db799968ae35f9d6044
extra : histedit_source : e899d8fdd75fbe0833bf7c543fcd5bea011d9315
2015-07-02 17:04:14 -04:00
Markus Stange
f6421a8bb7 Bug 1178745 - Move some code around. r=roc
--HG--
extra : rebase_source : 6f8745922fcaeeafdae0567ebf09ba4c6e94e254
extra : histedit_source : 100bb968f25534e0db9592f93b7fc593cfe9ccb2
2015-07-02 17:00:17 -04:00
Markus Stange
472ba62ba8 Bug 990974 - Treat carets in async scrolled scrollframes differently from non-caret content. r=roc
This makes those caret display items not share a layer with any other display items, and uses a different async scroll frame clip for that layer.

--HG--
extra : rebase_source : f01cd0343ea3e672b1d696a4e4e8924d070cc23d
extra : histedit_source : 14cefb8c1c9834d02a095e52e463add8a56a8625
2015-07-02 15:02:34 -04:00
Markus Stange
f259a1f135 Bug 990974 - Give PaintedLayerDataTree a generic way of restricting a PaintedLayer to exactly one display item. r=roc
--HG--
extra : rebase_source : fd6c029196ccbc5d1c59f327a17b637e12e47076
extra : histedit_source : 1d145fcd038e769dfe1498fe5e4c13247d409ef4
2015-07-01 22:08:20 -04:00
Markus Stange
77820dcba1 Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
--HG--
extra : rebase_source : a00358c3191c49c21ad2ad9b1e1a8d5d47285672
extra : histedit_source : 64aafcbf2d8fa32610fe8a30c916dbbe1b4f9283
2015-07-02 13:42:34 -04:00
Lee Salzman
55553857ba Bug 771367 - Refactor GetAnimationContent and GetAnimationCollection into CommonAnimationManager to hide atom and pseudo-element voodoo. r=bbirtles
--HG--
extra : rebase_source : 4dd7ccea70aeb26850055388e6a8ec1aa90e5347
2015-07-01 14:43:13 -04:00
Lee Salzman
1201a3f336 Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron
--HG--
extra : rebase_source : 9276e835dbc75aaaab718a871ed4eaa7c8389867
2015-07-01 11:55:51 -04:00
Xidorn Quan
e71f015f03 Bug 1168705 part 1 - Add mechanism for dispatching events with refresh driver tick. r=roc,khuey
--HG--
extra : source : 78c7ef9ca558520a50fa57492ad714922080459d
2015-07-02 19:12:31 +10:00