5054 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
1b5b174eb2 Backing out bug 403426
git-svn-id: svn://10.0.0.236/trunk@240170 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:52:25 +00:00
roc+%cs.cmu.edu
bb4d972143 Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240157 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:03:33 +00:00
roc+%cs.cmu.edu
f81dae4b91 Bug 404624. Silence assertion failures by allowing PropertyProvider's content length to be PR_INT32_MAX. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@240156 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 19:59:03 +00:00
roc+%cs.cmu.edu
90590b201a Bug 320378. Skip reflowing lines in ReflowDirtyLines if we know that we're going to come back here because clearance was detected. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240132 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 01:49:01 +00:00
uriber%gmail.com
9425466c18 test for bug 288789. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@239938 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 20:05:25 +00:00
smontagu%smontagu.org
ff356fc517 Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239919 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 08:27:06 +00:00
bzbarsky%mit.edu
44fb7d7965 Fix bug 403134. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239913 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 00:15:21 +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
bzbarsky%mit.edu
b581adf7dc Don't resize widgets to negative sizes. Bug 397871, r+sr=roc, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@239886 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-23 23:18:08 +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