Commit Graph

505 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
35a78c727b Speed up page zoom by skipping the unnecessary resize reflow when we tell the viewmanager about its new size, since we plan to go ahead and do a full dirty reflow right after that. Bug 403660, patch by Daniel Brooks <db48x@yahoo.com>, r=bzbarsky, sr=roc 2008-01-28 20:10:59 -08:00
roc+@cs.cmu.edu
04ea5b16d9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
reed@reedloden.com
0a63d0913d Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) / chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
bzbarsky@mit.edu
a0a4bcad25 Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron 2008-01-17 21:23:44 -08:00
hwaara@gmail.com
9fc1c6a41c bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons 2007-12-19 11:40:18 -08:00
reed@reedloden.com
98141f6d9e Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
Olli.Pettay@helsinki.fi
cb300c549e Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-22 07:08:13 -08:00
Olli.Pettay@helsinki.fi
022f68b3c4 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-20 14:30:27 -08:00
Olli.Pettay@helsinki.fi
7181683a48 Bug 401528, backing out, because of crashes 2007-11-15 00:49:35 -08:00
Olli.Pettay@helsinki.fi
0ea4e7e78b backout Bug 373344, the assertion is still there :( 2007-11-13 02:54:01 -08:00
Olli.Pettay@helsinki.fi
d4a4211345 Bug 373344, r+sr=roc, a=blocking1.9+ 2007-11-13 02:29:29 -08:00
peterv@propagandism.org
1c227b78cc Fix for bug 394264 (Ctrl+Home doesn't work, in the body of a message being composed). r=Neil, sr=jst. 2007-11-12 06:46:13 -08:00
Olli.Pettay@helsinki.fi
788a7e1a07 Bug 401528, Must click twice to open link if fixed positioned div is removed on onmouseup: clicks pass through, r+sr=roc, a=blocking1.9+ 2007-11-12 04:20:41 -08:00
Olli.Pettay@helsinki.fi
0519bd5e7b back out Bug 373344 2007-11-09 01:40:45 -08:00
Olli.Pettay@helsinki.fi
d1e49614f0 Bug 373344, r+sr=roc, a=beltzner 2007-11-09 01:27:49 -08:00
reed@reedloden.com
585bdc919b Bug 401361 - Draw correctly when drawWindow is called on a window using fullZoom [p=roc r+sr=vlad a=blocking1.9+] 2007-11-07 20:43:36 -08:00
reed@reedloden.com
36828cf90a Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-07 20:39:02 -08:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
bzbarsky@mit.edu
a027b56a4f Don't run XBL constructors during frame construction, ever. Bug 398006, r=sicking, sr=roc 2007-10-18 20:51:15 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
mrbkap@gmail.com
51598ca325 Restore the right caret in all cases. bug 395888, r+sr+a=roc 2007-09-22 14:06:58 -07:00
bzbarsky@mit.edu
e400c6fe35 Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
bzbarsky@mit.edu
65e44633c8 Fix bug 396286. r+sr+a=roc 2007-09-17 18:16:39 -07:00
bzbarsky@mit.edu
97c97d8a5f Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc 2007-09-14 12:15:44 -07:00
surkov.alexander@gmail.com
017060dc17 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore 2007-09-05 01:00:40 -07:00
bzbarsky@mit.edu
b0d2800c3f Make sure content is up to date before we start processing restyles. Bug 393801, r+sr+a=roc 2007-09-04 01:31:01 -07:00
martijn.martijn@gmail.com
dd8687a04c Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray, patch by Alfred Kayser, r+sr=roc, a=dbaron 2007-08-30 08:29:06 -07:00
gijskruitbosch@gmail.com
b0138c1358 Backing out fix for bug 92543 due to build bustage 2007-08-28 02:10:22 -07:00
gijskruitbosch@gmail.com
b095022a82 Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr=roc@ocallahan.org (Robert O'Callahan) a=dbaron@mozilla.com (David Baron) 2007-08-28 01:53:33 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
9d5ecb58f1 Fix Windows build bustage 2007-08-21 20:16:18 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
Olli.Pettay@helsinki.fi
d023c05d44 Bug 373911, r=bz, sr=dbaron, a=1.9+ 2007-08-21 14:45:00 -07:00
bzbarsky@mit.edu
f75c135498 Followup for bug 390423: remove a now-unused variable. Patch by Ben Karel <web+moz@eschew.org>, r+sr+a=bzbarsky 2007-08-17 23:13:10 -07:00
philringnalda@gmail.com
48c8d7714f Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
4c1685120f Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
dbaron@dbaron.org
fc5d9ad4ab Relanding patch for bug 387884 that I accidentally reverted while relanding bug 66619 (a=DEBUG-only): Patch by jwatt@jwatt.org: Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-08-02 17:09:18 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
asqueella@gmail.com
b562b1a8cf Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
peterv@propagandism.org
b5220dfda1 Fix for bug 386300 (Caret disappears when pressing UP at the top of a contenteditable region). r/sr=jst. 2007-07-19 02:47:49 -07:00
enndeakin@sympatico.ca
d871c755b7 Bug 388064, remove extra active popup list from presshell, since popup manager now tracks popups, and does so for all popups, r+sr=roc 2007-07-16 07:53:32 -07:00
dbaron@dbaron.org
855e6829f6 Don't drop empty rectangles on the floor. b=388019 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:55:04 -07:00
dbaron@dbaron.org
7c3a033999 Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-15 22:53:19 -07:00
dbaron@dbaron.org
67b7eda534 Back out bug 66619 until I get review on bug 388019. 2007-07-13 22:18:09 -07:00
jwatt@jwatt.org
aceedd0816 Fixing bug 387884. Use of assignment instead of comparison in assertion. r+sr=roc@ocallahan.org 2007-07-13 04:03:48 -07:00
dbaron@dbaron.org
1a03b72c9c Make ScrollContentIntoView consider continuations so that tabbing to a multi-line link makes the whole thing visible. b=66619 r=sharparrow1@yahoo.com sr=roc@ocallahan.org 2007-07-12 16:48:37 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
777ecef0f6 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky. 2007-07-07 16:52:59 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
sharparrow1@yahoo.com
c42eac0192 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc 2007-07-03 15:49:00 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
sharparrow1@yahoo.com
2dfa401cab Bug 385862: View usage cleanups. r+sr=roc 2007-06-27 09:37:50 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
bzbarsky@mit.edu
b689f46a37 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
sharparrow1@yahoo.com
2c7439459f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc 2007-05-22 17:11:05 -07:00
mats.palmgren@bredband.net
242b3deec7 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
dbaron@dbaron.org
8d20e3f29b 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
bzbarsky@mit.edu
63661ce0ab 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
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
mats.palmgren@bredband.net
ba05ce501d 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
bzbarsky@mit.edu
2464dea33d Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc 2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
3cb4bc9240 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
sharparrow1@yahoo.com
7b9d18d3fe Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc 2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
2d01bfcf6a 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
aaronleventhal@moonset.net
76c30e6edf Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 19:19:18 -07:00
aaronleventhal@moonset.net
7385300b31 Backing out accidental checkin for bug 357583 2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6b2f0681ff Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc 2007-05-03 12:22:24 -07:00
bzbarsky@mit.edu
32d3d359f4 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
bzbarsky@mit.edu
e83c55e645 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
bzbarsky@mit.edu
8416080bd2 Fix build bustage 2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
05d5e6a371 Fix bug 379229, r+sr=dbaron 2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
2172c60660 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
bzbarsky@mit.edu
e0ed942e8a Back out the test code. 2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
a5e93e2e05 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers. 2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
789ffd0e73 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
bzbarsky@mit.edu
b7a4fc60e7 Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc 2007-04-25 19:33:02 -07:00
sharparrow1@yahoo.com
59eeb27c4d Followup for bug 370952 to fix an obvious bug. r+sr=dbaron. 2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
860a7a4ebd 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
sharparrow1@yahoo.com
5885215d03 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron 2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
add7264218 Backing out bug 370952 due to mac tinderbox bustage 2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
13e6ddd1c4 Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron 2007-04-25 01:22:28 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
bzbarsky@mit.edu
2491d0c723 Seems to cause orange, and doesn't help Tp2, so backing out. :( 2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
1e5e8e3c76 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
Olli.Pettay@helsinki.fi
e53440116d Bug 378325, r+sr=roc 2007-04-22 22:53:27 -07:00
enndeakin@sympatico.ca
9e554b3e8b Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
uriber@gmail.com
ac620263e8 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
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
enndeakin@sympatico.ca
1a17f18934 Bug 375684, assertion when source of a drag is the root element, r+sr=roc 2007-03-29 16:58:59 -07:00
enndeakin@sympatico.ca
d8627a0a9d 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
sharparrow1@yahoo.com
bdebedc073 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc 2007-03-25 18:12:49 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00