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

909 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu 70323cce41 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 dd78d6c440 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 c09a1a212f 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 0a556b4c4f 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 f1d51412bf 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 0a5f9a50f3 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 ec53342255 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
roc+%cs.cmu.edu 7f986a7ba4 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 30604288b9 Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
roc+%cs.cmu.edu b5f18e8607 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 b8c7dbf447 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 bd715581dd 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 a3d6c24c4f 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 e8268c75e4 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 726f0d35da 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 b626abc29c 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 4f9590ce1b 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 df7922fa00 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 80850f26c5 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 1bfd882f30 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 163b6ef1cc 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 1774e783b3 Fix percentage heights on auto-width floats. Bug 216303, r+sr=dbaron 2005-01-24 23:38:11 +00:00
bzbarsky%mit.edu d10fed0486 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 1834124485 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 e4c85d93f2 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 5e2d6d2947 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
neil%parkwaycc.co.uk 416f37d27d Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk c2ea7ec445 Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
bmlk%gmx.de 917905359e remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de ef4604f958 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
mats.palmgren%bredband.net db3a3e5e60 Fix a crash when the next-in-flow is on the same line (::first-letter). b=268119 r+sr=roc 2004-12-12 18:15:53 +00:00
bzbarsky%mit.edu 840f52dca9 Fixing build bustage. Bug 263581. 2004-11-29 22:29:06 +00:00
bzbarsky%mit.edu aed56e9c77 Final fix for bug 263581 -- pre-dirty wrapped lines with dirty continuations,
if needed, before entering the loop over lines.  r+sr=roc
2004-11-29 22:02:11 +00:00
dbaron%dbaron.org ee24e6fe62 Comment why resize reflow optimization is broken. 2004-11-26 02:31:58 +00:00
roc+%cs.cmu.edu 0d32299f76 Bug 270804. Lines that we skipped reflowing during shrink-wrap-width block reflow may need to be reflowed if the shrink-wrap-width changes. r+sr=dbaron 2004-11-26 02:03:24 +00:00
roc+%cs.cmu.edu fcfeb6506e Bug 209694. Major rework of margin-collapsing and clearance to match CSS 2.1 rules. Also includes major incremental reflow fixes for those situations. See the bug for details. rubber-stamp r+sr=dbaron 2004-11-25 14:51:00 +00:00
bzbarsky%mit.edu 3d40130828 First cut at not having a O(N^2) algorithm for WrappedLinesAreDirty(). Bug
263581, r+sr=dbaron
2004-11-25 02:54:58 +00:00
bzbarsky%mit.edu b35b2a6d92 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
roc+%cs.cmu.edu 352f29c25c Bug 269905. Remember emptiness state on line boxes, but be selective about to to minimize the invalidation burden. r+sr=dbaron 2004-11-24 13:22:10 +00:00
roc+%cs.cmu.edu 9d0a9b302b Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in. 2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu 8c7ac60ba1 Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp) 2004-11-14 20:22:58 +00:00
smontagu%smontagu.org 277ea6beac Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc. 2004-11-11 17:48:09 +00:00
dbaron%dbaron.org b79a08d2b9 Don't push lines when height is unconstrained, even if current height is bigger than NS_UNCONSTRAINEDSIZE. b=265027 r+sr=roc a=mkaply 2004-10-22 17:32:54 +00:00
roc+%cs.cmu.edu 72447cf943 Bug 263586. Fix regression in incremental line reflow by being more conservative in detecting when a line has just been reflowed for the first time. r+sr=dbaron 2004-10-10 01:56:00 +00:00
roc+%cs.cmu.edu b24a28d3fb Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
roc+%cs.cmu.edu c48814589e Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron 2004-09-29 02:18:25 +00:00
bryner%brianryner.com 8787891e5a Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu 329305b99e Bug 260515. Fix obviously broken code in CombineBreakType. r+sr=dbaron 2004-09-21 13:56:06 +00:00
roc+%cs.cmu.edu b0e8529dd5 Bug 257612. Fix dynamic margin changes by 1) Propagate IsPreviousMarginDirty through empty lines 2) Reflow any line whose previous margin is dirty. 3) If a reflowed line could have been tested in a subsequent line's ShouldApplyTopMargin both before and after reflow, and might have been empty before or after reflow, then make the next line's previous margin dirty. 4) If reflowing a block changes its carried-out margin, then mark the next line's previous margin dirty. r+sr=dbaron 2004-09-18 14:39:07 +00:00
roc+%cs.cmu.edu 1c6d567101 Bug 248825. Correctly push overflowing float placeholders to the start of the overflow lines in the case where the first overflow line is a block. r+sr=dbaron 2004-09-17 00:02:56 +00:00
roc+%cs.cmu.edu 6146e49d29 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu ffe92c5115 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
roc+%cs.cmu.edu acbe94ccd6 Bug 258118. Ensure that float breaks are eventually honoured even if the line with the break is not reflowed and the following line is empty. r+sr=dbaron(rubber-stamp) 2004-09-13 02:21:35 +00:00
dbaron%dbaron.org 2e93a67964 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
bryner%brianryner.com f7a0694a86 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com a8153addf4 More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org 399f49c365 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 0430fe1b67 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu 61a3b308a7 Relanding fix for bug 253977, now that state bits prevent GetOverflowLines from being expensive. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-26 12:38:50 +00:00
roc+%cs.cmu.edu 26b7c53bd7 Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron 2004-08-26 03:07:05 +00:00
roc+%cs.cmu.edu 7e7410e03f Bug 252920. Compute the block overflow area using nsRects instead of some hokey homegrown calculations. Don't advancy mY for empty lines. r+sr=dbaron 2004-08-25 13:10:06 +00:00
bryner%brianryner.com 6f61ffd0d2 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com 014fbde518 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com 87894dfad3 Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu c930dd179f Bug 253977 backout because of possible Tp regression on btek. 2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu 451af652a5 Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron 2004-08-22 03:00:46 +00:00
bryner%brianryner.com 0509dcce92 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com fd39847c12 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bzbarsky%mit.edu be89fc5379 Addendum to bug 253572 patch per dbaron's comment in the bug. 2004-08-11 00:17:54 +00:00
bzbarsky%mit.edu fbd3f708f2 Make sure that GetFrameForPoint checks all layers of each float before moving
on to the next one.  Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
dbaron%dbaron.org 10b65694e8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 88f80381e3 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu 45c94413a9 Bug 253195. Fix a really nasty data corruption bug in nsBlockFrame::DoRemoveFrame, that only shows up when you need to delete inline continuations that are in a continuation of the current block --- probably doesn't happen today, but will happen with columns and page-layout editing. r+sr=dbaron 2004-07-27 18:22:14 +00:00
aaronleventhal%moonset.net 1ebd6baf37 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net ccbc55e0d0 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com e436bc48dd Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc 2004-07-15 17:50:34 +00:00
aaronleventhal%moonset.net 78fcf72fc2 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu 172918edbf Bug 244017. Hack invalidation of block children of blocks to avoid answering the question of whether we're supposed to invalidate the difference in frame bounds or the difference in overflow areas. r+sr=dbaron 2004-06-29 12:46:46 +00:00
roc+%cs.cmu.edu d4aec342d0 Bug 185357. Collect out-of-flow frames for overflowing placeholders even if the placeholders are indirect (inline) children of the line. r+sr=dbaron 2004-06-27 02:01:06 +00:00
smontagu%smontagu.org 1c039e3f8d Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +00:00
aaronleventhal%moonset.net a4877c0ce2 Fixing bustage 2004-06-04 21:08:05 +00:00
aaronleventhal%moonset.net f452943730 Bug 242594. Expose list and list item objects, and bullet text. r=Louie.Zhao, sr=jst/dbaron 2004-06-04 19:28:36 +00:00
smontagu%smontagu.org c9791928b9 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
dbaron%dbaron.org 0fa46bf78e When we do two passes on an incremental reflow in order to update maximum width, do max-element-width calculation on the second pass too so that floats have their max-element-width cached for state recovery. b=217527 r+sr=roc 2004-05-31 17:41:50 +00:00
roc+%cs.cmu.edu 8d9033c380 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList 2004-05-05 02:30:33 +00:00
dbaron%dbaron.org 44f599fd12 Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs 2004-05-04 23:56:25 +00:00
dbaron%dbaron.org 97a5af19d6 Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc 2004-04-23 19:27:14 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu bd2796f514 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
bzbarsky%mit.edu aeec221864 When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up.  This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu 4cf1ca9c6a Fix dirty reflows of bullets to deal with an empty first line (whitespace
followed by block) in the parent block.  Bug 206602, r+sr=dbaron
2004-04-13 01:38:10 +00:00
bryner%brianryner.com 62c142565c More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu e241461844 Don't do a O(N) walk over all lines when painting floats, since we already have
a nice sorted list of floats about.  Bug 52005, r+sr=dbaron, a=brendan
2004-04-09 21:08:09 +00:00
bzbarsky%mit.edu ed4f4c2758 Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu 058ca4a9d9 Clear the line cursor when child frames are added or removed. Bug 236947,
r+sr=roc, a=chofmann
2004-03-14 18:19:24 +00:00
dbaron%dbaron.org f92415768a DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu 0651f4e7ae Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu 00cbe56060 Fixing bustage, hopefully 2004-03-07 18:50:11 +00:00
roc+%cs.cmu.edu d162445909 Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky 2004-03-07 18:04:24 +00:00
bryner%brianryner.com 745944525d Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com 41c3b9355c Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
dbaron%dbaron.org 39b026b882 A little cleanup. b=229654 r+sr=bzbarsky 2004-02-09 05:22:58 +00:00
dbaron%dbaron.org 5eae4fdb0e Allow PushLines to push the first line. b=185357 r+sr=roc 2004-02-03 18:19:42 +00:00
bryner%brianryner.com fd6fed0d82 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
dbaron%dbaron.org 56c8632c94 Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc 2004-01-27 05:47:55 +00:00
dbaron%dbaron.org 7c05365522 Change name of variable so this code makes sense. 2004-01-24 20:21:32 +00:00
cbiesinger%web.de b63dcc236e Bug 231372
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron%dbaron.org dc0006a0b3 Use |const|. DEBUG-only. 2004-01-21 23:08:51 +00:00
bzbarsky%mit.edu ae458f9668 Back out accidentally committed code. Bug 230852, r+sr=roc 2004-01-18 18:20:57 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
neil%parkwaycc.co.uk 96a7cc96e1 Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
dbaron%dbaron.org c3bfb1772c Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron%dbaron.org cd013628a9 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
dbaron%dbaron.org 00f16e975d Add comments connecting two quirks. 2003-11-16 18:49:00 +00:00
dbaron%dbaron.org 03417606bf Remove BRS_NOWRAP. b=191699 r+sr=roc 2003-11-11 19:24:01 +00:00
dbaron%dbaron.org c3c15dce0c Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc 2003-11-10 23:36:06 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron%dbaron.org fb5dcec631 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu 09e5a96a60 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
bmlk%gmx.de 40d0bf55a7 Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron 2003-09-20 11:35:29 +00:00
dbaron%dbaron.org 7e5446f82d Fix additional regression from bug 86947. b=216736 r+sr=roc 2003-09-16 22:05:47 +00:00
kyle.yuan%sun.com 0d9d5affee Bug 215220 Unable to receive caret-move event in HTML document
r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)
2003-09-14 12:56:21 +00:00
darin%meer.net 9eb9af8414 fixes bug 216736 "regression from patch for bug 86947" r+sr=dbaron a=brendan 2003-08-20 16:49:27 +00:00
dbaron%dbaron.org 9b54824d02 Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc 2003-07-23 00:14:16 +00:00
dbaron%dbaron.org d33524f8ae Fix top vs bottom typo. b=190743 r+sr=bzbarsky 2003-07-22 06:13:45 +00:00
roc+%cs.cmu.edu 5afa6dbc50 Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron 2003-07-15 00:04:43 +00:00
dbaron%dbaron.org 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
timeless%mozdev.org 533c85a139 Bug 211183 Infinite loop in nsBlockFrame::DoRemoveFrame
r=dbaron sr=dbaron
2003-07-01 18:28:30 +00:00
roc+%cs.cmu.edu 45b54d98ff Ongoing deCOMtamination. r+sr=dbaron 2003-06-26 11:30:17 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
kin%netscape.com aa56ca9650 Fix for bug 205165 (a href link fails to work until window is resized)
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling

