Commit Graph

5000 Commits

Author SHA1 Message Date
dholbert@cs.stanford.edu
9f681499ba Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
dholbert@cs.stanford.edu
a0238499f9 Bug 398453 - Add unconstrained size check for pagebreakframe reflow. r+sr=roc, a=blocking1.9+ 2007-11-07 11:49:44 -08:00
dholbert@cs.stanford.edu
a885817005 Bug 398215 - Add RTL case for handling overflow width in BoxReflow. r+sr=roc, a=blocking1.9+ 2007-11-07 03:18:30 -08:00
dholbert@cs.stanford.edu
65a5db4f35 Bug 381152 - prevent bandRects from having height > nscoord_MAX. r+sr=roc, a=blocking1.9 2007-11-07 03:03:10 -08:00
dholbert@cs.stanford.edu
211998d47c Bug 385823 - Let us call NotifyPercentHeight even when computed height is already set, because it'll be set on imageFrames. r+sr=dbaron, a=beltzner 2007-11-06 14:47:29 -08:00
jst@mozilla.org
07f4756c14 Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com 2007-10-31 15:52:11 -07:00
roc+@cs.cmu.edu
c4cb276591 Bug 389666. The mTransformedTextOffset field of MappedFlow wasn't always being set up correctly, so let's just stop using it altogether. r=smontagu,a=vlad 2007-10-23 17:07:26 -07:00
masayuki@d-toybox.com
5643bc3e12 Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph (relanding) r+sr+a=roc 2007-10-21 01:10:34 -07:00
roc+@cs.cmu.edu
e1da1696a2 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron 2007-10-20 00:30:26 -07:00
dholbert@cs.stanford.edu
f90fee0b0b Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's. r=bzbarsky, r+a=roc 2007-10-19 10:41:29 -07:00
fantasai.cvs@inkedblade.net
ac8dcb7f5a Fix StealFrame failure + crash, b=400223 r+sr=roc a=roc 2007-10-19 07:54:07 -07:00
roc+@cs.cmu.edu
e014694d32 Backing out bug 397510 again because again it looks like it might have caused a regression, and we don't need it for M9 2007-10-18 21:56:05 -07:00
bzbarsky@mit.edu
f1ab736796 Make vertical resizing of framesets work in standards mode. Bug 376981, r+sr=dbaron 2007-10-18 20:45:30 -07:00
bzbarsky@mit.edu
d073b708b8 Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc 2007-10-18 20:41:07 -07:00
dietrich@mozilla.com
bf390f8586 re-landing Bug 393758 2007-10-18 19:01:05 -07:00
reed@reedloden.com
e3838c8ace Fixing bustage from landing of bug 397510. 2007-10-18 18:33:52 -07:00
dietrich@mozilla.com
5d2f973f11 Bug 397510 Scrolling in large file is very slow due to textrun reconstruction (re-landing for roc) 2007-10-18 18:19:11 -07:00
roc+@cs.cmu.edu
21ccd4f20e Backing out bustage fix 2007-10-17 23:48:44 -07:00
gavin@gavinsharp.com
ad7e4a6327 Back out the patch for bug 399159 because it's suspected of having caused the Tp regression 2007-10-17 10:03:09 -07:00
roc+@cs.cmu.edu
1661e205d3 Backing out 393758 just in case it caused perf regression 2007-10-16 16:56:27 -07:00
roc+@cs.cmu.edu
455c833e49 Backing out fix for bug 397510 to see if it fixes the Tp regression 2007-10-16 01:20:22 -07:00
roc+@cs.cmu.edu
34febafca0 Fixing bustage 2007-10-15 14:20:36 -07:00
roc+@cs.cmu.edu
f03f917d6d Bug 393758. Detect when we're about to create two flows with the same element in the same textrun (which violates our invariants), and prevent it by starting a new textrun for the second flow. r=smontagu 2007-10-15 14:15:35 -07:00
roc+@cs.cmu.edu
0bdb456558 Bug 397510. Limit the number of lines below the initial line for which we reconstruct textruns. Speeds up line painting near the top of huge documents. r=smontagu 2007-10-15 14:11:37 -07:00
masayuki@d-toybox.com
b26d439169 Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph r+sr+a=roc 2007-10-15 05:37:15 -07:00
jst@mozilla.org
f7bc6a4c14 Fixing build bustage. 2007-10-13 10:10:30 -07:00
jst@mozilla.org
e7088bc20a Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc 2007-10-13 09:42:44 -07:00
roc+@cs.cmu.edu
036806699a Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
smontagu@smontagu.org
251bc05568 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 2007-10-11 04:41:04 -07:00
bzbarsky@mit.edu
0578f2967b Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
roc+@cs.cmu.edu
42a81834c5 Fixing test bustage... Disable tests on Linux and Windows until I figure out how to get them to do word movement via synthesized events. 2007-10-10 16:19:11 -07:00
roc+@cs.cmu.edu
871dffe6e3 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. 2007-10-10 15:32:51 -07:00
fantasai.cvs@inkedblade.net
590bb58ae4 crash due to improper overflow container frame deletion, b=393956, r+sr=roc 2007-10-10 15:09:53 -07:00
roc+@cs.cmu.edu
a09e53dc3d Backing out bug 391584 because of test failures on non-Mac 2007-10-09 21:25:42 -07:00
roc+@cs.cmu.edu
884794bcc1 Fixing bustage 2007-10-09 19:30:48 -07:00
roc+@cs.cmu.edu
a9f24144f5 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 2007-10-09 19:25:57 -07:00
roc+@cs.cmu.edu
f543b23186 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. 2007-10-09 19:21:33 -07:00
roc+@cs.cmu.edu
203d229518 Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron 2007-10-09 19:18:40 -07:00
tglek@mozilla.com
8cf3fb1c90 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
fantasai.cvs@inkedblade.net
69f752aa00 nsOverflowContinuationTracker shouldn't assume frame won't get reflowed again before its continuation gets reflowed, b=398322, b=393956, r=dholbert sr=roc 2007-10-09 12:46:21 -07:00
reed@reedloden.com
4307dd84e7 Bug 273459 - "most gopher-*.gif images are unused" [p=dao r+sr+a1.9=dbaron] 2007-10-08 14:27:30 -07:00
Olli.Pettay@helsinki.fi
4afadf9275 Bug 397641, AsyncScrollPortEvent posted even if overflow/underflow event won't be dispatched r=mats+roc, sr=mats, a=roc 2007-10-08 01:42:43 -07:00
mats.palmgren@bredband.net
b61d4af97e 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 2007-10-07 10:32:07 -07:00
bzbarsky@mit.edu
5f7d419364 Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst 2007-10-05 16:37:25 -07:00
reed@reedloden.com
e00fa71aa4 Backed out elif's patch from bug 307242 due to it causing a reftest failure for the test for bug 218473. 2007-10-03 21:33:43 -07:00
reed@reedloden.com
dd74245928 Bug 307242 - "ASSERTION: bad argument: '(aRight > mLeft) && (aRight < mRight)', @ nsSpaceManager::BandRect::SplitHorizontally" [p=elif (sharparrow1) r+sr+a1.9=roc] 2007-10-03 20:18:31 -07:00
dholbert@cs.stanford.edu
054a0363b4 Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc 2007-10-02 20:44:18 -07:00
roc+@cs.cmu.edu
eeeb89a24e 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 2007-10-02 01:52:09 -07:00
fantasai.cvs@inkedblade.net
c5bd5dcc84 fix use of DEBUG-only data member, bug=154892 r+sr+a=roc 2007-10-02 01:29:23 -07:00
reed@reedloden.com
da3c159083 Fixing bustage from fantasai's patch. [p=bz] 2007-10-01 23:24:26 -07:00
fantasai.cvs@inkedblade.net
404e205908 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
roc+@cs.cmu.edu
18ec94e683 Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron 2007-10-01 19:36:26 -07:00
roc+@cs.cmu.edu
4e75400e10 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
joshmoz@gmail.com
f219b51c26 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
roc+@cs.cmu.edu
8b8d2e52fe Backing out 2007-10-01 15:11:23 -07:00
roc+@cs.cmu.edu
1b1c97e9d8 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
dholbert@cs.stanford.edu
17f514d3bb Bug 397852: ASSERTION: Doing nscoord addition with values > nscoord_MAX r=roc sr=roc a=roc 2007-10-01 09:43:02 -07:00
roc+@cs.cmu.edu
f78d03db7a Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu 2007-09-27 16:37:46 -07:00
reed@reedloden.com
a89df363f1 Bug 393979 - "Remove orphaned comment in nsFrame::BoxReflow" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr+a1.9=roc] 2007-09-27 09:44:24 -07:00
vladimir@pobox.com
8797e1dcc2 b=396972, clean up canvas API to avoid using internal API in contexts, r/a=stuart 2007-09-25 13:46:08 -07:00
gavin@gavinsharp.com
70b254f52e Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi) 2007-09-25 13:41:07 -07:00
roc+@cs.cmu.edu
73dee2aef5 Bug 368445. Make ApplyOverflowClipping compute the right padding-rect when native themes override the border. r+sr+a=dbaron 2007-09-24 17:47:05 -07:00
dholbert@cs.stanford.edu
e82f3fedb7 Bug 391894, comment amendment for just-checked-in patch. (s/normal-child/regular-children/) 2007-09-24 13:25:38 -07:00
dholbert@cs.stanford.edu
8f5f6ea2b8 Bug 391894: Make recursive call to CollectFloats on children in overflowList. r=roc sr=roc approval1.9=roc 2007-09-24 13:21:41 -07:00
dholbert@cs.stanford.edu
244853dccc Bug 387876 - Columns in absolutely positioned div break when changed, r=roc sr=roc blocking1.9=dbaron 2007-09-24 12:52:09 -07:00
dholbert@cs.stanford.edu
5e31bd00b0 Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc 2007-09-24 10:30:42 -07:00
roc+@cs.cmu.edu
a0ce273d02 Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
f5ea55f8b4 Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
f2b87e6c9a Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
bzbarsky@mit.edu
12a3228bb7 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
bzbarsky@mit.edu
05de4fdee3 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
f17ce63d07 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
acc3123915 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. 2007-09-19 19:46:28 -07:00
mozilla@weilbacher.org
0a299d9eeb [OS/2] Bug 396661: fix OS/2 build break in nsTextFrameThebes by removing the unnecessary cast, r/sr/a=roc 2007-09-19 16:01:44 -07:00
roc+@cs.cmu.edu
c616621057 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 2007-09-17 21:23:14 -07:00
roc+@cs.cmu.edu
9a93a48ef0 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 2007-09-17 20:00:16 -07:00
roc+@cs.cmu.edu
662617a914 Bug 139843. Back out width adjustment patch that breaks other things and may no longer be needed. r+sr+a=dbaron 2007-09-17 19:54:48 -07:00
roc+@cs.cmu.edu
ce5b122a6e Bug 394832. Remove overeager rounding that causes underlines to appear too close to the text. r=smontagu,a=dbaron 2007-09-17 19:48:19 -07:00
Olli.Pettay@helsinki.fi
f7b3910d1f Bug 395725, Crash [@ nsIFrame::GetFrameSelection], r+sr+a=roc 2007-09-15 12:48:20 -07:00
enndeakin@sympatico.ca
7ea5401dba Bug 387486, editor in grid overflows, r+sr+a=roc 2007-09-15 08:14:27 -07:00
sayrer@gmail.com
6f02e70db3 Bug 394542. we leak the blink timer and its timer in a cycle. Patch by David Baron. r/sr=roc, a=dsicore/mconnor 2007-09-11 13:06:44 -07:00
smontagu@smontagu.org
6efb45d2ee Unit tests for bug 394239 (based on Martijn Wargers' testcase) and bug 392923 2007-09-07 00:17:23 -07:00
roc+@cs.cmu.edu
a237c817eb Bug 386807. Remove duplicate elements from the linebreak array textrun construction parameter. r=smontagu,a-M8=damon 2007-09-06 14:54:33 -07:00
roc+@cs.cmu.edu
14b19e8184 Bug 392435. Make ClearTextRun work no matter which frame of a continuation chain we call it on. r=smontagu,a=dbaron 2007-09-05 16:06:05 -07:00
roc+@cs.cmu.edu
0f7019d98c Bug 393923. Fix text-offset calculation for first-letter. r=smontagu,a=dbaron 2007-09-05 16:03:31 -07:00
roc+@cs.cmu.edu
05dc3cbd75 Bug 394510. Don't leak the hyphen textrun when we display a soft hyphen. r=smontagu 2007-09-05 15:59:44 -07:00
cbiesinger@gmx.at
f3304b244c 393845 Stop plugins from content instead of from layout. Also, reget the frame after stopping the plugin, as that may process events. Finally, make the object frame not touch member variables after stopping the plugin. r+sr=bz a=jst 2007-09-05 13:33:18 -07:00
jwalden@mit.edu
d09c44d69c Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
smontagu@smontagu.org
cce004be70 Unit test for bug 394173 based on Martijn Wargers' testcase 2007-09-04 12:48:24 -07:00
martijn.martijn@gmail.com
f6ccf14d51 Bug 257938 - Should css scrollable areas without scrollbars be tabbable?, patch by Aaron Leventhal, r+sr+a=roc 2007-09-04 05:14:52 -07:00
roc+@cs.cmu.edu
70a385c535 Bug 389583. Floats fit if their bottom edge is equal to the available space bottom edge. r=eli,sr=mats,a=dbaron 2007-09-03 21:04:12 -07:00
roc+@cs.cmu.edu
3349a5ae4b Bug 391621. Remove unnecessary trimmed-space counting. r=smontagu,a=dbaron 2007-09-03 21:02:22 -07:00
smontagu@smontagu.org
6381697606 Unit test for bug 389630 based on Jesse Ruderman's testcase 2007-09-03 09:59:44 -07:00
smontagu@smontagu.org
58d80d14bc Unit test for bug 385751 based on Martijn Wargers' testcase 2007-09-03 09:12:27 -07:00
masayuki@d-toybox.com
a0327f6605 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
smontagu@smontagu.org
9d8d19e655 Unit test for bug 384527 based on Martijn Wargers' testcase 2007-09-03 08:22:42 -07:00
masayuki@d-toybox.com
7d3f26907c Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
masayuki@d-toybox.com
6b49b8c852 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
jruderman@hmc.edu
bab6ad4948 Add period at end of sentence. Comment-only change. 2007-09-03 02:51:52 -07:00
smontagu@smontagu.org
47796d6787 Previous checkin was for bug 382422 2007-09-03 00:00:10 -07:00