33 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
d5f26e9e59 Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@250443 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 09:21:21 +00:00
roc+%cs.cmu.edu
fd2f3d9046 Bug 428156 backout
git-svn-id: svn://10.0.0.236/trunk@250358 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 11:52:32 +00:00
roc+%cs.cmu.edu
99445ef8c2 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250347 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-17 08:15:14 +00:00
roc+%cs.cmu.edu
ae97c2e544 Bug 424915. Improve display list analysis so that sites with content covered by the scrolling element, such as GMail, can use bitblit scrolling. r+sr=dbaron,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250039 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 03:46:37 +00:00
roc+%cs.cmu.edu
a527eabdb0 Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@249795 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 13:06:13 +00:00
roc+%cs.cmu.edu
c64d67f6eb Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@249686 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 11:34:14 +00:00
roc+%cs.cmu.edu
40c0344192 Bug 417967. Align subframe drawing so that drawing at (0,0) relative to the root view's origin is aligned to a pixel boundary. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@246427 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 01:39:35 +00:00
roc+%cs.cmu.edu
af5a6ea598 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@242342 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 02:08:30 +00:00
roc+%cs.cmu.edu
d393d4d00c Bug 407889. Reduce dynamic memory allocations by putting nsDisplayListBuilder's per-presshell state in an nsAutoTArray. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@242341 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 01:53:01 +00:00
reed%reedloden.com
0bb73ac79e Bug 399532 - "nsDisplayBackground::GetBounds() should take nsITheme overflow into account" [p=frnchfrgg-mozbugs@altern.org (_FrnchFrgg_) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@241617 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 05:26:38 +00:00
pavlov%pavlov.net
94636677c0 bug 403287. use an nsAutoTArray instead of an nsVoidArray to avoid heap allocations. r/sr=roc a=schrep
git-svn-id: svn://10.0.0.236/trunk@239159 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 20:31:39 +00:00
dholbert%cs.stanford.edu
723ad12919 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
r=bzbarsky, r+a=roc


git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00
gerv%gerv.net
72c5565ee0 Bug 398009 - fix mangled license headers. a=stuart.
git-svn-id: svn://10.0.0.236/trunk@237358 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 12:08:47 +00:00
jwalden%mit.edu
970dfaf24a Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +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
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
roc+%cs.cmu.edu
3e19b7fc4a Bug 350148. Fix scrolling in IFRAMEs with borders or outlines, by having OptimizeVisibility take account of the fact that borders or outlines whose inner rectangle entirely encloses the visible area are not, in fact, visible. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212027 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:58:52 +00:00
bzbarsky%mit.edu
b869f56794 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
roc+%cs.cmu.edu
1f8c8f9667 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
cf55a52a05 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
git-svn-id: svn://10.0.0.236/trunk@195504 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:25:23 +00:00
mrbkap%gmail.com
3c487a18f8 Fixing bustage from bug 287813.
git-svn-id: svn://10.0.0.236/trunk@194568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 00:17:42 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
roc+%cs.cmu.edu
4fb2b61671 Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
git-svn-id: svn://10.0.0.236/trunk@194544 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:16:24 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
gerv%gerv.net
c061325c8a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193303 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 06:28:40 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
roc+%cs.cmu.edu
c469d694c3 Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
5d24370005 Bug 324896. Always paint some kind of background when we're asked to paint, for non-translucent windows. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@189039 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:38:47 +00:00
bzbarsky%mit.edu
fb8579f413 Fix leak bug 324969 -- make sure to call virtual destructors.
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu
bb49e8220e Fixing more build bustage and warnings. Bug 317375
git-svn-id: svn://10.0.0.236/trunk@188218 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu
99b6deb7c4 Fixing my bustage.
git-svn-id: svn://10.0.0.236/trunk@188208 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 03:33:38 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00