SyncFrameViewAfterReflow().

r=jkeiser@netscape.com  sr=dbaron@dbaron.org
2003-06-05 17:42:29 +00:00
roc+%cs.cmu.edu ea9e915d9a Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:03:07 +00:00
bmlk%gmx.de 4c40947f6c infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron 2003-05-31 10:32:19 +00:00
jkeiser%netscape.com 224548949c Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa 2003-05-22 20:56:35 +00:00
dbaron%dbaron.org a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu cd2a19cd45 Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky. 2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu c39801f13f Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
roc+%cs.cmu.edu f2dc5c2442 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu 825677d0f1 Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron 2003-04-05 21:27:45 +00:00
dbaron%dbaron.org 5ae19fb4d5 Fix incremental reflows of <br clear=all>. b=157444 r+sr=roc 2003-03-25 15:24:07 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
kyle.yuan%sun.com 4bff80f975 Bug 193656 [ATK Accessibility] implement accessible object for block frame
r=aaronl, sr=henry.jia
2003-03-05 02:51:36 +00:00
kin%netscape.com 084510c2ca Fix for bug 191339: M130A Trunk crashing while printing [@ nsLineLayout::ReflowFrame]
Modified nsBlockFrame::Reflow() so that it reparents the frames in the overflow placeholder list when handing it off to an

