Commit Graph

530 Commits

Author SHA1 Message Date
Lebedev Maksim
74e49d7ff3 Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug 2014-11-18 01:13:00 +01:00
Maksim Lebedev
2663f2a50d Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug 2014-11-11 08:29:00 +01:00
Robert O'Callahan
0284071e77 Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
--HG--
extra : rebase_source : d13f993c4dd1b868f47b6c79b39172bb40b3871c
2014-11-07 13:20:27 +13:00
Robert O'Callahan
7f0095de5c Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Gina Yeh
a9a5a8c2c1 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Jonathan Watt
bf49eb7f25 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Mats Palmgren
3be9dbfbb8 Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz 2014-10-23 13:19:25 +00:00
Kearwood (Kip) Gilbert
d657e33227 Bug 1010538 - Part 5 - Enable automatic smooth scrolling for anchor links. r=mstange
- When an anchor link is clicked, the SCROLL_SMOOTH_AUTO flag is now set by
  PresShell::GoToAnchor when calling PresShell::ScrollContentIntoView.
- Added an arguement, aAnimateScroll, to PresShell:GoToAnchor to indicate that
  the scroll may be animated.  This will only be set to true when an anchor
  link is clicked.  Opening a page with an anchor link will not trigger
  such animations.
2014-09-15 15:54:42 -07:00
Kearwood (Kip) Gilbert
6af03cd32f Bug 1010538 - Part 3 - Implement scroll-behavior CSS property. r=mstange
- Added SCROLL_SMOOTH_AUTO flag to nsIPresShell to enable selection of
  scroll behavior through CSS.
- Updated Element and Window scrolling DOM methods to enable smooth scrolling
  set through the scroll-behavior CSS property.
- Keyboard, scroll bar, mousewheel, and any other events that scroll smoothly
  with the general.smoothScroll preference enabled will now scroll instantly
  if the scroll frame has "scroll-behavior: instant" applied through CSS.
2014-09-15 12:30:03 -07:00
Ryan VanderMeulen
f00e2738a4 Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
bd5a3188f8 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
---
 b2g/app/b2g.js                   |    3 +
 content/base/src/nsGkAtomList.h  |    4 +
 dom/events/EventNameList.h       |   16 +++
 dom/events/EventStateManager.cpp |    6 +
 dom/ipc/PBrowser.ipdl            |    2 +
 dom/ipc/TabChild.cpp             |    6 +-
 dom/ipc/TabParent.cpp            |   24 ++++
 dom/ipc/TabParent.h              |    1 +
 layout/base/nsIPresShell.h       |   12 +-
 layout/base/nsPresShell.cpp      |  250 ++++++++++++++++++++++++++++++++++++++
 layout/base/nsPresShell.h        |   26 ++++
 modules/libpref/init/all.js      |    3 +
 12 files changed, 350 insertions(+), 3 deletions(-)
2014-10-14 15:09:24 +08:00
Lebedev Maksim
49e9bd979c Bug 1073563 - The lostpointercapture event must be dispatched before any other pointer events. r=smaug 2014-10-08 16:27:34 -07:00
Cameron McCormack
1ea00788ea Bug 1028497 - Part 24: Implement FontFaceSet.{ready,status} and dispatch events. r=jdaggett,bzbarsky 2014-10-02 12:32:09 +10:00
Markus Stange
7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Ehsan Akhgari
65a6bddd89 Bug 1071573 - Fix more bad implicit constructors in layout; r=roc
--HG--
extra : rebase_source : a2632aead26e8481c307b54989ebba3642892f4c
2014-09-23 22:01:52 -04:00
Maksim Lebedev
8c913cbf98 Bug 977003 - Make async got/lostpointercapture events. r=smaug 2014-09-12 02:32:00 -04:00
Cameron McCormack
9e08b4d248 Bug 1041512 - Mark intrinsic widths dirty on a style change even if the frame hasn't had its first reflow yet. r=dbaron 2014-09-17 10:40:11 +10:00
Kearwood (Kip) Gilbert
9edca3c9e4 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
2014-08-05 15:01:34 -07:00
Robert O'Callahan
d085b972a2 Bug 1048752. Part 2: Remove InvalidateOutsideCaret and MaybeInvalidateCaretPosition. r=tn
I'm quite sure DLBI means we don't need these anymore.

