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
Lebedev Maksim
23ba0aa7bb
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
b8709b7dc6
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-08 13:17:32 -07:00
Masayuki Nakano
3f6061897e
Bug 960871 part.10 Some methods which took both WidgetCompositionEvent and WidgetTextEvent should take only WidgetCompositionEvent r=smaug
2014-10-07 19:01:49 +09:00
Masayuki Nakano
a0e7e21fc0
Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug
2014-10-07 19:01:48 +09:00
Wes Kocher
e9f3c5a025
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e037820a94
Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
2014-10-06 13:08:20 -07:00
Jonathan Kew
b107bf5af1
Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett
2014-09-30 07:38:35 +01:00
Masayuki Nakano
b255a819ed
Bug 1065835 part.4 Destroy TextComposition instance after handling synthesized compositionend event when synthesized events for a request to commit or cancel is caused by PresShell discarding native compositionend event r=smaug
2014-09-26 09:05:12 +09:00
Ehsan Akhgari
e10a50686e
Bug 1071573 - Fix more bad implicit constructors in layout; r=roc
2014-09-23 22:01:52 -04:00
Rik Cabanier
f81fcd59c6
bug 1058044 - Background-blend-mode no longer blends correctly for <html> elements. r=roc
2014-09-23 19:50:00 +02:00
Maksim Lebedev
053516f154
Bug 977003 - Make async got/lostpointercapture events. r=smaug
2014-09-12 02:32:00 -04:00
Cameron McCormack
72c8556198
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
Jonathan Watt
a2a286f7b1
Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
96a5f5b9b8
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jonathan Watt
b4f1c21e73
Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
842e7d2157
Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:10 +01:00
Jonathan Watt
b46e201a8d
Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:48:09 +01:00
Robert O'Callahan
e81e80bf0f
Bug 1061045. Remove dirtyRect save/restore from Enter/LeavePresShell since they're not needed anymore. r=tn
2014-09-06 16:16:34 +12:00
Ryan VanderMeulen
e776d45bea
Merge m-c to inbound. a=merge
2014-09-09 19:29:28 -04:00
Patrick Brosset
139e624711
Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug
2014-09-09 20:54:08 +02:00
Wes Johnston
7a7f4ac70c
Bug 966493 - Mark touchstart and end events as handling user input. r=smaug
2014-09-09 15:10:07 -07:00
Carsten "Tomcat" Book
7aefac9a0a
Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures
2014-09-09 11:15:18 +02:00