Commit Graph

371 Commits

Author SHA1 Message Date
Mats Palmgren
7744382398 Use GetExtremeCaretPosition() for all editable nodes, not just the doc root. b=512295 r=roc 2010-02-09 17:09:59 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Boris Zbarsky
48153cc0e6 Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron 2010-02-03 16:17:55 -05:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Timothy Nikkel
9aed5c95c4 Bug 536926. Make sure event gets handled even if there is no focused node and the root content has no frame. r=enndeakin
--HG--
extra : rebase_source : a7e532c248467a0083a682f8ed0d32959595c898
2010-01-27 22:12:29 -06:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Robert O'Callahan
df694cae49 Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats 2010-01-14 15:30:05 +13:00
Olli Pettay
136f3f85ca Bug 533845 - Mouse events don't work in content iframe, if iframe is inside a xul panel, r=roc
--HG--
extra : rebase_source : 8270dcfedb49c555a5deb6bb7a29e4a500cd7a90
2010-01-13 11:02:11 +02:00
Robert O'Callahan
04a613495c Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
Robert O'Callahan
663dca4d9b Bug 526394. Part 25: Create nsIPresShell::ScrollFrameRectIntoView. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
11acff4c6e Bug 526394. Part 22: Remove more view stuff from PresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
519c0fd842 Bug 526394. Part 21: Remove nsIViewManager RootScrollableView APIs, and move GetRectVisibility to nsIPresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
7eb8b6c4d7 Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats 2009-09-03 17:23:47 +12:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Cristian KLEIN
fc3d506af7 Bug 370436 - "Context menu from keyboard for spell checker selects the wrong line" [r=roc] 2010-01-09 09:51:00 -06:00
Masayuki Nakano
864c94c4cd Bug 532422, this landing just removes unused variable r=Olli 2010-01-08 14:01:42 +09:00
L. David Baron
25d33fe57f Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky 2010-01-07 08:51:16 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Timothy Nikkel
bd15675d9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2 Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Boris Zbarsky
ef3cef478b Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron 2009-12-31 14:07:57 -05:00
Neil Deakin
989819833a Bug 536486, remove IsDestroyingFrames check now that frames are available from content nodes, fixes possible leak, r=roc 2009-12-31 12:36:56 -05:00
Boris Zbarsky
8519610b49 Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron 2009-12-24 16:20:06 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Olli Pettay
bf7962ffed Bug 535851 - noscript is rendered in print preview, r=roc 2009-12-19 12:35:54 +02:00
Masayuki Nakano
68361828eb Bug 532422 - n900: Cannot select any characters from sym map. r=enndeakin. 2009-12-17 10:42:02 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7 Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron 2009-12-10 14:36:03 -08:00
Olli Pettay
ec076a94d3 Bug 528829 - If mouse button is held down during page transition, Firefox stops responding to mouse clicks, r=roc 2009-12-10 10:58:33 -08:00
Timothy Nikkel
d16beb2417 Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Olli Pettay
2a7bca1c92 Bug 530880, r=bz, sr=roc
--HG--
extra : rebase_source : 4f1e95223fd0c167fa5ec882b46ae36f9edbb071
2009-11-26 11:12:20 +02:00
David Bolter
ae4129ee61 Bug 525579 - topcrash [@ nsAccessibilityService::GetAccessible(nsIDOMNode*, nsIPresShell*, nsIWeakReference*, nsIFrame**, int*, nsIAccessible**)] (thanks dbaron) r=roc,surkov 2009-11-16 09:03:53 -05:00
Robert O'Callahan
e62be286c3 bug 514732 - fix bustage for shared lib builds r=bz 2009-11-02 21:55:35 -05:00
Alexander Surkov
64fdee6658 Bug 437607 - Clicking the 'Skip to main content' link once works, second time fails to initiate a V cursor jump, r=davidb, sr=roc 2009-11-02 09:02:09 +08:00
Oleg Romashin
9472920cda Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Robert O'Callahan
56aad34bd4 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Robert O'Callahan
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Mats Palmgren
00302efc79 Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc 2009-10-16 12:55:32 +02:00
Neil Deakin
c7fb80186c Bug 519693, <select> click and drag scrolling not working, change to get scrollable frame when capturing, r=roc 2009-10-09 09:35:20 -04:00
Robert O'Callahan
9758ecee67 Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c Bug 517916, crash if the capturing element has no view, r=roc 2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3 Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky 2009-10-02 14:05:31 -04:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00