--HG--
extra : rebase_source : 6cb6cd7c160a46688793c6ab1cdded333aecdd61
2014-08-06 17:19:23 +12:00
Ehsan Akhgari
2b84010cb8 Bug 1048246 - Fix more bad implicit constructors in layout; r=roc
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Ting-Yu Lin
7063a3388c Bug 1041926 - Remove NS_HIDDEN introduced by selection carets. r=roc
Bug 1015664 had removed almost all NS_HIDDEN in gecko. Selection carets
must be landed after it.
2014-07-22 00:35:00 -04:00
Xidorn Quan
c011970f03 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
William Chen
416f36b0de Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
Timothy Nikkel
91256bfbc7 Bug 1002992. Part 5. Use a custom frame tree walker to find visible and almost visible images instead of using the heavier weight display list infrastructure. r=mats
This is about 3 or 4 times faster.
2014-06-06 21:23:21 -05:00
Morris Tseng
5d9e036945 Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc 2014-06-04 22:58:00 +02:00
Phoebe Chang
4286f5c0d3 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Phoebe Chang
a37fc5efe4 Bug 924692 - Part 1: Add touch caret rendering support; r=roc 2014-06-03 15:08:25 +08:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Aryeh Gregor
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Jonathan Watt
200e95e9eb Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Daniel Holbert
61204d781b Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
Maksim Lebedev
2af751cef5 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Masayuki Nakano
3cc4e99fc0 Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Neil Rashbrook
cf9b85f5a7 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Daniel Holbert
799418c0d4 (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
Ehsan Akhgari
70ae8680ba Bug 935778 - Part 0.1: Uninline nsIPresShell::SetForwardingContainer so that it won't need the full definition of nsDocShell; r=bzbarsky 2014-02-21 14:44:43 -05:00
Mats Palmgren
eb191bf2a8 Bug 974412 - Cancel any pending InvalidatePresShellIfHidden() request for the shell when detaching the pres context. r=roc 2014-02-21 08:40:45 +00:00
Cameron McCormack
15cc32b681 Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron 2014-02-05 12:59:39 +11:00
Matt Woodrow
924bb34c92 Bug 962786 - Convert nsDragService to use Moz2D. r=roc
* * *
Bug 962786 - Bustage fix on a CLOSED TREE
2014-01-29 13:10:33 +13:00
Matt Woodrow
a3449e66b6 Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc 2014-01-30 18:41:17 +13:00
Kartikaya Gupta
7d097f42c5 Bug 900592 - Add nsPresShell::GetCumulativeResolution r=tn
--HG--
extra : rebase_source : 335da23741801779ff23c0a2802f286dddb6f49d
2014-01-15 09:16:41 -06:00
Scott Johnson
a6b8d5be6d Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Carsten "Tomcat" Book
8ba68170dd Backed out changeset 70befb4cf2f4 (bug 878935) for mochitest -4 and bc test failures 2013-12-20 12:42:54 +01:00
Scott Johnson
4f50d60904 Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Brad Lassey
bdfab24d3e Backed out changeset 93d8c8703f4d 2013-12-19 17:49:05 -05:00
Scott Johnson
08a18e025e Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. r=kats,dbaron
--HG--
extra : rebase_source : 7eb13d00208cef8e696ec6e9a1cdc2739a994d9a
2013-10-01 14:52:13 -05:00
Trevor Saunders
ae517971ad bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
William Chen
ad649152bc Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap 2013-12-02 02:26:12 -08:00
John Daggett
5a92bd2828 Bug 934710 - log text perf metrics at reflow end, load complete and presshell teardown. r=heycam 2013-11-25 14:00:00 +09:00
Gabor Krizsanits
7b41a35e1e Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00