Xidorn Quan
9317e1bbe3
Bug 910532 part 2 - Prevent exiting fullscreen if escape is consumed by chrome. r=smaug
...
--HG--
extra : source : b18129bfc6a864ee580c54bd317a01d12ee62e33
2015-01-21 12:16:04 +11:00
L. David Baron
201a7b96ad
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
6342166719
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
299cf3cc08
Bug 1120198 part 2 - Optimize RebuildImageVisibility[DisplayList]() using nsTHashtable::SwapElements. r=tn
2015-01-13 14:44:33 +00:00
Botond Ballo
2e46796a0f
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
65c4ca0e3f
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
cc0d8158c6
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
76895ff844
Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc
2014-12-19 14:55:30 +00:00
Wes Kocher
c659ea6bce
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
L. David Baron
473c6235d3
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
28b56d8b93
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
cc675e51fb
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
d994d76e63
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
3bfe06797a
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
f093ed9a75
Bug 1091479, Patch2: Rename enum members, r=sinker.
2014-11-24 09:47:39 +08:00
Jonathan Kew
479949c885
Bug 1077515 - part 6 - Create a new nsISelectionController::PhysicalMove command. r=roc
2014-11-22 14:39:03 +00:00
Gina Yeh
c47886ea59
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
22d1368cd8
Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug
2014-11-18 01:13:00 +01:00
Sid Stamm
2189922ce8
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
37e32248e2
Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug
2014-11-11 08:29:00 +01:00
Ryan VanderMeulen
3b01e527e7
Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
...
CLOSED TREE
2014-11-11 13:10:56 -05:00
Jonathan Kew
f99a9f0726
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
161ed19bd4
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
520d67c9ca
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
Ting-Yu Lin
a2df3aacb9
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
c2d5639aae
Bug 1083635. Part 4.5: Avoid requesting PAINT_WIDGET_LAYERS if we're in a content process. r=mattwoodrow
...
--HG--
extra : rebase_source : 2559a0f44319264fe6395ef833269fb412f18502
2014-10-24 12:20:01 +13:00
Robert O'Callahan
c72141ba76
Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : 8c39aebedb275b56eda4a740b63ae4e00523c206
2014-10-21 10:32:10 +13:00
Robert O'Callahan
ba4692a8b6
Bug 1084672. Call NotifyDidPaint from the refresh driver to ensure it gets called regardless of whether OMTC is used or not. r=mattwoodrow
...
--HG--
extra : rebase_source : 51cc908538bd127c0af9089ae92aa82146032015
2014-10-22 14:26:17 +13:00
Gina Yeh
55bc8bc174
Bug 989198, Patch 9: Fix warning, r=smaug.
2014-11-03 15:06:10 +08:00
Gina Yeh
951ffe59de
Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
2014-11-03 15:05:38 +08:00
Jonathan Watt
1151d6d34f
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Ting-Yu Lin
046e1783e2
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
6894c541fa
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
de4092a0f1
Bug 1083855 - part 3, Implement nsIPresShell::DestroyFramesFor/CreateFramesFor. r=bz
2014-10-23 13:19:25 +00:00
Jonathan Watt
43b0709b04
Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow
2014-10-22 12:29:06 +01:00
Lebedev Maksim
f02a498fc6
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
c2060dabc6
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
66d8fcb0fb
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
134efbf1e5
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
...
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt
3801b3e8c8
Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
...
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Ting-Yu Lin
983706ff4b
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
cf16986876
Bug 1078327 - Add check for correct detecting capturing content. r=smaug
2014-10-06 09:16:00 +02:00
Jonathan Watt
427088cc62
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
e0f170b018
Bug 1083533 - Port the code that uses nsRenderingContext::SetClip() to Moz2D. r=mattwoodrow
2014-10-17 12:53:16 +01:00
Ryan VanderMeulen
77e8bee35e
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
485409e98d
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
f6a98016d2
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
Lebedev Maksim
afa915016b
Bug 1073563 - The lostpointercapture event must be dispatched before any other pointer events. r=smaug
2014-10-08 16:27:34 -07:00
Eric Rahm
f6bb65afb3
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00