Commit Graph

2042 Commits

Author SHA1 Message Date
Olli Pettay
e470f2aeb1 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
Timothy Nikkel
31b0b72efe Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc 2009-05-15 15:08:41 +12:00
Boris Zbarsky
0d5537bae6 Bug 492760. Don't try to do a best-effort scroll to never-been-laid-out frames. r+sr=roc 2009-05-14 21:40:28 -04:00
Boris Zbarsky
c66c484fb8 Bug 488057. Be more careful when we unsuppress painting. r+sr=roc 2009-05-12 15:07:08 -04:00
Daniel Holbert
9e76962785 Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
Boris Zbarsky
7ca3d04839 Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc 2009-05-11 22:04:58 -04:00
Boris Zbarsky
4494984792 Bug 491842. Check for suppressed scroll before doing the layout flush, so that we don't end up scrolling during the flush when scroll is suppressed. r+sr=dbaron 2009-05-09 22:57:53 -05:00
Ryo Onodera
339fa65e15 Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc 2009-05-08 14:31:04 +12:00
Robert O'Callahan
13f199f269 Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst 2009-05-08 13:32:32 +12:00
Boris Zbarsky
1dae292b2e Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Phil Ringnalda
b301ccc638 Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc 2009-05-03 18:35:33 -07:00
tn
1223893e4b Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc 2009-04-25 20:19:23 +12:00
Neil Deakin
b7993a509e Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug 2009-04-22 08:55:54 -04:00
Olli Pettay
3a58741095 Bug 489224 - Printing doesn't print text field values, r+sr=roc 2009-04-22 12:35:45 +03:00
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