Граф коммитов

733 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu 60903ce73c 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 ea68978e57 Fix compile warning from my last checkin. b=217903 2005-08-31 19:53:39 +00:00
mats.palmgren%bredband.net 52d0c5315c 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 89727da8d1 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 6377fe1d40 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 3621391cc9 Bug 295767. Simplify and thoroughly analyze previous-margin-dirty determination. r+sr=dbaron 2005-08-21 23:18:11 +00:00
bzbarsky%mit.edu 8d0ee4ef46 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 dbae00dd34 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 a84bc93687 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 d96dfd25f2 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 6d8ca6441e 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 0d9a0a63d0 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 94a5d4ca9d 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 6915b726de 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 f7bbe1a34b 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 44e2486d4b 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 c9f0357867 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 4593df2a57 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 b6e9b8ecd1 Fix list renumbering regression. Bug 293070, r+sr+a=dbaron 2005-05-17 03:15:14 +00:00
roc+%cs.cmu.edu f7ab55f34a 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 e61e1e1935 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
roc+%cs.cmu.edu 84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu 97fad84ab5 Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann 2005-04-28 21:25:11 +00:00
roc+%cs.cmu.edu 8cfd926ecc Bug 174688. Don't apply top border-padding to block frames that aren't first in flow. Also, when a block is incomplete, ensure the frame extends to fill the entire available height. r+sr=dbaron,a=asa 2005-04-26 02:26:12 +00:00
roc+%cs.cmu.edu 011ba7e43c Bug 215760. Don't crash when we have a float continuation whose first-in-flow placeholder is inside an inline; make sure we find a preferred container that's an actual block. r+sr=dbaron,a=asa 2005-04-26 02:24:20 +00:00
roc+%cs.cmu.edu 1fcf18cf25 Bug 290297. Reconstruct previous margin after propagating float damage, in case that dirties the line. r+sr=dbaron,a=asa 2005-04-20 21:45:24 +00:00
roc+%cs.cmu.edu 5b76e66b5f Bug 290469. Don't trust the offset returned by GetOffsetFromView. r+sr=bzbarsky,a=asa 2005-04-19 23:06:47 +00:00
bzbarsky%mit.edu 306677ee27 Make splitters use the right coord system for events, and fix up the review
comment from bug 289792.  Fixes bug 290464 and bug 290469 respectively.
r+sr=roc, a=brendan
2005-04-18 05:18:34 +00:00
roc+%cs.cmu.edu eef5322ee4 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa 2005-04-14 22:41:52 +00:00
bzbarsky%mit.edu 7f0d146903 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan
2005-04-14 15:30:35 +00:00
dbaron%dbaron.org da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
roc+%cs.cmu.edu 8aee1f332a Bug 272547. Search through wrapped frames when looking for blocks to renumber. r+sr=bzbarsky 2005-03-28 21:05:04 +00:00
roc+%cs.cmu.edu 87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
roc+%cs.cmu.edu c9feb5cc3c Bug 282754. When laying out absolute children, use the computed width/height of the primary frame as the container metrics if they're available. r+sr=dbaron 2005-03-21 21:43:01 +00:00
bzbarsky%mit.edu f03bac09cc Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc
2005-03-18 04:13:05 +00:00
roc+%cs.cmu.edu 2e3b5a6ae5 Bug 281267. Force reflow of lines during absolute incremental reflow if the block is not a space manager, because we need to push our floats (or our descendants') into the space manager. r+sr=dbaron 2005-03-07 20:48:12 +00:00
roc+%cs.cmu.edu 97bbe7fe29 Bug 276892. Cancel selection if the mouse button is released in some subdocument. r+sr=bzbarsky 2005-03-07 00:34:44 +00:00
roc+%cs.cmu.edu 465537e4b9 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu 54d585f2af Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
roc+%cs.cmu.edu 3ff2296f52 Bug 263099. Fix coordinate translation in event handling when finding the relevant line of nested blocks. r+sr=bzbarsky 2005-02-07 01:09:58 +00:00
roc+%cs.cmu.edu 438a679707 Bug 274249. Stop double-counting the top margin of collapsed-through empty blocks, by moving the line bounds back up above its empty block by the top margin amount (while leaving the empty block in the same (correct) place). r+sr=dbaron 2005-02-02 01:33:20 +00:00
emaijala%kolumbus.fi 1d4b3acf1a Fix for bug 212034: Page break before huge table row inconsistent in print, preview, XP, Linux
r+sr=roc
2005-01-28 16:24:09 +00:00
roc+%cs.cmu.edu 3dd5f22d97 Bug 273946. We actually don't need to correct the y-position of empty blocks; it's already correct for both the collapsing-with-parent and not-collapsing-with-parent cases. Also, clearance on an empty line should force subsequent lines to apply their top margins. Also, clearance on an empty line should *not* prevent its top and bottom margins from collapsing. r+sr=dbaron 2005-01-27 20:54:27 +00:00
cvshook%sicking.cc e2081a89e6 Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
bzbarsky%mit.edu 14d73e6a25 Fix percentage heights on auto-width floats. Bug 216303, r+sr=dbaron 2005-01-24 23:38:11 +00:00
bzbarsky%mit.edu ed100da7f1 Make incremental reflow of abs pos elements less eager to actually reflow
them.  Bug 277760, r+sr=roc
2005-01-23 21:44:46 +00:00
mats.palmgren%bredband.net dfca1807f8 Translate events to child frame's closest view before delegating them. b=180015 r+sr=bzbarsky 2005-01-16 18:10:05 +00:00
bmlk%gmx.de e285ba07db if a non percent min width is specified it should be the lower bound of the MEW bug 273361 r/sr=dbaron 2005-01-16 16:17:31 +00:00
bryner%brianryner.com a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00