Commit Graph

1228 Commits

Author SHA1 Message Date
Joe Drew
659abece3b Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs. 2009-04-21 23:02:17 -04:00
Boris Zbarsky
600528e80b Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Dão Gottwald
e2cf35ea6a Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn
26562bff79 Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Boris Zbarsky
2b94ef0426 Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc 2009-04-09 12:43:15 -04:00
Robert O'Callahan
cf8a7dc16b Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky 2009-04-01 14:08:34 +13:00
Boris Zbarsky
a01f92195f Bug 485631. Suppress dirty frame asserts while painting to a canvas. r+sr=roc 2009-03-30 11:33:25 -04:00
Olli Pettay
159518b43a Bug 424377, r+sr=roc 2009-03-10 21:30:50 +02:00
Olli Pettay
41da564f16 Bug 425265, r=roc, sr=bz 2009-03-08 21:01:02 +02:00
Olli Pettay
0759c9eaf5 Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst 2009-03-03 22:20:11 +02:00
Olli Pettay
780a116e7b Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
20d6a68f5a backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
2772c8693b Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Robert O'Callahan
56179088c4 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin 2009-02-24 21:25:25 +13:00
Zack Weinberg
0d014e6511 Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Zack Weinberg
a8aacbc11f Bug 478784. Don't use the view manager's default background color for transparent widgets. r+sr=roc 2009-02-19 21:10:04 +13:00
Jeremy D. Lea
175c3fd1b3 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-18 16:11:49 -08:00
Zack Weinberg
c6de6120b4 Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc 2009-02-16 14:11:34 +13:00
Serge Gautherie
dc6ceb811c Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
077871caa7 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Masayuki Nakano
27c4ebe74d Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 19:44:38 +09:00
Masayuki Nakano
03eb93c6b3 backing-out the patch for bug 442774 2009-02-12 18:54:02 +09:00
Masayuki Nakano
2e268350e6 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc 2009-02-12 16:02:49 +09:00
Masayuki Nakano
28280edc72 Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul 2009-02-11 03:19:15 +09:00
Masayuki Nakano
e4cd946e61 Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc 2009-02-10 20:17:37 +09:00
L. David Baron
77d826bd63 Correctly handle a style change reflow on a subtree that has placeholders with out of flows outside that subtree. (Bug 363247) r+sr=bzbarsky 2009-02-04 13:24:18 -08:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
L. David Baron
13a4fab406 Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc 2009-01-29 12:39:22 -08:00
L. David Baron
66ece5a7aa Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Zack Weinberg
0dbf2bd062 Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc 2009-01-22 17:18:59 +13:00
Neil Deakin
a1fd255df4 Bug 212750, one more fix for nsIntRect usage 2009-01-17 16:25:56 -05:00
Neil Deakin
ef2fecba8f Bug 212750, fix broken point usage 2009-01-17 16:14:18 -05:00
Neil Deakin
02bca85dcb Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc 2009-01-17 15:50:00 -05:00
Jeremy Lea
3e1e90f73a Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc 2009-01-15 16:27:09 +13:00
Olli Pettay
97eac22295 Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron 2009-01-14 22:42:25 +02:00
Benjamin Smedberg
0f95227641 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
7a084ac404 Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
991a16d8bc Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Olli Pettay
688cb45604 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
L. David Baron
4a355f09b6 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
Olli Pettay
98fb527b88 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
6374903494 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
df1fc7cb20 Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
L. David Baron
bce5dfcf66 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Olli Pettay
b04f19afaf Bug 466057, r+sr=bz 2008-12-20 16:28:19 +02:00
Stuart Parmenter
b540e6f105 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Masayuki Nakano
4a559a2472 Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Olli Pettay
0fd4565fc8 Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Zack Weinberg
c46922bc22 Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc 2008-12-13 17:07:08 +01:00
Robert O'Callahan
e0b25b33e5 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00