David Zbarsky
baa5df4d99
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
1e37e03e20
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Xidorn Quan
bee44e5d91
Bug 910532 part 2 - Prevent exiting fullscreen if escape is consumed by chrome. r=smaug
2015-01-21 12:16:04 +11:00
L. David Baron
22a56dd83b
Bug 1122240 - Check mIsActive before calling the somewhat-expensive GetRootPresContext. r=roc
...
I noticed the GetRootPresContext call being expensive in a profile that
involved painting in a (non-e10s) window with around 400-500 tabs.
Moving the mIsActive test (most likely to be false) first should fix
that.
2015-01-15 18:14:44 -08:00
L. David Baron
830e395c06
Bug 908987 - Honor mIsActive more aggressively to avoid calling IsVisibleConsideringAncestors. r=roc
...
This means that we avoid an O(N^2) calling pattern of IsVisible when we
call IsVisible for all tabs of a tabbrowser, since in a tabbrowser
(which uses an nsDeckFrame), IsVisibleConsideringAncestors is O(N) in
number of earlier tabs.
2015-01-13 21:03:11 -08:00
Mats Palmgren
10c0a151b0
Bug 1120198 part 2 - Optimize RebuildImageVisibility[DisplayList]() using nsTHashtable::SwapElements. r=tn
2015-01-13 14:44:33 +00:00
Botond Ballo
70e324a117
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Jonathan Kew
840c68ec31
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-12-22 16:35:54 +00:00
Jonathan Kew
cafd427872
Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron
2014-12-23 12:50:10 +00:00
Jonathan Kew
fd9f4bada9
Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc
2014-12-19 14:55:30 +00:00
Wes Kocher
3c0de68457
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
L. David Baron
6dc7a556f0
Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
...
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Wes Kocher
6d72488ca1
Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
...
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
L. David Baron
14c119e8b9
Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
...
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 11:37:38 -08:00
Jonathan Kew
cdf9a3916d
Bug 1077528 - part 1 - Provide physical and logical accessors for the m{HV}Resize flags in nsHTMLReflowState, and convert all flag users to the accessor methods. r=smontagu
2014-11-28 09:44:02 +00:00
Gina Yeh
e9e72a4774
Bug 1103836, Patch 1: No 'mozbrowserafterkeydown' event is dispatched after preventing the default actions of 'keydown' event, r=smaug.
2014-11-26 17:28:52 +08:00
Gina Yeh
fd922d7626
Bug 1091479, Patch2: Rename enum members, r=sinker.
2014-11-24 09:47:39 +08:00
Jonathan Kew
ab834a7678
Bug 1077515 - part 6 - Create a new nsISelectionController::PhysicalMove command. r=roc
2014-11-22 14:39:03 +00:00
Gina Yeh
af628b8582
Bug 1096146, Patch 1: No default actions of keydown event should be made if mozbrowserbeforekeydown event is defaultPrevented, r=smaug.
2014-11-21 17:47:55 +08:00
Lebedev Maksim
0aebec71f7
Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug
2014-11-18 01:13:00 +01:00
Sid Stamm
7c4de115b8
Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz)
2014-11-18 08:46:47 -05:00
Maksim Lebedev
829bd16ca7
Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug
2014-11-11 08:29:00 +01:00
Ryan VanderMeulen
ab0a39df15
Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
...
CLOSED TREE
2014-11-11 13:10:56 -05:00
Jonathan Kew
b5be75eb7e
Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett
2014-11-07 06:32:00 -05:00
Olli Pettay
752076532e
Bug 1096076 - [E10s] When resizing a window, all the tabs are resized, r=roc
2014-11-11 00:38:28 +02:00
Robert O'Callahan
cc7de5937d
Bug 1083635. Part 7: Fix UpdateLayerTree to sync-decode images and flush pending notifications. r=mattwoodrow
2014-11-07 13:20:27 +13:00
Ting-Yu Lin
38f76ce3a3
Bug 1094072 - Update selection carets after reflow. r=roc
...
Let SelectionCarets inherits from nsIReflowObserver so it could refresh
its position after reflow. This fixes the incorrect position of
selection carets after we rotate the device to change the screen from
portrait mode to landscape mode and vice versa.
2014-11-05 21:18:00 +01:00
Robert O'Callahan
14f214f5ef
Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
2014-10-24 12:20:01 +13:00
Robert O'Callahan
868df2abeb
Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
2014-10-21 10:32:10 +13:00
Robert O'Callahan
8527db0b3f
Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
2014-10-22 14:26:17 +13:00
Gina Yeh
8267b4e6aa
Bug 989198, Patch 9: Fix warning, r=smaug.
2014-11-03 15:06:10 +08:00
Gina Yeh
7df7cfdf4a
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jonathan Watt
b431664247
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Ting-Yu Lin
77456105c0
Bug 1059165 - Part 1 - Always sync visibility for touch caret. r=ehsan
...
We should sync touch caret's visibility with caret every time since
touch caret might be hidden due to timeout while caret is enabled. Also
remove dead code.
2014-10-28 06:01:00 +01:00
Jonathan Watt
d77207ea33
Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame
2014-10-24 11:00:23 +01:00
Mats Palmgren
680bb65642
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Jonathan Watt
3b52cf43ad
Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow
2014-10-22 12:29:06 +01:00
Lebedev Maksim
2e64c25124
Bug 1080360 - Add firing lostpointercapture event on document instead of on removed capturing element. r=smaug
2014-10-20 01:28:00 +02:00
Kearwood (Kip) Gilbert
aab7434ef1
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
92f654786e
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
Jonathan Watt
737ed37340
Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
2014-10-20 10:55:49 +01:00
Jonathan Watt
066c3125f2
Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
2014-10-20 10:55:49 +01:00
Ting-Yu Lin
24adf561da
Bug 1082486 - Part 5 - Hide touch caret when PresShell is suppressing painting. r=roc
...
When loading an html, painting is suppressed in PresShell. Therefore the
rect of nsCaret or the rect of nearest ancestor scroll frames will not
be correct. Touch caret will hide incorrectly because it cannot get the
necessary rect to calculate its position.
I added a condition in IsDisplayable() to skip when painting is
suppressed. Touch caret should sync its visibility with nsCaret again
when painting is unsuppressed, and those rects needed by touch caret
should be ready then.
2014-10-16 05:08:00 +02:00
Lebedev Maksim
57c5736852
Bug 1078327 - Add check for correct detecting capturing content. r=smaug
2014-10-06 09:16:00 +02:00
Jonathan Watt
40da0a5dbd
Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow
2014-10-19 13:22:22 +01:00
Jonathan Watt
c320e7e825
Bug 1083533 - Port the code that uses nsRenderingContext::SetClip() to Moz2D. r=mattwoodrow
2014-10-17 12:53:16 +01:00
Ryan VanderMeulen
6434df9710
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
459763b920
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
Kartikaya Gupta
85de5eb65b
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00