Commit Graph

46435 Commits

Author SHA1 Message Date
Boris Zbarsky
a435429163 Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Neil Deakin
60603d86fe Bug 1182607, use the right rectangle for a popup anchored at a rectangle when determining if the mouse click was over the anchor, r=tn 2015-07-20 08:59:50 -04:00
Ting-Yu Lin
3a3113dc21 Bug 1185436 - Mark DumpFrameTree() and DumpFrameTreeLimited() const. r=roc
Let's make it easier to dump the frame tree via |const nsIFrame*| in
a debugger.
2015-07-19 23:39:00 +02:00
Seth Fowler
ec30688068 Bug 1151359 (Part 3) - Treat nsImageFrames subject to scale animation as having an identity scale when predicting size. r=tn,birtles 2015-07-19 19:30:40 -07:00
Seth Fowler
310598d794 Bug 1151359 (Part 2) - Add support for detecting transform property changes that affect scale to ActiveLayerTracker. r=mstange 2015-07-19 19:30:37 -07:00
Seth Fowler
faeeebcacd Bug 1151359 (Part 1) - Predict the size of nsImageFrame images before drawing. r=tn 2015-07-19 19:30:35 -07:00
Eric Rahm
06fe3194ec Bug 1183879 - Soften "non-subdocument frame" warning to also allow dummy nsFrames, which exist while subdocument is loading. r=dholbert 2015-07-19 12:27:40 -07:00
Xidorn Quan
e5ea6fe8a3 Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug
--HG--
extra : source : 237250013b141f622112c0284e0db8a65fc28c3d
2015-07-19 10:30:52 +10:00
Jonathan Kew
f84f7d4021 Bug 1180528 - Reftest for table row progression in vertical-rl writing mode with ltr and rtl directionality. r=dholbert 2015-07-18 11:03:28 +01:00
Markus Stange
3c9ad59380 Bug 1181554 - Snap the spread radius for inset box shadows to device pixels. 2015-07-17 14:42:44 -04:00
Kartikaya Gupta
1e93086521 Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc
There is a common pattern on the web where a click listener is registered on a
container element high up in the DOM tree, and based on the target of the click
events, it performs the appropriate action. In such cases, our existing fluffing
code was not getting activated anywhere inside the container, because the entire
container was considered clickable. However, this is not user-friendly because
often the actual targets inside the container are small and hard to hit. Also,
the fluffing code will often take the container element itself as the target,
even if the user actually hit something inside the container.

This patch changes this behaviour so when an event hits inside a clickable
container, fluffing still occurs, but is restricted to DOM descendants of the
container. This allows fluffing to work in the above scenarios, and since the
events will bubble up to the container, the listeners on the container are
guaranteed to still trigger.
2015-07-17 08:36:00 -04:00
Ryan VanderMeulen
cc7dc07708 Backed out changeset a5ea84a0a779 (bug 812899) for reftest failures. 2015-07-17 12:04:24 -04:00
Karl Dubost
07780be821 Bug 812899 - Make vertical 'auto' margins on absolutely positioned elements always center, even when the margins are negative. r=dbaron 2015-07-17 16:12:04 +09:00
Ryan VanderMeulen
7034fc6976 Backed out changeset ec3acc5237a8 (bug 1181763) for WinXP test_event_target_radius.html failures.
CLOSED TREE
2015-07-17 10:46:31 -04:00
Ryan VanderMeulen
e2dac14c42 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-17 10:27:24 -04:00
Ryan VanderMeulen
a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Kartikaya Gupta
e3c8c5a562 Bug 1181763 - Allow the target fluffing code to fluff even when directly hitting something clickable. r=roc
There is a common pattern on the web where a click listener is registered on a
container element high up in the DOM tree, and based on the target of the click
events, it performs the appropriate action. In such cases, our existing fluffing
code was not getting activated anywhere inside the container, because the entire
container was considered clickable. However, this is not user-friendly because
often the actual targets inside the container are small and hard to hit. Also,
the fluffing code will often take the container element itself as the target,
even if the user actually hit something inside the container.

