Commit Graph

5453 Commits

Author SHA1 Message Date
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
karlt+%karlt.net
c9519a7e12 Bug 430450 – vertical stripes in windowless plugins.
Snap to pixels and round dirty rect out. r+sr=roc a=ss


git-svn-id: svn://10.0.0.236/trunk@253609 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-15 04:57:17 +00:00
karlt+%karlt.net
6c80e8e13f Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc a1.9.0.2=ss


git-svn-id: svn://10.0.0.236/trunk@253260 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-24 22:37:32 +00:00
smontagu%smontagu.org
ebbb7491d6 Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 11:59:15 +00:00
masayuki%d-toybox.com
9d60202948 Bug 436356 Bullet lists does not display correctly, works in FF 2 p=Atsushi Sakai, r+sr=roc, a=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@253181 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 04:21:13 +00:00
masayuki%d-toybox.com
e6b4997371 Bug 442554 layout.word_select.eat_space_to_next_word should not change word selection method r+sr=roc, a=samuel.sidler
git-svn-id: svn://10.0.0.236/trunk@253180 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 04:13:21 +00:00
mats.palmgren%bredband.net
402a1ba25a Use async Invalidate() to avoid crashing. b=435422 r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@253139 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-20 21:02:05 +00:00
dholbert%cs.stanford.edu
3298fafac9 bug 433373 - Fix clipping region when printing selections that start later in document (taking page-scaling into account). r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252718 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 03:43:01 +00:00
dholbert%cs.stanford.edu
def8f5a448 Backing out bug 433373, because the landed patch version doesn't handle page scaling.
git-svn-id: svn://10.0.0.236/trunk@252547 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-24 18:51:19 +00:00
dholbert%cs.stanford.edu
699a0dfc30 bug 433284 - Needed to reposition child views after sliding container frame during print-selection. r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252539 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-24 16:37:17 +00:00
dholbert%cs.stanford.edu
c96679ded3 bug 433373 - Fix clipping region when printing selections that start later in document. r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252538 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-24 16:35:27 +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