ancestor that does not already have an overflow placeholder list.

r+sr=dbaron@dbaron.org
2003-02-24 19:02:08 +00:00
dbaron%dbaron.org 3153e31b04 Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz 2003-02-22 16:19:31 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
karnaze%netscape.com a8596de177 bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky. 2003-01-20 18:04:34 +00:00
karnaze%netscape.com c44e8f3370 back out patch for bug 176423 (which I mistook for having sr). I'll leave the regression test case, since it doesn't crash. 2003-01-19 20:44:23 +00:00
karnaze%netscape.com 5226fe74b7 bug 176423 - Consider overflowing children when calculating max element width. sr=kin, r=alexsavulov. 2003-01-19 20:25:29 +00:00
aaronl%netscape.com f703f5398e Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser 2003-01-09 20:56:53 +00:00
dbaron%dbaron.org a5fcfea19e Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu 0a31e6afb5 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu 818581d1d9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
roc+%cs.cmu.edu e48869f9a2 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu 035d850bf9 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron 2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu 0cc3547e04 Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc 2002-12-19 00:12:08 +00:00
dbaron%fas.harvard.edu 2c8a506a47 Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777 2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu ed2d0c823d Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc 2002-12-11 02:38:33 +00:00
roc+%cs.cmu.edu 93e5b50e9f Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu f5a2455464 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
karnaze%netscape.com d6801ac37b bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:58:52 +00:00
dbaron%fas.harvard.edu e319c955e3 Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly) 2002-11-28 19:29:28 +00:00
sicking%bigfoot.com 8fa4129fc1 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dbaron%fas.harvard.edu 298772a977 Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896 2002-11-21 15:20:20 +00:00
dbaron%fas.harvard.edu eb64406d8d Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin 2002-11-17 15:51:25 +00:00
dbaron%fas.harvard.edu b2f992acb9 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu 2c43d2a805 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
karnaze%netscape.com eb6da2987d bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd. 2002-10-30 15:33:36 +00:00
karnaze%netscape.com 562de73277 bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov. 2002-10-21 14:54:00 +00:00
karnaze%netscape.com 1a4ed35fd9 bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone 2002-10-08 20:35:26 +00:00
caillon%returnzero.com 7871a3af0d Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu a75050b11a Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin 2002-10-08 01:52:34 +00:00
karnaze%netscape.com 09a75283de bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov 2002-09-24 22:13:20 +00:00
roc+%cs.cmu.edu 84894eb476 Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
bzbarsky%mit.edu cde8d05426 Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...". 2002-09-12 03:44:37 +00:00
karnaze%netscape.com b418a7c2ff bug 149275 - Allocate reflow state and let ReflowBlock initialize it so the correct reflow state can be passed to DidReflow. Combined DoReflowBlock with ReflowBlock. sr=bzbarsky, r=alexsavulov. 2002-09-04 06:55:40 +00:00
alexsavulov%netscape.com fc7d527ed1 Fix for bug 78820 - right aligned floater in nowrap blocks are not
positioned correctly. r= alexsavulov sr= kin
2002-08-27 22:31:24 +00:00
dbaron%fas.harvard.edu a48a2a2e82 Don't repeatedly reapply the carried out bottom margin when clearing long words past floats. Fixes infinite loop in the case where the margin is negative. b=153429 sr=bzbarsky r=roc+moz 2002-08-14 12:44:40 +00:00
dbaron%fas.harvard.edu 5d3b42f19d Fix regression causing scrollbars not to be extended by absolutely positioned elements in some cases. Also removed unused |FixParentAndView|. b=154230 r=bzbarsky sr=jst 2002-08-06 12:54:52 +00:00
bzbarsky%mit.edu 9160c400e9 Remove mis-implementation of the "ua-dependent" min-width stuff from
CSS1/2.  Bug 159059, sr=dbaron, r=hyatt
2002-08-06 04:50:40 +00:00
kin%netscape.com 263921bc26 Fix for bug 157055 (Text doesn't show up on Lycos mail front page (layout broken by focus))
Removed |!aReflowState.path->mReflowCommand| check from |if| condition for the first block that attempts to incrementally reflow the block's absolute children.

This was preventing us from properly reflowing an absolute positioned child or one its children when the current reflow path tree contained both a reflow command targeted at the block and one targeted at the aboslutely positioned child or one of its children. This check shouldn't be necessary since nsAbsoluteContainingBlock::IncrementalReflow() does the necessary checks to see if it really should reflow any of the absolute children.

r=karnaze@netscape.com,waterson@netscape.com  sr=dbaron@fas.harvard.edu   a=asa@mozilla.org
2002-07-29 04:19:15 +00:00
karnaze%netscape.com 0141b87654 bug 153785 - Added function to undo splitting floaters when the line they are on gets moved to the next page. Cached the break type of the last floater that gets split in the block reflow state so that the frame afterh the floater's continuation can combine that break type with its own. a=asa, sr=kin, r=alexsavulov 2002-07-17 01:48:56 +00:00
smontagu%netscape.com 0eb1bec904 Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin 2002-07-10 00:52:17 +00:00
karnaze%netscape.com 86bca72d14 bug 150652 - find correct containing block in nsBlockFrame::DoRemoveOutOfFlowFrame. sr=kin, r=alexsavulov. 2002-07-02 14:56:18 +00:00
bernd.mielke%snafu.de 2c4d975863 bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson 2002-07-01 17:43:02 +00:00
dbaron%fas.harvard.edu d558717301 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu 0f31b68fe2 Bug 152979, r=dbaron,chak, sr=waterson 2002-06-20 20:34:37 +00:00
karnaze%netscape.com b738a7c013 bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron. 2002-06-19 22:28:47 +00:00
karnaze%netscape.com 912de824e6 bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson 2002-06-14 14:30:33 +00:00
kin%netscape.com 0a82c7556a Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/layout/html/base/src/nsBlockFrame.cpp

    - Removed code in ReflowDirtyChild() which propagated
      the reflow command up to the block's parent if the
      block already had dirty children. There's no need
      for this optimization with waterson's reflow command
      tree changes.

  mozilla/xul/base/src/nsBox.cpp

    - Modified RelayoutDirtyChild() so that it posts
      a dirty reflow event if |this| is a reflow root.
      This prevents ReflowDirtyChild requests from
      propagating all the way out of the box hierarchy.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2002-06-13 20:30:14 +00:00
dbaron%fas.harvard.edu 03697f6e80 Fix performance problem on home.netscape.com: Don't do full reflow of all absolutely positioned elements whose containing block is on the path to the target of an incremental reflow. b=146831 sr=waterson r=kin 2002-06-12 03:21:00 +00:00
bernd.mielke%snafu.de 93aab3e317 no math with NS_UNCONSTRAINEDSIZE please, bug 14862 r=karnaze sr=roc+moz 2002-06-04 04:37:06 +00:00
kin%netscape.com 5a180776de Fix for bug 138573 (hitting return in list item causes list problems; workaround is to refresh)
Modified SlideLine() to use the combined area instead of the linebox
  bounds when invalidating. This makes sure that we invalidate the
  area occupied by the list bullets/ordinals.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2002-06-03 21:35:54 +00:00
karnaze%netscape.com dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com c510ff0346 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com 9e51629175 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin 2002-05-14 00:00:31 +00:00
waterson%netscape.com fcf814f45f Bug 143959. Temporarily disable block reflow coalescing. 2002-05-13 19:00:56 +00:00
waterson%netscape.com 926ecba1d9 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
waterson%netscape.com 63911ea701 Fix build bustage when NOISY_SPACE_MANAGER is set. 2002-05-07 01:32:55 +00:00
waterson%netscape.com 33e40e28f3 Bug 137094. Prevent flow-of-control leak of space manager. r=attinasi, sr=kin. 2002-05-03 13:49:44 +00:00
smontagu%netscape.com ef4c9f9e99 Fix hang when pressing ENTER in Hebrew text fields. Bug 95228, r=jkeiser, sr=attinasi 2002-05-02 20:25:32 +00:00
jkeiser%netscape.com 8f265ba15e Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com 2002-04-28 07:53:41 +00:00
waterson%netscape.com bd3e97e714 Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi. 2002-04-26 19:19:39 +00:00
karnaze%netscape.com 890e7c9345 bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov 2002-04-25 20:53:32 +00:00
attinasi%netscape.com 6f56cb346d Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 r=alexsavulov sr=waterson 2002-04-18 23:37:51 +00:00
mjudge%netscape.com 4655fdd163 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
kin%netscape.com 87df676972 Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org
2002-04-11 14:01:11 +00:00
waterson%netscape.com b6fb7fe914 Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi 2002-04-11 01:13:41 +00:00
alexsavulov%netscape.com 38659b8678 fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd
2002-04-11 00:06:39 +00:00
attinasi%netscape.com 394aaf1dc8 Backing out patch from bug 128133 due to the myriad regression - my apologies to all good Mozillans. 2002-04-08 23:57:37 +00:00
attinasi%netscape.com b13e7c4b7b stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:20:27 +00:00
dbaron%fas.harvard.edu 93f1c722f2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa 2002-03-31 16:59:00 +00:00
alexsavulov%netscape.com 4bef59bd8d fix for bug 100963 r= kmcklusk sr= attinasi a= asa
added region invalidation to cause repainting of areas previously
occupied by a removed line
2002-03-26 20:03:41 +00:00
karnaze%netscape.com 6c905bd4f1 bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov. 2002-03-12 15:48:52 +00:00
alexsavulov%netscape.com aa6e02b1a0 fix for bug 122200 - floaters regression and fix for bug 99461 - floating
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa
2002-03-08 20:25:54 +00:00
rbs%maths.uq.edu.au a73a08daa3 bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa 2002-03-06 22:22:24 +00:00
jkeiser%netscape.com 77ff8a0c0c bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org 2002-02-25 19:23:48 +00:00
dbaron%fas.harvard.edu 7a8e4572ac Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
attinasi%netscape.com 02fb85a461 Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
waterson%netscape.com 81bfba0f1c Bug 52242. Include space manager information when computing auto-sized block's height. r=dbaron, sr=attinasi 2002-01-14 20:04:30 +00:00
waterson%netscape.com 499e6591ef Bug 99461 and it's ilk. Remove hack that blasts tables into the same space. r=dbaron, sr=attinasi. 2002-01-09 03:01:13 +00:00
dbaron%fas.harvard.edu 1db5b984db Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
dbaron%fas.harvard.edu cee1f5c723 Clean up nsBlockFrame::RemoveFrame and add assertion to nsFrameList. b=114222 r=waterson sr=kin 2002-01-06 18:17:41 +00:00
dbaron%fas.harvard.edu 6e39494f1e Bug 117374: nsBlockFrame::UpdateSpaceManager is no longer needed since nsBlockReflowState::RecoverFloaters does the same work.
Bug 113895:  Pass |aDeltaY| as 0 for recursive calls to RecoverFloaters.
b=117374  r=attinasi  sr=waterson
2002-01-06 18:14:00 +00:00
waterson%netscape.com e2c4e6e97d Bug 116230 et al; fix-on-a-fix for bug 91423. Don't always retarget to the primary frame: stop at the first continuation after a hard-break if there is one. Also, move retargeting to reflow state setup. r=rbs, sr=nobody. 2002-01-05 01:42:36 +00:00
waterson%netscape.com 395d2bc826 Bug 117769. Remove vestigial |aStopPulling| parameter from nsBlockFrame::PullFrameFrom; clean up surrounding logic. r=dbaron, sr=attinasi. 2002-01-02 22:10:13 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
waterson%netscape.com 9ede33c690 Bug 91423. When recomputing the max width during an inline incremental reflow, we may have to fix-up reflow command chain. Specifically, we may have to replace a continuing frame in the chain with its primary frame, because the continuing frame will be destroyed during the unconstrained reflow used to compute the max width. r=dbaron, sr=attinasi 2001-12-20 01:56:17 +00:00
waterson%netscape.com cf319e2bda Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
kin%netscape.com 4b7ee5e739 Fix for bug 105716: Can't delete the input characters in the above form page
Modified RemoveFrame() to call mFloaters.DestroyFrame(aOldFrame) after
the line search. This insures that aOldFrame is destroyed even if it
isn't found in the line list.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2001-12-10 14:38:55 +00:00
karnaze%netscape.com de4569576e bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
dbaron%fas.harvard.edu b7d5e3de0b Only do state-recovery update of nsBlockReflowState::mPrevChild on the transition from a line we don't reflow to a line we do reflow. b=111676 r=attinasi sr=hyatt 2001-12-06 00:30:06 +00:00
dbaron%fas.harvard.edu c936e8dc0c Fix overly long lines. r=kin sr=waterson b=106658 2001-11-15 07:30:09 +00:00
karnaze%netscape.com 40c7483281 bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu 0dce65ed23 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi%netscape.com c78eb318ca Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00
dbaron%fas.harvard.edu 87a5429520 Fix FMR/FMW caused by translating the space manager right after deleting it. r=jag sr=waterson b=108017 2001-11-03 05:18:39 +00:00
karnaze%netscape.com 1e228891d1 bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
karnaze%netscape.com 16dee217fc bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu 1d4641917f Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu 75d32bb579 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
alexsavulov%netscape.com 2531844959 fix for bug 45621 - added MarkDirty for procentage child in case of nowrap
blocks, consolidated the logic in nsBlockFrame::PrepareResizeReflow
sr= attinasi, r=dbaron
2001-10-08 21:51:48 +00:00
attinasi%netscape.com 2ae3a1ceb9 Protection against null param for topcrash bug 100298. r=kmcclusk sr=kin 2001-10-03 00:01:04 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00