5464 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
dholbert%cs.stanford.edu
e0ca82aa1a Bug 503961: Initialize block-reflow-state's nsOverflowContinuationTracker a little later, so that it doesn't end up with stale overflow-list pointers. r=fantasai r=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@258412 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-17 19:06:27 +00:00
mats.palmgren%bredband.net
34c9000324 Don't call CalculateContentBottom inside PR_MAX(), which evaluates its arguments twice. (Bug 511482) r=dbaron a1.9.0.15=dveditz
git-svn-id: svn://10.0.0.236/trunk@258320 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-04 20:41:56 +00:00
karlt+%karlt.net
4f43733aa9 b=453827 block-height line-height r=bz sr=dbaron a=ss
git-svn-id: svn://10.0.0.236/trunk@258087 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 21:31:55 +00:00
dholbert%cs.stanford.edu
fa4bd491ee Bug 437565: In space manager, broaden the conditions under which we clear cached pointer before deleting a bandrect. r=dbaron a=ss
git-svn-id: svn://10.0.0.236/trunk@258046 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-11 00:04:38 +00:00
bzbarsky%mit.edu
4b30b90a2d Bug 494283. Clean up placeholders better. r=dbaron, a=samuelsidler
git-svn-id: svn://10.0.0.236/trunk@257965 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-06 21:31:52 +00:00
dholbert%cs.stanford.edu
5e970e7388 Bug 502017: In block reflow, make sure to return an incomplete reflow status whenever we skip pulling from our next-in-flow. (Re-landing after test_bug343416.xul test failure was cleared) original_patch=bz backport=me r=roc a1.9.0.13=dveditz
git-svn-id: svn://10.0.0.236/trunk@257688 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-13 05:25:54 +00:00
bzbarsky%mit.edu
a7f11bd265 Bug 493649. Make sure that we never end up incomplete when our available height is unconstrained. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@257686 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-11 06:07:07 +00:00
dholbert%cs.stanford.edu
5333242595 Backing out Bug 502017 -- appears to have caused failure in test_bug343416.xul on mac tinderbox
git-svn-id: svn://10.0.0.236/trunk@257684 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-10 22:57:26 +00:00
dholbert%cs.stanford.edu
497f1cd118 Bug 502017: In block reflow, make sure to return an incomplete reflow status whenever we skip pulling from our next-in-flow. original_patch=bz backport=me r=roc a1.9.0.13=dveditz
git-svn-id: svn://10.0.0.236/trunk@257683 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-10 19:53:24 +00:00
dholbert%cs.stanford.edu
ab9530997a Bug 465651: Move ReflowOverflowContainerChildren earlier in nsBlockFrame::Reflow. r+sr=roc a1.9.0.13=dveditz
git-svn-id: svn://10.0.0.236/trunk@257682 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-10 18:56:34 +00:00
dholbert%cs.stanford.edu
1f3b317691 Bug 466763: Delete all text frame continuations when deleting first letter frame. Patch by Simon Montagu <smontagu@smontagu.org> r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257476 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-12 19:28:39 +00:00
roc+%cs.cmu.edu
ffd384d773 Bug 472950. Only do the lazy-set-parent-pointer optimization if we have no children and no next-in-flow. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@257473 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-12 03:06:13 +00:00
smontagu%smontagu.org
594d1b97d5 Bug 493652: First-line style applies to two lines when first-letter style also used. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257466 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-11 15:26:21 +00:00
smontagu%smontagu.org
153d04befe add crashtest
git-svn-id: svn://10.0.0.236/trunk@257457 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-10 10:38:01 +00:00
dveditz%cruzio.com
e26895f495 Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. patch by roc, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257209 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-16 19:37:37 +00:00
dholbert%cs.stanford.edu
5e5bacba35 Bug 472776. Don't accidentally clear TEXT_IN_TEXTRUN_USER_DATA after we just set it. Patch by Robert O'Callahan <robert@ocallahan.org> r=smontagu a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257103 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-02 23:54:33 +00:00
dholbert%cs.stanford.edu
e281cd7dfc bug 431260: check in crashtests
git-svn-id: svn://10.0.0.236/trunk@257083 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-30 17:01:22 +00:00
dholbert%cs.stanford.edu
ade300bff5 Bug 489647: Update to revised patch from bug 467150. r=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257030 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 17:18:43 +00:00
mats.palmgren%bredband.net
f3d864281b Crash test for bug 421671 and bug 444027.
git-svn-id: svn://10.0.0.236/trunk@256338 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 23:41:20 +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
mats.palmgren%bredband.net
73da1c964c Keep track of the line container and forget the current line if it's for a different container. b=444027 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@256336 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 23:39:03 +00:00
dholbert%cs.stanford.edu
f1bca53a79 (Patch #2 to fix Bug 431260) Bug 455826 - Look into overflow-lists of inlines to find text when we're building textruns. Patch by Robert O'Callahan <robert@ocallahan.org> r=smontagu
git-svn-id: svn://10.0.0.236/trunk@256332 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 20:20:31 +00:00
dholbert%cs.stanford.edu
2fa4de5805 (Patch #1 to fix Bug 431260) Patch for Bug 431341 - Include floating first-letter text when we build textruns for a paragraph, because we want nsLineBreaker to see the text for capitalization analysis. Make sure that textrun construction for floating first-letter text uses the block as its scope. And make sure we reconstruct textruns after determining the first-letter length, so that ligatures are broken as necessary. Patch by Robert O'Callahan <robert@ocallahan.org> r=smontagu
git-svn-id: svn://10.0.0.236/trunk@256331 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 20:12:49 +00:00
dbaron%dbaron.org
d29734ba6f Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256292 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-23 03:22:00 +00:00
jst%mozilla.org
7ecd2479d7 Backing out unintentional change.
git-svn-id: svn://10.0.0.236/trunk@256084 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-04 02:26:32 +00:00
jst%mozilla.org
cc0d932353 Fixing bug 474022. Make sure we always stop plugins, no matter how they were started. r=smichaud@pobox.com, sr=bzbarsky@mit.edu, a=ss
git-svn-id: svn://10.0.0.236/trunk@256083 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-04 02:24:44 +00:00
dholbert%cs.stanford.edu
cb2ab151fa Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. Patch by Robert O'Callahan <robert@ocallahan.org> r=smontagu a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255934 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-27 02:31:09 +00:00
mats.palmgren%bredband.net
5850bd385c Test for bug 445288 by Jesse Ruderman <jruderman@gmail.com>.
git-svn-id: svn://10.0.0.236/trunk@255913 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-24 04:28:24 +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
mats.palmgren%bredband.net
41c1473144 Don't crash if views were destroyed after flushing notifications. b=421839 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255754 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-07 23:23:53 +00:00
mats.palmgren%bredband.net
54d926e636 Fix the parent pointer for ::first-letter child frame next-in-flows. b=401042 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255577 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-18 09:09:10 +00:00
bzbarsky%mit.edu
b050729b22 Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255417 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 17:46:34 +00:00
dveditz%cruzio.com
1efc176284 bug 416907 reflow crash with frameset in mroot, patch=zweinberg, r/sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255100 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 20:18:08 +00:00
mats.palmgren%bredband.net
3e47c7e680 Add 'aLineList' param to MarkLineDirty() so it knows the correct line list for 'aLine'. b=443528 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254651 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 14:53:25 +00:00
mats.palmgren%bredband.net
e45d05c463 When switching from the overflow lines to normal lines we must reset 'mInOverflowLines' or we'll compare 'mLine' to the wrong list on the next call. b=457375 r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254650 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 14:45:19 +00:00
dholbert%cs.stanford.edu
b049b0b486 Bug 452157 - Update aState.mPrevChild when we pull from next-in-flow. r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254608 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-13 20:35:32 +00:00
roc+%cs.cmu.edu
416ff08bef 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@254245 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-16 21:47:39 +00:00
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
gavin%gavinsharp.com
e7488df68d Bug 455283: RoboForm extension causes Firefox 3.0.2 to crash, patch by fantasai <fantasai.bugs@inkedblade.net>, r+sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@254235 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-16 18:59:35 +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
aa0d9d217e Bug 413048. Disable float breaking in columns. r+sr=dbaron,a=ss
git-svn-id: svn://10.0.0.236/trunk@253804 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 09:47:08 +00:00
roc+%cs.cmu.edu
959740e905 Bug 419285. Terminate first-letter processing at a <br>. r+sr=dbaron,a=ss
git-svn-id: svn://10.0.0.236/trunk@253803 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-25 09:42:52 +00:00
smontagu%smontagu.org
0848cd4ee7 Correct the position of soft hyphens in right-to-left text. Bug 444656, r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253673 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-18 15:45:26 +00:00
jst%mozilla.org
09f2a1426d Landing fix for bug 421833 for 3.0. Fix plugin crash due to our layout frame getting deleted underneath us. r+sr=jonas@sicking.cc, a=samuel.sidler@gmail.com
git-svn-id: svn://10.0.0.236/trunk@253661 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-17 00:55:24 +00:00
fantasai.cvs%inkedblade.net
be0c45ebcd Bug 159914 – Printing a div's content 'eats' a few line down the first page, r+sr=roc a=ss
git-svn-id: svn://10.0.0.236/trunk@253634 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 19:35:47 +00:00
roc+%cs.cmu.edu
29b3fe89cd Bug 448860. Avoid synchronous invalidates which can change the frame tree --- test. Patch by Mats Palmgren, r+sr=roc,a=ss
git-svn-id: svn://10.0.0.236/trunk@253623 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 09:48:03 +00:00
roc+%cs.cmu.edu
298d187804 Bug 448860. Avoid synchronous invalidates which can change the frame tree. Patch by Mats Palmgren, r+sr=roc,a=ss
git-svn-id: svn://10.0.0.236/trunk@253622 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 09:46:20 +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
karlt+%karlt.net
aae0e35a4c Clip the dirty rect to ensure it's within the X11 drawable.
b=445707 r+sr=roc a=ss


git-svn-id: svn://10.0.0.236/trunk@253611 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 04:58:54 +00:00