Commit Graph

4921 Commits

Author SHA1 Message Date
smontagu%smontagu.org
f0d002ff76 Change the usage of NEEDS_BIDI_RESOLUTION so that it is either set on every block in a continuation chain or none of them. Bug 394805, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@237584 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 11:41:04 +00:00
bzbarsky%mit.edu
9c12a12131 Don't allow first-letter on the block inside a mathml table cell. Bug 398510,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@237571 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 04:36:48 +00:00
roc+%cs.cmu.edu
1d5b4a5ae4 Fixing test bustage... Disable tests on Linux and Windows until I figure out how to get them to do word movement via synthesized events.
git-svn-id: svn://10.0.0.236/trunk@237558 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 23:19:11 +00:00
roc+%cs.cmu.edu
dbe96aba9b Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space.
git-svn-id: svn://10.0.0.236/trunk@237553 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:32:53 +00:00
fantasai.cvs%inkedblade.net
df72ada2c3 crash due to improper overflow container frame deletion, b=393956, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@237551 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:09:53 +00:00
roc+%cs.cmu.edu
5cc81cc411 Backing out bug 391584 because of test failures on non-Mac
git-svn-id: svn://10.0.0.236/trunk@237511 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 04:25:43 +00:00
roc+%cs.cmu.edu
dc21a597bb Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@237506 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:30:48 +00:00
roc+%cs.cmu.edu
cb90f6018a Bug 387414. Detect situations where the textrun doesn't map enough text to fully reflow the frame (which can happen during style changes to preformatted whitespace, for example) and rebuild textruns in that case. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237505 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:25:57 +00:00
roc+%cs.cmu.edu
102f5a6578 Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space.
git-svn-id: svn://10.0.0.236/trunk@237504 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:21:34 +00:00
roc+%cs.cmu.edu
e41c942cef Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237503 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:18:40 +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
740149dfcd nsOverflowContinuationTracker shouldn't assume frame won't get reflowed again before its continuation gets reflowed, b=398322, b=393956, r=dholbert sr=roc
git-svn-id: svn://10.0.0.236/trunk@237474 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 19:46:21 +00:00
reed%reedloden.com
90971d3a48 Bug 273459 - "most gopher-*.gif images are unused" [p=dao r+sr+a1.9=dbaron]
git-svn-id: svn://10.0.0.236/trunk@237421 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 21:27:31 +00:00
Olli.Pettay%helsinki.fi
0e4ff6afd5 Bug 397641, AsyncScrollPortEvent posted even if overflow/underflow event won't be dispatched r=mats+roc, sr=mats, a=roc
git-svn-id: svn://10.0.0.236/trunk@237398 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 08:42:43 +00:00
mats.palmgren%bredband.net
141f429ec8 Take into account that |line| can be an overflow line when accessing the previous line. Patch by roc and me. b=397007 r+sr=me/roc blocking1.9=roc
git-svn-id: svn://10.0.0.236/trunk@237376 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 17:32:07 +00:00
bzbarsky%mit.edu
78c25ccf26 Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@237338 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 23:37:27 +00:00
reed%reedloden.com
c6b19165cf Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473.
git-svn-id: svn://10.0.0.236/trunk@237249 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 04:33:43 +00:00
reed%reedloden.com
dcc5727a4b Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@237237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 03:18:31 +00:00
dholbert%cs.stanford.edu
1a0935b276 Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc
git-svn-id: svn://10.0.0.236/trunk@237161 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 03:44:18 +00:00
roc+%cs.cmu.edu
76ca21ee0c Bug 385635. Make text min-width calculation clear out old value of trimmable whitespace when the text contains non-collapsible whitespace. Also, set skipWhitespace to skip subsequent whitespace only if the trailing whitespace in the text is not preformatted. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237066 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 08:52:09 +00:00
fantasai.cvs%inkedblade.net
77c12e0239 fix use of DEBUG-only data member, bug=154892 r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@237065 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 08:29:23 +00:00
reed%reedloden.com
affec63d03 Fixing bustage from fantasai's patch. [p=bz]
git-svn-id: svn://10.0.0.236/trunk@237059 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 06:24:26 +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
roc+%cs.cmu.edu
6351387599 Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237043 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 02:36:26 +00:00
roc+%cs.cmu.edu
61b98244af Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov
git-svn-id: svn://10.0.0.236/trunk@237041 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 01:47:41 +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
roc+%cs.cmu.edu
44bc8a34a0 Backing out
git-svn-id: svn://10.0.0.236/trunk@237021 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 22:11:24 +00:00
roc+%cs.cmu.edu
dd95fa547d Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov
git-svn-id: svn://10.0.0.236/trunk@237018 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 21:29:20 +00:00
dholbert%cs.stanford.edu
3916f84409 Bug 397852: ASSERTION: Doing nscoord addition with values > nscoord_MAX
r=roc sr=roc a=roc


