5464 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
90e187eb4b Whitespace-only change -- fixing too-little-indentation in two lines
added from bug 385607.


git-svn-id: svn://10.0.0.236/trunk@240959 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-13 00:24:32 +00:00
dbaron%dbaron.org
1dd488f200 Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240947 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:51:18 +00:00
dbaron%dbaron.org
ca599b55f9 Remove some code that handles unconstrained widths (and fix nsFirstLetterFrame not to pass them). b=407086 r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240946 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:51:00 +00:00
dbaron%dbaron.org
22d9c531fb Remove unused nsHTMLReflowState::mRightEdge. b=407086 r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240945 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:50:27 +00:00
dbaron%dbaron.org
462626a042 Fix comment describing nsBlockFrame.
git-svn-id: svn://10.0.0.236/trunk@240944 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:49:14 +00:00
roc+%cs.cmu.edu
ca8c1bc4b0 Bug 407009. In the last-ditch reflow of a scrollframe, only show the scrollbars which are not styled 'hidden'. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240895 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:28:50 +00:00
roc+%cs.cmu.edu
96a373842b Bug 404180. 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@240888 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:43:09 +00:00
roc+%cs.cmu.edu
fb0f869d56 Bug 363729. Don't allow fixed-pos tables to have abs-pos children. r=dholbert,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240886 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:21:34 +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
aaronleventhal%moonset.net
22e406de1d Bug 405810. Expose line-number object attribute for caret in focused area. r=ginn, sr=roc, a=schrep
git-svn-id: svn://10.0.0.236/trunk@240835 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 14:15:22 +00:00
roc+%cs.cmu.edu
2c5d44fc02 Bug 407078. Don't allow a trailing break in a text run that is followed by a <br>. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240769 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:21 +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
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
6cdf26cc6c Bug 407111. Correctly set whether a break opportunity after non-text content fits. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@240602 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:17:19 +00:00
roc+%cs.cmu.edu
fe799531e5 Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@240597 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 03:27:01 +00:00
roc+%cs.cmu.edu
f358ec0c78 Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@240596 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 03:16:08 +00:00
roc+%cs.cmu.edu
82bba27062 Bug 407015. Dropdown listboxes should not propagate computed height from the scrollframe to its scrolled content. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240595 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 00:10:32 +00:00
roc+%cs.cmu.edu
fd3ca70efc Bug 405577. Allow available width to go negative for inlines/text, so we can tell whether zero-width content fits or not. Also allow textframes to honour a forced break at the end of the text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240555 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-06 01:24:04 +00:00
smontagu%smontagu.org
9a091c85e5 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@240520 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 08:15:15 +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
roc+%cs.cmu.edu
a497169ebc Bug 375304. Make nsHTMLScrollFrame handle situations where the child content height depends on our height. patch by Eli Friedman, r+sr=roc,dbaron
git-svn-id: svn://10.0.0.236/trunk@240490 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 03:05:57 +00:00
roc+%cs.cmu.edu
90eb0469a3 Bug 406568. Don't reflow abs-pos kids of a block if we're going to reflow it again because of a clearance change. r=sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240489 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:57:53 +00:00
roc+%cs.cmu.edu
8e0c701995 Backing out unintentionally-checked in stuff
git-svn-id: svn://10.0.0.236/trunk@240481 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:12:40 +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
dmose%mozilla.org
0714b46c51 Backing out fix for bug 392785 as per roc + mconnor.
git-svn-id: svn://10.0.0.236/trunk@240455 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 23:32:09 +00:00
dholbert%cs.stanford.edu
41dba10844 Bug 402567: make scrollframe GetMinWidth return the scrolled frame's min-width.
r+sr=dbaron a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@240446 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 22:03:17 +00:00
roc+%cs.cmu.edu
4208f529c8 Bug 406484. Do RecoverStateFrom for not-dirty inline lines containing floats when willReflowAgain is true, because the floats must be moved by deltaY. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240372 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 01:30:50 +00:00
bzbarsky%mit.edu
286f59f40e Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst,
a=dsicore.


