800 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
716c58ab80 Bug 455283. Remove unused virtual function that was screwing up nsIFrame users. r+sr=bz,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@254244 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-16 21:41:22 +00:00
bzbarsky%mit.edu
f9d965c3dd Fix bug 449362. r+sr=roc, a=samuelsidler
git-svn-id: svn://10.0.0.236/trunk@253822 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 20:41:10 +00:00
roc+%cs.cmu.edu
a1b5121da7 Bug 422607. Fix rounding error in submenu positioning. Patch by Kai Liu, r=enndeakin,sr=roc,a=ss
git-svn-id: svn://10.0.0.236/trunk@253619 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 09:36:49 +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
peterv%propagandism.org
c14c51d465 Fix for bug 388659 (Links become undraggable when document contains contenteditable element). r/sr=roc, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@250449 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 13:27:02 +00:00
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
fantasai.cvs%inkedblade.net
f493b19190 consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250437 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 07:40:37 +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
16efba0a15 Bug 425253. Propagate reflow-depth tracking through XUL box layout. r+sr=dbaron,a=damon
git-svn-id: svn://10.0.0.236/trunk@249966 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-10 04:39:42 +00:00
dbaron%dbaron.org
aa8191ed1b Disable a small part of the fix for bug 416168 to fix a regression with outlines of certain empty inlines. b=424236 r+sr=roc a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@249675 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 03:55:32 +00:00
roc+%cs.cmu.edu
6e8f70625c Bug 424873. Make GetWidgetOverflow take the new frame size as input instead of using the possibly-stale old frame size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@248979 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 23:34:21 +00:00
reed%reedloden.com
bf17b4938f Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248566 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 23:19:46 +00:00
reed%reedloden.com
7b819fafd2 Back out Robert O'Callahan's patch from bug 423385 due to mochitest failure.
git-svn-id: svn://10.0.0.236/trunk@248524 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 06:26:53 +00:00
reed%reedloden.com
1b9c8a2032 Bug 423385 - "floating parent does not size correctly with floating child using negative margin" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248518 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 04:50:12 +00:00
roc+%cs.cmu.edu
f86284ab1a Backing out 413027 again.
git-svn-id: svn://10.0.0.236/trunk@247721 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 09:14:17 +00:00
roc+%cs.cmu.edu
87c7eadcee Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with additional XUL box layout fix to increase the frame size to the minimum size required by children even if they don't change size during layout, and a fix to scrollframes so they don't depend on being able to set a size for scrollbars less than their minimum size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247719 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 08:40:44 +00:00
roc+%cs.cmu.edu
2087436450 Bug 413027 backed out again
git-svn-id: svn://10.0.0.236/trunk@247603 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 02:01:17 +00:00
roc+%cs.cmu.edu
1f9f6e93cb Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul
git-svn-id: svn://10.0.0.236/trunk@247602 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 01:05:26 +00:00
roc+%cs.cmu.edu
09a7cb12fb Backing out bug 413027
git-svn-id: svn://10.0.0.236/trunk@247536 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 08:36:03 +00:00
roc+%cs.cmu.edu
b560f9cc23 Bug 413027. The XUL min-size and pref-size for a CSS block should just be its height when reflowed at its preferred width --- NOT the height of the tallest line, that is insane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247526 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:38:26 +00:00
bzbarsky%mit.edu
68a7a257fb Make sure to do saturating adds on possibly-unconstrained nscoords. Bug
421404, r=dholbert, sr=roc, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@247329 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 21:20:03 +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
roc+%cs.cmu.edu
bf8d1cd760 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246910 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 08:37:35 +00:00
roc+%cs.cmu.edu
bcd6b5373f Bug 416168. Ensure that the overflow rect for a frame always includes (0,0) even if the frame rect is empty. Also ensures that if the frame rect is empty but has non-zero dimension on one axis, the overflow rect includes that size. A scrolled view for such a frame also includes that size to ensure width:0,height:Npx and width:Npx,height:0 frames are scrollable by that amount. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246659 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:46:23 +00:00
uriber%gmail.com
dcdb49841e Add a comment and assertion to the fix for bug 370174. r+sr=roc on the original patch. blocking1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@246364 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 10:54:29 +00:00
uriber%gmail.com
31501ac213 Don't crash on triple-clicking when there's an orphan content somewhere. bug=370174 r+sr=roc blocking1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@246323 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 21:21:15 +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
jonas%sicking.cc
39d4ac87a1 Bug 399352: Get rid of known-but-harmless assertions for GetUsedMargin/Border/Padding. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@244476 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 04:53:46 +00:00
fantasai.cvs%inkedblade.net
faf43a02d0 handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@244135 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 08:13:21 +00:00
dwitte%stanford.edu
17637c1a37 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@242851 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 20:56:50 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
roc+%cs.cmu.edu
93254e36f5 Bug 405380. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240881 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 00:42:20 +00:00
roc+%cs.cmu.edu
967008ce95 Bug 407155. Backing out 392809 to fix regressions. a=schrep
git-svn-id: svn://10.0.0.236/trunk@240603 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:35:45 +00:00
roc+%cs.cmu.edu
da23161809 Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240480 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:11:17 +00:00
roc+%cs.cmu.edu
c0a6fa787e Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240211 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 09:24:25 +00:00
Olli.Pettay%helsinki.fi
e60089b398 Bug 368760, r=mats, sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
jwatt%jwatt.org
96b895330a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@239599 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 12:09:09 +00:00
dholbert%cs.stanford.edu
a64bae2eaf Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have
unconstrained heights.  r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@239069 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 17:16:36 +00:00
reed%reedloden.com
fa6b15d097 Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238953 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:33:28 +00:00
dholbert%cs.stanford.edu
9a4ba52ae3 Bug 398215 - Add RTL case for handling overflow width in BoxReflow. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238901 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 11:18:30 +00:00
dholbert%cs.stanford.edu
a5783ae5f6 Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@238602 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:47:29 +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
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
tglek%mozilla.com
1b2f5bc689 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +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
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
reed%reedloden.com
fd4215a28b Bug 393979 - "Remove orphaned comment in nsFrame::BoxReflow" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@236762 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 16:44:24 +00:00
roc+%cs.cmu.edu
a99d29a1d9 Bug 368445. Make ApplyOverflowClipping compute the right padding-rect when native themes override the border. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236625 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 00:47:05 +00:00