git-svn-id: svn://10.0.0.236/trunk@237000 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 16:43:02 +00:00
roc+%cs.cmu.edu
1f17cca567 Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@236812 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 23:37:46 +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
vladimir%pobox.com
a5e51e0d54 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart
git-svn-id: svn://10.0.0.236/trunk@236678 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 20:46:09 +00:00
gavin%gavinsharp.com
71a94bbba6 Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi)
git-svn-id: svn://10.0.0.236/trunk@236676 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 20:41:08 +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
dholbert%cs.stanford.edu
4910cecd69 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/)
git-svn-id: svn://10.0.0.236/trunk@236565 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 20:25:38 +00:00
dholbert%cs.stanford.edu
28f96043c9 Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236564 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 20:21:41 +00:00
dholbert%cs.stanford.edu
1a9eee3d2e Bug 387876 – Columns in absolutely positioned div break when changed,
r=roc sr=roc blocking1.9=dbaron


git-svn-id: svn://10.0.0.236/trunk@236563 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 19:52:09 +00:00
dholbert%cs.stanford.edu
665a4e2bad Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 17:30:43 +00:00
roc+%cs.cmu.edu
44e8f1fb7a Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236536 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:19:16 +00:00
roc+%cs.cmu.edu
a0eb13a375 Backing out due to test bustage
git-svn-id: svn://10.0.0.236/trunk@236492 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 13:28:17 +00:00
roc+%cs.cmu.edu
48a9ae898b Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236491 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 12:43:55 +00:00
bzbarsky%mit.edu
36af99ea83 Fix content leak due to double-init of oveflow placeholders. Bug 397011,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@236483 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 01:24:41 +00:00
bzbarsky%mit.edu
d81f1b725a Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236404 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:28:26 +00:00
bzbarsky%mit.edu
bd6ec39767 Backing out bug 396587 to hopefully fix orange.
git-svn-id: svn://10.0.0.236/trunk@236345 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 03:41:29 +00:00
bzbarsky%mit.edu
f0794c0305 Resize the subdocument off a post-reflow callback so that we don't run script
during reflow, and a few related checks to make sure we can deal with script in
reflow callbacks better.  Bug 396587, r+sr+a=roc.


git-svn-id: svn://10.0.0.236/trunk@236344 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 02:46:28 +00:00
mozilla%weilbacher.org
be2bc9544c [OS/2] Bug 396661: fix OS/2 build break in nsTextFrameThebes by removing the unnecessary cast, r/sr/a=roc
git-svn-id: svn://10.0.0.236/trunk@236330 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-19 23:01:44 +00:00
roc+%cs.cmu.edu
6f13236723 Bug 393796. Be more careful about verifying that an existing textrun is okay to be reused again after a change to the frame tree. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@236193 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 04:23:14 +00:00
roc+%cs.cmu.edu
b6d8f8d678 Bug 385607. Ensure that whitespace is collapsed across text-run boundaries across incremental updates like adding/removing frames in the middle of the textrun. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236189 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 03:00:16 +00:00
roc+%cs.cmu.edu
8847af4e48 Bug 139843. Back out width adjustment patch that breaks other things and may no longer be needed. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236188 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 02:54:48 +00:00
roc+%cs.cmu.edu
6f951ca3eb Bug 394832. Remove overeager rounding that causes underlines to appear too close to the text. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236187 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 02:48:19 +00:00