This patch changes this behaviour so when an event hits inside a clickable
container, fluffing still occurs, but is restricted to DOM descendants of the
container. This allows fluffing to work in the above scenarios, and since the
events will bubble up to the container, the listeners on the container are
guaranteed to still trigger.
2015-07-17 08:36:00 -04:00
Gijs Kruitbosch
423e03562b Bug 452800 - use ThreeDLightShadow for borders instead of ThreeDFace or ButtonFace, r=bz
--HG--
extra : commitid : 2Dn7MkLBVwG
extra : amend_source : 5d1848497e8694238c1113e8cbf8245ccd0d2f52
extra : transplant_source : %7C%93%27hY%9C/%E1%3C%18%8AT%88%F6%9DS%A3I%22O
2015-07-16 16:11:09 +01:00
Cameron McCormack
2b9faf4b60 Bug 1182496 - Don't create frames for SVG <text> descendants with failing conditional processing attributes. r=dholbert 2015-07-17 11:29:22 +10:00
Ryan VanderMeulen
e5e20485f9 Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04:00
Geoff Brown
6ab6eec4a3 Bug 1183717 - Increase default timeout for Android Debug reftests; r=jmaher 2015-07-16 06:20:08 -06:00
Jonathan Kew
60417d0338 Bug 1183439 - Update the wording of a few assertions to reflect logical-coordinate conversion. r=dholbert 2015-07-16 10:08:10 +01:00
Jonathan Kew
8ebb1db8e5 Bug 1131451 part 2 - Respect the container height when converting vertical-RTL inline-direction coordinates. r=dholbert
* * *
Bug 1131451 part 2a - Remove hack for rtl-in-vertical-mode from ReflowAbsoluteFrame. r=dholbert
* * *
Bug 1131451 part 2b - Mark relative-overconstrained tests that now pass in vertical mode with rtl. r=dholbert
* * *
Bug 1131451 part 2c - Mark vertical border-collapse bevel tests that now pass. r=dholbert
* * *
Bug 1131451 part 2d - Remove partial rtl-in-vertical support from nsBidiPresUtils now that logical-coordinate classes handle it better. r=dholbert
* * *
Bug 1131451 part 2e - Remove hack for float positioning in vertical mode with dir=rtl. r=dholbert
* * *
Bug 1131451 part 2f - Mark vertical-mode float-in-rtl reftests that are now passing. r=dholbert
* * *
Bug 1131451 part 2g - Compute both dimensions of containerSize in nsFlexContainerFrame::DoLayout. r=dholbert
* * *
Bug 1131451 part 2h - Mark flexbox writing-mode tests that are now passing. r=dholbert
2015-07-16 10:08:05 +01:00
Jonathan Kew
4e6c40d7ea Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert 2015-07-16 10:07:57 +01:00
Jonathan Kew
76e21c1574 Bug 1177614 - Provide a utility method on nsHTMLReflowState to return the computed size including border-padding, for use as a container for logical coordinate conversions, or zero if unconstrained. r=dholbert 2015-07-16 10:07:46 +01:00
Cameron McCormack
00d76a3dd6 Bug 1183484 - Cycle collect FontFaceSetIterator. r=bzbarsky 2015-07-16 17:35:17 +10:00
Ehsan Akhgari
4355437852 Bug 1183925 - Part 2: Clean up the AudioChannelService shutdown; r=baku
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers.  It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 17:47:28 -04:00
Ehsan Akhgari
65c24ac906 Bug 1183925 - Part 1: Clean up the SpeakerManagerService shutdown; r=baku 2015-07-15 17:47:08 -04:00
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
Ryan VanderMeulen
1ec1df2206 Backed out changeset 21a5c9152c3b (bug 1183925) for B2G debug mochitest crashes. 2015-07-15 11:29:50 -04:00
Masatoshi Kimura
52428897a6 Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
Simon Montagu
04f33e7cf4 Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Ehsan Akhgari
892a26b362 Bug 1183925 - Clean up the AudioChannelService shutdown; r=baku
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers.  It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 08:12:36 -04: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
Cameron McCormack
d2c7d17fac Bug 1057921 - Don't propagate text decorations through outer <svg> elements. r=dholbert 2015-07-15 14:41:06 +10:00
Markus Stange
d47ec8dfc5 Bug 1182929 - Work around bug 803703 by refusing to turn heavily-downscaled images into image layers. r=seth 2015-07-14 12:06:27 -04:00
Andrew Comminos
585b4882e2 Bug 1179780 - Update deferred-anchor2.xhtml reftest to be independent of transparent scrollbars. r=mstange
--HG--
extra : rebase_source : 901bd43e9267efd21a6bf5cbeaf909c520cee9d9
2015-07-13 12:23:00 -04:00
Wes Kocher
ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Boris Zbarsky
3dc492a257 Bug 1181765. Remove uses of mozRequestAnimationFrame from layout tests. r=bkelly 2015-07-14 15:28:58 -04:00
Michael Layzell
72b02534d8 Bug 1165263 - Part 4: Update reftest runners to support new moz_hosts schema, r=dbaron 2015-07-14 15:06:36 -04:00
Michael Layzell
d9e4072585 Bug 817007 - Part 2: Update reftests due to removal of <file> magic host, r=ehsan 2015-07-14 15:06:32 -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
Carsten "Tomcat" Book
4d0773212e merge mozilla-inbound to mozilla-central a=merge 2015-07-14 12:23:09 +02:00