313 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
606f6e12e7 Bug 399412 - don't reflow overflow containers that are pending re-placement. Patch by fantasai <fantasai.cvs@inkedblade.net> r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258499 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-25 18:46:07 +00:00
mats.palmgren%bredband.net
0689b28c8c Temporarily forget the line container while calculating widths for next-in-flow children. b=477928 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256337 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 23:39:11 +00:00
roc+%cs.cmu.edu
1e202d073c Bug 422283. Make sure that an overflow container's next-in-flows are always also overflow containers. This means that when we convert a normal frame into an overflow container, we need to scan through its next-in-flows and make them overflow containers too. r=fantasai,sr=mats,a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255758 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 01:00:00 +00:00
roc+%cs.cmu.edu
d36937773d Bug 398332. Merge reflow statuses from out-of-flow frames more carefully so that we don't lose information about the primary reflow. r=fantasai,r+sr=dbaron,a=shaver
git-svn-id: svn://10.0.0.236/trunk@251877 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-28 13:39:41 +00:00
uriber%gmail.com
ef1494d9f7 Don't reserve space for start (end) margin on the first- (last-) in-flow if it has a previous (next) bidi continuation. bug=421419 r+sr=dbaron a1.9=dsicore
git-svn-id: svn://10.0.0.236/trunk@247574 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 21:54:35 +00:00
dbaron%dbaron.org
365d3bef72 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
dbaron%dbaron.org
21ab0dc965 Fix bug under some valid types of optimization where we cross margin and padding. b=420069 r+sr=roc a1.9b4=damons a-sheriff=sayrer
git-svn-id: svn://10.0.0.236/trunk@246768 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 01:52:06 +00:00
fantasai.cvs%inkedblade.net
cfb0969dfb fixed positioned elements print only on first and last pages b=417676 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@246412 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 12:19:18 +00:00
fantasai.cvs%inkedblade.net
573c3c24fb switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@246042 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 07:08:56 +00:00
bzbarsky%mit.edu
b06d3d6b21 Fix bug 416073: invalidate more things as needed during table reflow to prevent
glitches.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@245203 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 09:36:32 +00:00
roc+%cs.cmu.edu
57da355b9e Bug 405721. nsContainerFrame::RemoveFrame should search the frame's overflow list if the frame isn't found in the main child list. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@243083 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 01:12:01 +00:00
roc+%cs.cmu.edu
125b0cd82d Bug 404146. Simplifying the code a little
git-svn-id: svn://10.0.0.236/trunk@242793 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 03:23:35 +00:00
roc+%cs.cmu.edu
f21ce81f8b Bug 404146. Advancing through nsContainerFrame next-in-flows can make our InlineData->line invalid, so just null it out if it might have become invalid. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242790 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 03:18:44 +00:00
roc+%cs.cmu.edu
efff4e1693 Bug 322074. Check more carefully whether a transparent document is actually a top-level window. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@242770 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 22:50:29 +00:00
karlt+%karlt.net
4073d8d314 FinishReflowChild() with the final position for <msqrt> and <mpadded>
b=410132, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@242280 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 04:33:21 +00:00
hwaara%gmail.com
226ed12ee2 bug 392040, <select> menu requires multiple clicks to show up in zoom pages, r=bz, sr=roc, a=blocking1.9+. Also checking in a testcase for bug 404872
git-svn-id: svn://10.0.0.236/trunk@242019 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-22 21:07:59 +00:00
hwaara%gmail.com
8f36d2f127 bug 307204, implement support for transparent windows in XUL for Mac OS X. r=josh, sr=roc, approval1.9=damons
git-svn-id: svn://10.0.0.236/trunk@241781 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 19:40:20 +00:00
dholbert%cs.stanford.edu
1168f8ab9a Bug 404219: Reinsert (instead of discarding) frameList after failing to remove a frame from it. r=fantasai sr=roc a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@241680 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 19:22:12 +00:00
roc+%cs.cmu.edu
518e86507f Bug 407397. Don't 'optimize' by not reflowing when a 0x0 frame is removed. Bad Kipp. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240766 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:14:25 +00:00
bzbarsky%mit.edu
7251ffd56e Fix bug 406485. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240492 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 03:22:56 +00:00
fantasai.cvs%inkedblade.net
ed43ebe898 fix incorrect loop test condition for skipping irrelevant frames; update code to deal properly with skipped frames; b=404213 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240236 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-02 03:13:23 +00:00
bzbarsky%mit.edu
4b1e28809f Backing out bug 392040 to fix bug 404872. a="it's a blocker regression, and it's
keeping me and Gavin from using Bugzilla"


git-svn-id: svn://10.0.0.236/trunk@239912 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-25 23:17:23 +00:00
hwaara%gmail.com
e37db4a747 bug 392040, SELECT menu requires multiple clicks to show up on some pages. This also happened when using full page zoom. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239668 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-19 19:20:35 +00:00
fantasai.cvs%inkedblade.net
2690fc3557 nsOverflowContinuationTracker::Insert wasn't expecting to pull from overflowContainers list into same parent's excessOverflowContainers list, b=399843 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239472 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 19:23:07 +00:00
fantasai.cvs%inkedblade.net
740149dfcd nsOverflowContinuationTracker shouldn't assume frame won't get reflowed again before its continuation gets reflowed, b=398322, b=393956, r=dholbert sr=roc
git-svn-id: svn://10.0.0.236/trunk@237474 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 19:46:21 +00:00
dholbert%cs.stanford.edu
1a0935b276 Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc
git-svn-id: svn://10.0.0.236/trunk@237161 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 03:44:18 +00:00
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
asqueella%gmail.com
e3a8e85fdf fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@230686 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:31:12 +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
enndeakin%sympatico.ca
66f6fed78b 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
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
neil%parkwaycc.co.uk
a64fc10c10 Follow-up cleanup b=375403 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226340 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 10:06:57 +00:00
neil%parkwaycc.co.uk
2671ffbdb4 Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226257 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 15:46:42 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +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
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
30edf8a23c Bug 371620: Some selects have stopped working. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@221028 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 22:07:36 +00:00
sharparrow1%yahoo.com
bd0f540072 Bug 371536: Stop creating views for positioned elements. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220923 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-26 14:00:21 +00:00
sharparrow1%yahoo.com
56d89ecadc Bug 371460: Remove clipping functions from views. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220868 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 15:27:20 +00:00
sharparrow1%yahoo.com
ac106dc516 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
smontagu%smontagu.org
750b209c3e Bug 370255: ASSERTION: frame not dirty: 'aFrame->GetStateBits() & (NS_FRAME_IS_DIRTY | NS_FRAME_HAS_DIRTY_CHILDREN)' on changing page direction, r=uriber, sr=roc
git-svn-id: svn://10.0.0.236/trunk@220066 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 18:11:24 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
3af9eecb86 Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 17:20:01 +00:00
bmlk%gmx.de
a38d8c03a8 bustage fix
git-svn-id: svn://10.0.0.236/trunk@217430 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 18:34:59 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00