Commit Graph

1019 Commits

Author SHA1 Message Date
cb7d231107 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron
2007-06-15 22:12:58 -07:00
34f8fe8c53 Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
772fe3fe8d Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir 2007-05-17 03:14:35 -07:00
a3fc44a409 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
76ac69d108 Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron 2007-05-15 20:22:45 -07:00
48b9089c92 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
0da86490b0 Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir 2007-05-12 06:06:16 -07:00
d502743a45 Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
187a7243fd Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
cdb5b22b87 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
094281a553 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
f9ab569f9d Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz 2007-05-04 11:09:02 -07:00
24350496ec Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
c5807795b8 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
3596ec18a8 Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
1255dcbef5 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
797cbafcf5 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
963cbddb7b Fix build bustage 2007-04-29 23:43:03 -07:00
ca89b86af4 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
f93f7ab30b Make sure to flush out reflows before firing onload instead of (imperfectly)blocking onload on reflow events. This makes sure that we are in fact fullyreflowed before onload fires. Bug 379093, r+sr=roc 2007-04-29 20:09:55 -07:00
d9a2635d9c Back out the test code. 2007-04-26 19:06:50 -07:00
d11b45c6c1 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
abfb9ea6bb Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle. 2007-04-26 15:46:05 -07:00
cae24e7d7a Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
f971e1697e Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
93521474de Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron 2007-04-25 17:17:50 -07:00
fca696ab40 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
19fb0c6954 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
4c1f2387f0 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
5e25cdfb42 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
1f53e5c6dc Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
64b055dedb Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
2f451b35dd Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet. 2007-04-23 02:36:40 -07:00
621b5f4991 Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
e4d1abe4e8 Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
c0f710f638 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
ccb85f9bc5 For caret browsing, initialize the caret position to the top of the page (if there isn't already a selection). bug=144000 r+sr=bzbarsky 2007-04-14 09:51:20 -07:00
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
47735e33b7 Bug 375684, assertion when source of a drag is the root element, r+sr=roc 2007-03-29 16:58:59 -07:00
0b82d5b70f Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
d34d4175e9 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
enndeakin@sympatico.ca
bad78e7ff6 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc 2007-03-20 12:14:52 +00:00
bzbarsky@mit.edu
dbb74529c1 Be a little more careful about whether we have dirty roots. Bug 332807,
r+sr=dbaron
2007-03-13 21:21:03 +00:00
bzbarsky@mit.edu
ee666afbc7 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
roc+@cs.cmu.edu
12e5c0b139 Bug 372729. Layout scrollbars before onload fires. r+sr=bzbarsky 2007-03-08 01:37:06 +00:00
Olli.Pettay@helsinki.fi
8d0f36dccd Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00
bzbarsky@mit.edu
9417ea05ff Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky@mit.edu
8ec79d6764 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
Olli.Pettay@helsinki.fi
9a5f6bb6c7 Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc 2007-03-06 09:53:56 +00:00
roc+@cs.cmu.edu
b784fe1e15 Bug 363253. Move scrollframe attribute-setting out of reflow to a post-reflow callback. r+sr=dbaron 2007-03-05 01:39:53 +00:00