Commit Graph

1706 Commits

Author SHA1 Message Date
Neil Deakin
e9f3545abd Bug 543065, only scroll one ancestor of menus, SCROLL_FIRST_ANCESTOR_ONLY flag should stop at first scrollable container, not just first parent, r=roc 2010-03-02 06:21:23 -08:00
Michael Ventnor
de43c1d4fb Bug 542361 - Fix and remove the GetUsedX assertions r=roc 2010-03-02 11:57:43 +10:00
Robert O'Callahan
cd4f7a9513 Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Shawn Wilsher
1a25ba03cd Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Neil Deakin
96b0a4b8d6 Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Boris Zbarsky
d7e0fe7ed2 Bug 538087. Hook up reflow to refresh driver. r=dbaron 2010-02-19 12:11:40 -05:00
Shawn Wilsher
a95ca7c947 Backed out changeset bca0b6ed92e4 2010-02-18 10:02:49 -08:00
Shawn Wilsher
1944a9d320 Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Mats Palmgren
358b8558f5 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
10746ba961 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Michael Ventnor
1a73409a07 Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Boris Zbarsky
d13ba28abf Bug 540531. Freeze the refresh driver when a page goes into bfcache. r=dbaron 2010-02-03 16:17:55 -05:00
Timothy Nikkel
3b7f5cb426 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin 2010-02-02 20:07:08 -06:00
Timothy Nikkel
b1f6098c37 Bug 536926. Make sure event gets handled even if there is no focused node and the root content has no frame. r=enndeakin 2010-01-27 22:12:29 -06:00
Mats Palmgren
1daab4a3d5 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
1cc1ffc998 Bug 534433. Destroy all nsImageLoaders when the prescontext is torn down. r=mats 2010-01-14 15:30:05 +13:00
Olli Pettay
39900842e9 Bug 533845 - Mouse events don't work in content iframe, if iframe is inside a xul panel, r=roc 2010-01-13 11:02:11 +02:00
Robert O'Callahan
491dea3f30 Bug 526394. Part 31: Move scroll implementation into nsGfxScrollFrame. r=mats 2009-10-08 16:01:15 +13:00
Robert O'Callahan
7986bb5fe1 Bug 526394. Part 25: Create nsIPresShell::ScrollFrameRectIntoView. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
1eec2df60b Bug 526394. Part 22: Remove more view stuff from PresShell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
7a74876277 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
711aa746b3 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
633c774c13 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
015e74279d 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
714f5f269b Bug 532422, this landing just removes unused variable r=Olli 2010-01-08 14:01:42 +09:00
L. David Baron
3c73f1612c Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky 2010-01-07 08:51:16 -05:00
Olli Pettay
539642a108 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Timothy Nikkel
425be54b9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky 2009-12-22 18:09:10 -06:00
Timothy Nikkel
b22160de97 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
cc4bef34ff Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky 2009-12-22 18:09:10 -06:00
Boris Zbarsky
f6dfc382c1 Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron 2009-12-31 14:07:57 -05:00
Neil Deakin
4d9f675da2 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
cb3a37f614 Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron 2009-12-24 16:20:06 -05:00
Boris Zbarsky
49d5048a77 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
92d27ff174 Bug 535851 - noscript is rendered in print preview, r=roc 2009-12-19 12:35:54 +02:00
Masayuki Nakano
d72839eee2 Bug 532422 - n900: Cannot select any characters from sym map. r=enndeakin. 2009-12-17 10:42:02 -08:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
Boris Zbarsky
37b18a8aa8 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
4603f48500 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
02f52056ca 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
8f03092c5e Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc 2009-12-01 02:49:53 -06:00
Olli Pettay
534d15793d Bug 530880, r=bz, sr=roc 2009-11-26 11:12:20 +02:00
David Bolter
b0402c3383 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
aaf67a355c bug 514732 - fix bustage for shared lib builds r=bz 2009-11-02 21:55:35 -05:00
Alexander Surkov
c45a540180 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
74e6deabf4 Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Olli Pettay
ffd0c10209 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
acd735ba81 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
16a538d1f4 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
76314dbadd Bug 520425. (nsI)CanvasFrame related cleanup. r=roc 2009-10-08 01:18:18 -05:00