git-svn-id: svn://10.0.0.236/trunk@240354 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 22:09:00 +00:00
bzbarsky%mit.edu
781a6f73d7 Relanding bug 403657, since there was no obvious perf impact
git-svn-id: svn://10.0.0.236/trunk@240346 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:31:26 +00:00
dholbert%cs.stanford.edu
f371353c58 Re-landing Bug 405517, after backing it out to look for Ts regression.
(no regression found)


git-svn-id: svn://10.0.0.236/trunk@240343 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 20:41:24 +00:00
dholbert%cs.stanford.edu
eba8c70863 Backing out Bug 405517 to see if it causes a Ts regression
git-svn-id: svn://10.0.0.236/trunk@240338 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 19:34:45 +00:00
bzbarsky%mit.edu
860878edad Backing out bug 403657 to see whether it causes the Ts regression
git-svn-id: svn://10.0.0.236/trunk@240331 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 18:32:51 +00:00
reed%reedloden.com
caa5cf452e Bug 368554 - "[quirks] Image inside table inside table-cell with small width is wrapped" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@240292 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 09:24:50 +00:00
roc+%cs.cmu.edu
e9b2057bb2 Bug 403426. We should clear whitespace status when we reset the linebreaker. If a final break opportunity exists we should save it and forward it to the line layout. Relanding with a fix so hopefully we won't crash Tp this time. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240287 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 08:23:31 +00:00
masayuki%d-toybox.com
425bca40e0 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@240281 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:51:59 +00:00
bzbarsky%mit.edu
61e0f4bf4a Don't position bullets on empty list items too high. Bug 403657, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240275 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 05:33:22 +00:00
dholbert%cs.stanford.edu
da0ac73930 Bug 405517: Allow margins to affect empty line y-pos, to enforce
emptyLine.mBounds.y always == emptyLine.next().mBounds.y
r+sr=roc, a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@240274 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 05:30:02 +00:00
roc+%cs.cmu.edu
8a92691371 Bug 406297. Assertion about stale float caches should not fire when the line is not dirty, because the float cache is not stale in that case. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@240272 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 04:25:02 +00:00
roc+%cs.cmu.edu
8598444b4b Relanding bug 404624 because it was not, in fact, responsible for that assert
git-svn-id: svn://10.0.0.236/trunk@240270 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 04:18:37 +00:00
roc+%cs.cmu.edu
fe0baddfd0 Backing out fix for bug 404624 because I think it's causing a mochitest to assert
git-svn-id: svn://10.0.0.236/trunk@240268 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 02:20:22 +00:00
roc+%cs.cmu.edu
79891ce84c Relanding fix for bug 404624 because it had no effect on Tp
git-svn-id: svn://10.0.0.236/trunk@240264 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 01:42:52 +00:00
roc+%cs.cmu.edu
272266834f Backing out bug 404624 to see if it fixed Tp regression on bl-bldxp01
git-svn-id: svn://10.0.0.236/trunk@240251 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-02 20:47:41 +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
roc+%cs.cmu.edu
1d260b234d Backing out bug 375304 to fix reftest failures.
git-svn-id: svn://10.0.0.236/trunk@240221 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 11:49:14 +00:00
roc+%cs.cmu.edu
3350e65107 Bug 400244. Remove UndoSplitPlaceholders which is not only unnecessary but actually harmful/crashy. r=fantasai,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240219 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:51:56 +00:00
mats.palmgren%bredband.net
0fbd4d199e Propagate |aRemoveOnlyFluidContinuations| when removing continuations in other blocks. b=405178 r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@240218 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:47:59 +00:00
roc+%cs.cmu.edu
b3bb8ffcc4 Bug 375304. Fix absolute positioning where the abs-pos container is scrollable and has a height constrained by min-height etc. Patch by Eli Friedman, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@240216 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:38:09 +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
roc+%cs.cmu.edu
7e224dea7d Bug 406137. Fix crashes on redhat.com etc by avoiding RecoverFloats traversing stale float caches. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240207 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 08:29:02 +00:00
reed%reedloden.com
ffb383f98a 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+]
git-svn-id: svn://10.0.0.236/trunk@240204 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 07:22:45 +00:00