Commit Graph

1312 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
54d3415318 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
bryner@brianryner.com
6a57d0733c Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
uriber@gmail.com
c5c2c16676 Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky 2006-03-15 20:52:02 +00:00
pavlov@pavlov.net
93222d8d4f backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+@cs.cmu.edu
c92e50faf4 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
masayuki@d-toybox.com
3c35a9f627 Bug 330268 RTL characters typed into a textarea after a long unbreakable string don't appear on screen until scrolled r+sr=rbs 2006-03-14 06:10:43 +00:00
uriber@gmail.com
9cec57fab6 Do away with geometry in nsFrameList::GetPrev[Next]VisualFor() and nsLineIterator::CheckLineOrder(). Instead use new helper methods in nsBidiPresUtils for determining visual order of the top level of frames in a line. bug=303884 r=smontagu sr=roc 2006-03-12 09:49:48 +00:00
roc+@cs.cmu.edu
79c7894a78 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
roc+@cs.cmu.edu
ddf6f9f2c6 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron 2006-02-27 04:15:05 +00:00
roc+@cs.cmu.edu
8f10cbef4b Backing out changes for bug 326944. 2006-02-27 03:22:03 +00:00
roc+@cs.cmu.edu
1081de420a Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron 2006-02-27 02:51:57 +00:00
uriber@gmail.com
a77901b79e Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
roc+@cs.cmu.edu
a1b6a30f14 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
mats.palmgren@bredband.net
0cb9086657 Look for the next-in-flow in the overflow-list when the next normal line did not contain it. b=310638 r+sr=roc 2006-01-21 10:33:48 +00:00
uriber@gmail.com
92fd438a45 Bug 312550: Incorrect wrapping in RTL textarea with horizontal scrollbar. r=smontagu, sr=roc 2005-12-14 14:33:17 +00:00
roc+@cs.cmu.edu
cf95169f58 Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
roc+@cs.cmu.edu
2a82ee651e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+@cs.cmu.edu
4849bee778 Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets. 2005-10-18 05:00:24 +00:00
bmlk@gmx.de
bea2fa55b9 handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron 2005-10-04 15:47:21 +00:00
dbaron@dbaron.org
4c217a2615 Back out 307158 to fix 310736. GetActualScrollbarSizes is not meaningful on a frame in the middle of reflow. 2005-10-04 02:14:43 +00:00
roc+@cs.cmu.edu
3b87e1c605 Bug 307158. Account for scrollbars reducing the padding-edge when calculating the geometry of absolutely-positioned children of scrolled elements. r+sr=dbaron 2005-09-30 22:58:37 +00:00
roc+@cs.cmu.edu
0de4fe4b8e Bug 295815. When computing the available height constraint for a float, don't look at the available height of the float band, just look at the available height for the block's contentarea. r+sr=dbaron 2005-09-30 21:54:12 +00:00
masayuki@d-toybox.com
699c46c0c6 Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron 2005-09-26 10:37:02 +00:00
peterv@propagandism.org
97ce448ce1 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
roc+@cs.cmu.edu
5d1b988569 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky@mit.edu
e96e8a3c36 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
roc+@cs.cmu.edu
4f18a37e4e Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
roc+@cs.cmu.edu
cac4b42297 Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
mats.palmgren@bredband.net
a3218cf70c Fix compile warning from my last checkin. b=217903 2005-08-31 19:53:39 +00:00
mats.palmgren@bredband.net
e619c70871 Avoid trying to make an inside bullet frame its own sibling. b=217903 r+sr=bzbarsky 2005-08-31 19:38:59 +00:00
bmlk@gmx.de
c8c3eb734c reset the cached ascent if the block is empty, bug 206516 r/sr=roc 2005-08-30 16:14:07 +00:00
roc+@cs.cmu.edu
3ce3467504 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
roc+@cs.cmu.edu
080572e43b Bug 295767. Simplify and thoroughly analyze previous-margin-dirty determination. r+sr=dbaron 2005-08-21 23:18:11 +00:00
bzbarsky@mit.edu
cc86441663 Insert child frames that belong at the front of our list after mBullet if we
have an inside bullet.  Bug 295947, r+sr=dbaron, a=bsmedberg
2005-08-02 14:38:16 +00:00
bzbarsky@mit.edu
df03a938a9 Don't carry out the bottom margins of kids if the block's height is affected by
min-height or max-height.  Bug 295309, r+sr=roc, a=bsmedberg
2005-08-02 14:32:46 +00:00
roc+@cs.cmu.edu
076b4f8ddb Bug 291757. Propagate inline clearance status for lines we reflowed as well as lines we didn't. This ensures that during incremental reflow, we'll reflow lines which have a <br clear=> above them if their clearance is changing. r+sr=dbaron,a=benjamin 2005-07-28 19:50:04 +00:00
roc+@cs.cmu.edu
2736f6afc6 Bug 299742. Blocks that contain lines with clearance need not reflow those lines if there are no floats in the space manager yet and no lines need to be reflowed otherwise. 2005-07-26 21:35:59 +00:00
roc+@cs.cmu.edu
4fe6988683 Bug 223737. Lines that were pushed below a float should be treated as impacted by the float. r+sr=dbaron,a=bsmedberg 2005-07-26 21:33:28 +00:00
bzbarsky@mit.edu
d83c426f90 Backing out fix for bug 223737, since it causes severe performance problems
when typing at the beginning of long text in a textarea (and in general can
cause us to reflow a lot more lines than we should have to).  a=roc
2005-07-21 22:17:34 +00:00
roc+@cs.cmu.edu
dc47a869a7 Bug 294934. Absolute positioning should be relative to the padding edge, so we need to set the absolute containing block size to the size of the padding-box of any wrapper frame. r+sr=dbaron,a=bsmedberg 2005-07-19 22:06:39 +00:00
roc+@cs.cmu.edu
6bf510086d Bug 295690. Force reflow of *all* lines in the same space manager as a float that's removed. r+sr=dbaron,a=bsmedberg 2005-07-19 21:58:41 +00:00
roc+@cs.cmu.edu
6fb5126df0 Bug 295690. When a float is removed, reflow all lines associated with the space manager, to ensure any lines that used to be impacted are reflowed. r+sr=dbaron,a=benjamin 2005-06-29 03:40:35 +00:00
roc+@cs.cmu.edu
5e94c3a7c5 Bug 186485. The nsLineBox maximum-width includes the block's left border-padding but not the right. r+sr=roc,a=asa,patch by Hideo Saito 2005-06-20 03:42:19 +00:00
roc+@cs.cmu.edu
9e78f0242b Bug 223737. Always reflow the next line after splitting a frame, even if it's complete. r+sr=roc,a=asa,patch by Hideo Saito 2005-06-20 03:38:45 +00:00
roc+@cs.cmu.edu
7e87c291ec Bug 292295. Blocks with clearance are not actually top-margin-roots. Their top margin is still managed by the parent block if there is one. Fixes an Acid2 issue. r+sr=dbaron,a=asa 2005-06-16 02:54:57 +00:00
bzbarsky@mit.edu
797fc1ec06 Fix list renumbering regression. Bug 293070, r+sr+a=dbaron 2005-05-17 03:15:14 +00:00
roc+@cs.cmu.edu
a36e0f05ca Bug 292690. Don't expand block width to MEW, that makes no sense. r+sr=dbaron,a=shaver 2005-05-16 19:49:41 +00:00
bzbarsky@mit.edu
9d506b60da Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00