Commit Graph

5461 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
3a67f3ecac Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@225247 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:43:03 +00:00
bzbarsky%mit.edu
a794c3824d Fix bug 379229, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225246 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:17:03 +00:00
bzbarsky%mit.edu
2cace76786 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 fully
reflowed before onload fires.  Bug 379093, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225241 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 03:09:55 +00:00
mats.palmgren%bredband.net
6c97fe7252 Crash [@ nsPresContext::GetContainerInternal]. b=378682 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225137 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 11:06:22 +00:00
bzbarsky%mit.edu
6fa00af002 Back out the test code.
git-svn-id: svn://10.0.0.236/trunk@225119 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 02:06:50 +00:00
bzbarsky%mit.edu
dda1843310 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers.
git-svn-id: svn://10.0.0.236/trunk@225115 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:47:34 +00:00
bzbarsky%mit.edu
a9b2a04d77 Adding some test code for a single tinderbox run so I can see what's going on
with Tp2 and such.  Will back out after one cycle.


git-svn-id: svn://10.0.0.236/trunk@225112 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 22:46:05 +00:00
bzbarsky%mit.edu
cdf11094c2 Make sure to return at the end of a method that returns nsresult, in case
callers are actually checking the return value.  Bug 378827, patch by Ryan
VanderMeulen <ryanvm@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@225069 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:37:27 +00:00
bzbarsky%mit.edu
04e7f5a0a3 Handle restoring scroll position correctly even if InitialReflow comes after
EndLoad.  Bug 378606, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225068 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:33:02 +00:00
bzbarsky%mit.edu
4d238d61d2 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for an
initial reflow if we're doing that initial reflow a ways into the document
load.  Bug 378480, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225067 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:29:21 +00:00
bzbarsky%mit.edu
7c49bd8a89 Resolve the right (parentless) style context for a table as a document root,
and fix the assertion when adjusting parent style context frames to not trigger
in non-scrollable documents.  Bug 378693, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
sharparrow1%yahoo.com
ddefefe842 Followup for bug 370952 to fix an obvious bug. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@225063 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 01:34:28 +00:00
bzbarsky%mit.edu
f779dffd0f Remove the root from mDirtyRoots if we resize-reflow it, so that we don't get
assertions about frame state not matching with whether the frame is in
mDirtyRoots.  Bug 374167, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225054 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 00:17:50 +00:00
sharparrow1%yahoo.com
798f5d7058 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225010 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 15:49:55 +00:00
sharparrow1%yahoo.com
03f60854e8 Backing out bug 370952 due to mac tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@224995 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 10:44:29 +00:00
sharparrow1%yahoo.com
fd7f27e45a Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224994 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 08:22:28 +00:00
bzbarsky%mit.edu
e06f02a85d Back out. This actually hurts Tp2, the mac reftests are _still_ orange
git-svn-id: svn://10.0.0.236/trunk@224929 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 07:33:58 +00:00
bzbarsky%mit.edu
d341915f41 Another peformance test for bug 378480. Will back out in a few cycles.
git-svn-id: svn://10.0.0.236/trunk@224928 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 05:46:11 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
860ed60891 Seems to cause orange, and doesn't help Tp2, so backing out. :(
git-svn-id: svn://10.0.0.236/trunk@224879 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 10:21:41 +00:00
bzbarsky%mit.edu
c63856cfe2 Trying something to see its effect on Tp2. Will back out in the morning.
Followup to bug 84582, no reviews yet.


git-svn-id: svn://10.0.0.236/trunk@224878 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 09:36:40 +00:00
Olli.Pettay%helsinki.fi
000cc6d785 Bug 378325, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224871 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 05:53:27 +00:00
sayrer%gmail.com
ce6149b9b4 bug 378339. nsFrameIterator doesn't initialize mOffEdge. r=uriber, sr=roc
git-svn-id: svn://10.0.0.236/trunk@224869 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 04:14:25 +00:00
bzbarsky%mit.edu
8d22ae89ff Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +00:00
enndeakin%sympatico.ca
1f82e44d11 Bug 374570, constrain popups to frame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224799 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 18:20:04 +00:00
sayrer%gmail.com
5c7b4937f1 Bug 375434. cleanup constructor in nsPresContext.cpp. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224754 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 19:11:42 +00:00
dbaron%dbaron.org
3480ec552c Fix regression of background-position serialization. b=258080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224700 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-18 20:41:15 +00:00
bzbarsky%mit.edu
298f4922e3 Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224563 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:42:54 +00:00
bzbarsky%mit.edu
160bb21d7b Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224562 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:11:34 +00:00
bzbarsky%mit.edu
03efa866b7 Change the way we determine the style context parent frame to skip css anon
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame).  Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610.  As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
uriber%gmail.com
4496c865f9 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
git-svn-id: svn://10.0.0.236/trunk@224533 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 16:51:20 +00:00
roc+%cs.cmu.edu
817b30368a Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224493 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-13 16:50:57 +00:00
bzbarsky%mit.edu
7bd0cdb140 Treat <mtable> as special, since the outermost frame it creates is not in fact
a table-related frame.  Bug 374193, r=bernd, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@224353 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 16:24:02 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
roc+%cs.cmu.edu
a683548fea Bug 375917. Pass appunits-per-CSS-pixel ratio to DrawSolidBorderSegment instead of some meaningless boolean. patch by Jeremy Lea, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222621 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 02:53:45 +00:00
enndeakin%sympatico.ca
ed2f6886b6 Bug 375684, assertion when source of a drag is the root element, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222616 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 23:58:59 +00:00
sharparrow1%yahoo.com
ef6b113983 Bug 375508: Outline drawing broken when outline doesn't overflow. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@222527 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-28 05:53:29 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
sharparrow1%yahoo.com
783659454a Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
Olli.Pettay%helsinki.fi
6de13cdbca 375196, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +00:00
enndeakin%sympatico.ca
7fe266a9bd Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222382 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 03:27:53 +00:00
sharparrow1%yahoo.com
082bcd1c48 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222379 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 01:12:49 +00:00
sharparrow1%yahoo.com
cdeef2aae3 Bug 374050: add printing test mode to reftests. See bug/sample test for how to make printing tests.
git-svn-id: svn://10.0.0.236/trunk@222137 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 06:07:42 +00:00
dbaron%dbaron.org
fe888bd0cd Use the intersected dirty rect, like I meant to, to fix bugs on platforms that don't handle negative src rect coordinates in images (and maybe performance regression?). b=374579 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@222115 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 20:36:59 +00:00
enndeakin%sympatico.ca
ae6cfb8b02 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc
git-svn-id: svn://10.0.0.236/trunk@222094 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 12:14:52 +00:00
dbaron%dbaron.org
e81955cfa2 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58:20 +00:00
roc+%cs.cmu.edu
f5990f8727 Bug 178513. Add nsDisplayList API that Neil's going to need --- a way to force all frames to be painted regardless of the setup of dirty rects. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@222022 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 03:25:05 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
joshmoz%gmail.com
c74127ff75 don't rely on language features to construct/destruct instance of InlineBackgroundData. b=373305 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221889 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 19:48:51 +00:00
bzbarsky%mit.edu
6425673982 Be a little more careful about whether we have dirty roots. Bug 332807,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@221836 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 21:21:03 +00:00